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

Roger Leigh rleigh at codelibre.net
Sun Jan 8 12:06:00 UTC 2012


On Sun, Jan 08, 2012 at 11:22:41AM +0000, Roger Leigh wrote:
> 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?

BTW, all of your upstream changes are already in sysvinit.git
(http://anonscm.debian.org/gitweb/?p=collab-maint/sysvinit;a=blob_plain;f=debian/patches/93_run_initctl.patch;hb=a0263c14e64f0bbab10f656284272a8c9066189b)

I would propose something like the following, based on your
patch, would complete the migration (attached).  Not yet tested.


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sysvinit-run-initctl.patch
Type: text/x-diff
Size: 1863 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20120108/23e384ff/attachment.patch>


More information about the Pkg-sysvinit-devel mailing list