Am 07.10.18 um 01:57 schrieb Michael Biebl: > 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.
To answer my own question: Adding "Should-Stop: sendsigs" to udev will not work as it creates a dependency cycle with cryptdisks and cryptdisks-early (which have Should-Stop: udev, so require udev to stop *after* themselves). Trek, what was the problem with checking for /run/udev/control to determine if the udev service is available or not? -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Pkg-systemd-maintainers mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-systemd-maintainers
