[Pkg-sysvinit-devel] Bug#638019: /run/initctl
Roger Leigh
rleigh at debian.org
Sun Jan 8 11:22:41 UTC 2012
On Fri, Jan 06, 2012 at 03:25:53PM +0100, Robert Millan wrote:
> I didn't notice this was actually a Release Goal [1]. Tagging appropiately.
>
> I should note that the patch I sent has an unwanted side-effect:
> unability to send messages to init until after first reboot, which
> means first reboot can't be done cleanly.
>
> Maybe clients can be modified to attempt old path first then try with
> /run/initctl (or vice-versa), or update scripts could play some kind
> of symlink trick. I haven't had time to resolve this however.
How about on upgrade we symlink /run/initctl → /dev/initctl if
/run/initctl does not exist?
Programs can therefore be switched to using /run/initctl immediately.
On reboot, we can then just create /run/initctl and everything
should just work.
Does this sound OK, or have I missed something unobvious?
Regards,
Roger
--
.''`. Roger Leigh
: :' : Debian GNU/Linux http://people.debian.org/~rleigh/
`. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/
`- GPG Public Key: 0x25BFB848 Please GPG sign your mail.
More information about the Pkg-sysvinit-devel
mailing list