[Pkg-sysvinit-devel] Bug#739147: udev: runlevel one kills udevd, is not restarted in runlevel 2
Michael Biebl
biebl at debian.org
Thu Feb 27 18:17:04 UTC 2014
Am 27.02.2014 18:44, schrieb Petter Reinholdtsen:
> [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:
>
> /etc/rcS.d/S03udev
> /etc/rc1.d/K03udev
> /etc/rc2.d/S03udev
> /etc/rc3.d/S03udev
> /etc/rc4.d/S03udev
> /etc/rc5.d/S03udev
>
> 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).
You mean an LSB header like:
Default-Start: S 2 3 4 5
Default-Stop: 1
Doesn't seem to work. Booting into runlevel "1" → no udevd running
Using ctrl+D to go into runlevel 2 → udev is not started
> 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. :)
>
I don't disagree here
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 884 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20140227/64a52548/attachment.sig>
More information about the Pkg-sysvinit-devel
mailing list