Netboot Mailing List (by thread)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: proper shutdown



>Dear Netbooters,
>
>I have some problems regarding proper shutdown of a netbooted system,
>with root NFS mounted.
>
>The standard distributions seem to kill the mount/nfs deamons to soon.
>
>Could anyone please present a sound shutdown script, not umounting
>NFS (and killing? should it be killed?) until right before shutdown?
>
>Telinit scripts call "killall" (TERM and then KILL) on
>all remaining processes running, giving little special treatment to
>NFS/mount.
>This makes it somewhat hard to write a proper shutdown script, or
>at least it has confused me into thinking so.

For RH5 at least, the solution is to rename rc6.d/K97network to
k97network.  The root NFS mount is within the kernel and is not
affected by killall but is affected by turning off the network and thus
not being able to write any more to log files, etc.



For requests or suggestions regarding this mailing list archive please write to netboot@gkminix.han.de.