FS#62390 - [lvm2] shutdown issue, again, lvm2-lvmetad makes system hang
Attached to Project:
Arch Linux
Opened by Andrew S. Grigorev (eigrad) - Thursday, 18 April 2019, 20:17 GMT
Last edited by Jan de Groot (JGC) - Friday, 31 May 2019, 06:46 GMT
Opened by Andrew S. Grigorev (eigrad) - Thursday, 18 April 2019, 20:17 GMT
Last edited by Jan de Groot (JGC) - Friday, 31 May 2019, 06:46 GMT
|
Details
Some time ago (probably after upgrading to linux-5.x) my
system began to hang for 90 seconds on shutdown. It seems to
be related to lvmetad, but I don't use LVM on this
machine.
There are plenty of other users facing the similar issue reporting it on r/archlinux. There are several threads like this: https://www.reddit.com/r/archlinux/comments/b6hbca/need_some_help_figuring_out_why_my_system_hangs/. The proper fix is to correct dependencies between shutdown and lvm2-lvmetad systemd units. See https://github.com/systemd/systemd/issues/11821#issuecomment-477545885. Adding /etc/systemd/system/lvm2-lvmetad.service.d/override.conf with the contents [Unit] Before=shutdown.target seems to fix the issue for me. Possibly related: https://bugs.archlinux.org/task/52249 https://bugs.archlinux.org/task/52667 |
This task depends upon
Closed by Jan de Groot (JGC)
Friday, 31 May 2019, 06:46 GMT
Reason for closing: Fixed
Additional comments about closing: 2.02.184-4
Friday, 31 May 2019, 06:46 GMT
Reason for closing: Fixed
Additional comments about closing: 2.02.184-4
FS#61925Thanks!