Bug#791944: /etc/init.d/sendsigs kills systemd-udevd upon shutdown, causing dmsetup to hang

Michael Biebl biebl at debian.org
Sun Jun 4 23:49:47 BST 2017


Am 03.06.2017 um 19:44 schrieb Michael Biebl:
> Am 03.06.2017 um 17:24 schrieb Felipe Sateler:
> 
>> diff --git a/debian/udev.init b/debian/udev.init
>> index ffef3ea6a..dcc5c29d5 100644
>> --- a/debian/udev.init
>> +++ b/debian/udev.init
>> @@ -208,6 +208,7 @@ case "$1" in
>>      stop)
>>      log_daemon_msg "Stopping $DESC" "$NAME"
>>      if start-stop-daemon --stop --name $NAME --user root --quiet --oknodo --retry 5; then
>> +	rm -f /run/udev/control
> 
> I think this is the correct fix, yes.
> 
> We need to keep in mind though, that udev currently does not install any
> stop (K) symlinks in runlevel 0 and 6, but we rely on the killing spree
> in sendsigs to kill the udev process on shutdown.
> 
> Which means, we'd need to start installing those K symlinks in 0 6.
> For that, edit /etc/init.d/udev, add
> # Default-Stop: 0 6
> to the LSB header, then run
> 
> # rm /etc/rcS.d/???udev
> # update-rc.d udev defaults

We need people using sysvinit to test that proposed fix and report back
if it fixes that issue and does not introduce any new regressions.




-- 
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/20170605/a6e1871c/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list