[Pkg-sysvinit-devel] Bug#739147: udev: runlevel one kills udevd, is not restarted in runlevel 2

Petter Reinholdtsen pere at hungry.com
Thu Feb 27 17:44:33 UTC 2014

[Michael Biebl]
> I don't think there is anything to fix here specifically in udev and
> is sort-of expected behaviour.

Actually, udev can fix this by adding a stop symlink in rc1.d and
start symlinks in rc2.d to rc5.d.  Then sysv-rc will know that udev
was stopped in rc1.d and start it again in rc2.d.  sysv-rc will also
know that udev was already started in rcS.d and not start it again in
rc2.d during boot. :)

To summarize, create something like this:


No need to stop it in runlevels 0 and 6, as there is no way to return
from them (they turn off or reboot the machine).

This should be done by all services starting daemons in rcS.d/. :) But
most of them should really move out of rcS.d and start in rc2.d to
rc5.d instead hdparm is one such example.  hdparm is not required to
be running to get a working single user login shell.  :)

Happy hacking
Petter Reinholdtsen

More information about the Pkg-sysvinit-devel mailing list