[Pkg-sysvinit-devel] Bug#638019: /run/initctl

Robert Millan rmh at debian.org
Sun Jan 8 15:29:43 UTC 2012


El 8 de gener de 2012 16:20, Roger Leigh <rleigh at codelibre.net> ha escrit:
> If we don't do that, then we are left running the old /sbin/init binary,
> which is an important part of the upgrade.

Only until reboot. A reboot is necessary for the upgrade anyway
(needed by kernel).

> Or if telinit/init return an error code, we can loop until it succeeds.

That could work, yes.  If init didn't act upon SIGUSR1 yet, its
initctl handle is for a node that no longer exists in the file system.
 Then the only way for it to receive commands is to re-open
$OLDINITCTL which is now a symlink.

Btw, isn't step 6 a pre-requisite for step 2?

-- 
Robert Millan





More information about the Pkg-sysvinit-devel mailing list