Menu

#48 /sbin/init should rfork/exec

open
1
2004-12-11
2004-04-20
No

Currently, init does fork/rexec, but it would be better
to do rfork/exec so that care data is not present on
the init node for descendence of rc.nodeup/services
started on non-init nodes. At the moment this change
can't be made because init has /proc/cluster/events
open and it can't reopen it on a remote node.

I have a kernel change to fix rproc_pproc_cangoremote()
so that it allows pid 1 to rfork() while continuing to
not allow migrate/rexec.

Attached is a patch to init to change the fork/rexec to
rfork/exec, but it doesn't work because of hte
/proc/cluster/events problem.

This is a very low priority problem at this time.

Discussion

  • David Zafman

    David Zafman - 2004-04-20
     
  • David Zafman

    David Zafman - 2004-12-11
    • assigned_to: dzafman --> jlbyrne
     

Log in to post a comment.