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

Robert Millan rmh at debian.org
Sun Jan 8 12:51:03 UTC 2012


Hi Roger,

Thanks for looking at this.

El 8 de gener de 2012 12:22, Roger Leigh <rleigh at debian.org> ha escrit:
> 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.

This seems fine, however...

> On reboot, we can then just create /run/initctl and everything
> should just work.

...you need to be more specific about what "on reboot" means.
/sbin/init will open /run/initctl very early.  If at that time
/run/initctl is a symlink, it's no good replacing it with a real fifo
afterwards (we get in the same situation we were before reboot).

Or are you proposing that /sbin/init itself removes the symlink and
creates a new fifo before opening it?

Btw, your patch doesn't do what you described.  Did you attach what
you intended?

-- 
Robert Millan





More information about the Pkg-sysvinit-devel mailing list