]> TLD Linux GIT Repositories - rc-scripts.git/commitdiff
- PLD merge: vgchange -a n can hang on shutdown waiting for udevd synchronization...
authorMarcin Krol <hawk@tld-linux.org>
Tue, 21 May 2024 16:52:55 +0000 (18:52 +0200)
committerMarcin Krol <hawk@tld-linux.org>
Tue, 21 May 2024 16:52:55 +0000 (18:52 +0200)
rc.d/rc.shutdown

index 96d78646403b283aa9b9eebad6877a12ff5e673e..8fab3cfec5383cba3feaca689215e77aa7f68e01 100755 (executable)
@@ -116,7 +116,7 @@ run_cmd "Remounting root filesystem in ro mode" mount -n -o remount,ro /
 if [ -x /sbin/vgchange ]; then
        lvmversion=$(LC_ALL=C /sbin/vgchange --version 2>/dev/null | awk '/LVM version:/{if ($3 >= 2) print "2"}')
        if [ "$lvmversion" = "2" ]; then
-               lvmsysinit="--sysinit"
+               lvmsysinit="--sysinit --noudevsync"
        else
                lvmsysinit=""
        fi