On Mon, 29 May 2017 at 14:42:33 +0200, Michael Biebl wrote:
> tags 791944 + help

I'm afraid I can't help backporting the fix to Stretch, but as Pali
mentioned this bug causes a severe regression for sysvinit users with
encrypted disks.

If udev can't be fixed in time maybe cryptsetup could ship a workaround
instead (although I don't know whether the regression affects other
dm-related services as well, such as mdadm or lvm).  I'm wondering if
the udev maintainers have any opinion on the following patch and
possible regressions.

--8<--------------------------------------------------------------------->8--
diff --git a/debian/cryptdisks.init b/debian/cryptdisks.init
index 286bc18..166122c 100644
--- a/debian/cryptdisks.init
+++ b/debian/cryptdisks.init
@@ -36,6 +36,7 @@ start)
        do_start
        ;;
 stop)
+       /etc/init.d/udev status >/dev/null || rm -f /run/udev/control
        do_stop
        ;;
 restart|reload|force-reload)
--8<--------------------------------------------------------------------->8--

Pali, could you confirm that it fixes the shutdown freeze on your
system?

Cheers,
-- 
Guilhem.

Attachment: signature.asc
Description: PGP signature

Reply via email to