diff --git a/shutdown b/shutdown index e13e6fb..6beb4da 100644 --- a/shutdown +++ b/shutdown @@ -62,6 +62,9 @@ disassemble() { # might be in a useful state. FS#30995. rm -rf /run/udev +# lvmetad has already gone away, so disable it +sed -i "/^\s\s*use_lvmetad/c use_lvmetad = 0" /etc/lvm/lvm.conf + # chdir, so that we can avoid a lot of path chopping cd /sys/class/block