Bug#908796: udev (with sysvinit) fails to find devices at boot

Michael Biebl biebl at debian.org
Sun Oct 7 00:57:31 BST 2018


Am 07.10.18 um 01:06 schrieb Michael Biebl:

> We change the init script as follows:
> - We revert most the changes from #791944, we only keep the stop
> symlinks for rc0 and rc6 and the cleanup of /run/udev/control file on stop.
> - We tweak the LSB headers to make sure the udev init script is called
> before sendsigs on shutdown. This is important!
> 
> This should ensure that udevd is properly killed and the control file
> removed, i.e. there should be (almost) no time window where the udevd
> daemon is not running but the control file exists.
> 
> On the other hand, this would mean we again stop udevd earlier during
> shutdown, but we mostly had this behaviour already in previous releases
> where udevd is killed by sendsigs.

I have to add, that this change has the potential to significantly
change the shutdown order or cause a conflicting ordering, in case there
are other init scripts which declare an explicit shutdown dependency.

This will need someone to further investigate and test it.

Looking at https://codesearch.debian.net/ and searching for packages
which declare a Should-Stop or Required-Stop on udev and checking if any
late shutdown services are involved.

Michael


-- 
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: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20181007/e8fca285/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list