aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrc.d/rc.sysinit2
1 files changed, 2 insertions, 0 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index b602a7ba..324cb5d0 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -376,7 +376,9 @@ fi
[ -f /etc/mdadm.conf ] && [ -x /sbin/mdadm ] && /sbin/mdadm -As --auto=yes --run
if [ -x /sbin/lvm ]; then
+ export LVM_SUPPRESS_LOCKING_FAILURE_MESSAGES=1
action $"Setting up Logical Volume Management:" /sbin/lvm vgchange -a y --ignorelockingfailure
+ unset LVM_SUPPRESS_LOCKING_FAILURE_MESSAGES
fi
if [ -f /etc/crypttab ]; then