Package: sysvinit
Version: 2.86.ds1-6

The "telinit u" feature can be used to re-exec /sbin/init,
useful if you've just rewritten (re-installed) /sbin/init.

However, if /sbin/init is on a read-only filesystem,
or you want to redirect init to be running from a different
filesystem because you need to umount /sbin ,
this feature is inadequate.

The attached patch causes re-exec to execute the binary
specified in the INIT_PROG environment variable if it exists,
otherwise the re-exec will be to the same place the currently
running init came from (which is the current behavior).

The INIT_PROG environment variable can be set using
the telinit -e env feature, which already exists. This is why
the INIT_ prefix was chosen -- otherwise telinit -e will reject
the environment change request.

Thanks,
--
Dana L. How  [EMAIL PROTECTED]  +1 650 804 5991 cell

Sorry about the previous submission in which I forgot
"Package:" and "Version:".

Attachment: sysvinit-2.86-initprog.patch
Description: Binary data

Reply via email to