Control: retitle -1 `/etc/init.d/cryptdisks stop` should ignore devices holding / and /usr Control: severity -1 wishlist
Hi, On Sun, 16 Dec 2018 at 13:28:37 -0800, r...@riseup.net wrote: > When shuting down my Devuan LVM + LUKS install, it hangs just at the end > of the shutdown sequence presenting messages like "sda5_crypt is busy" > and "sdb_crypt is busy". Only after 30 seconds or so pass, it acatully > shuts down. https://tracker.debian.org/news/181876/accepted-lvm2-20284-3-source-amd64/ > Aplying one the patchs available at > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=792552#5 or Which patch? something equivalent to #5 is already present in 2:1.7.3-4 https://sources.debian.org/src/cryptsetup/2:1.7.3-4/debian/cryptdisks.functions/#L765 Or do you mean `dmsetup remove_all` from #24? Like for > https://bugs.devuan.org//cgi/bugreport.cgi?bug=237 fixes the problems > just fine for me. /etc/init.d/lvm2 no longer deactivates LVs on shutdown since lvm2 ≥2.02.84-3. But I don't see which doing so should be the job of /etc/init.d/cryptsetup instead. Regardless, we won't be able to lock devices holding / or /usr. AFAICT that's where `/etc/init.d/cryptdisks stop` is choking with the repeated “… is busy” messages. For these devices the script might as well return failure immediately and not try again. Cheers, -- Guilhem.
signature.asc
Description: PGP signature