aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc.sysinit
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2010-02-16 16:31:01 -0500
committerBill Nottingham <notting@redhat.com>2010-02-16 16:31:01 -0500
commit8b873922b0b6e1ba0b959eb69deeac6b2f0177bf (patch)
treed3fa74367ad1ab7b394b98dfe991b7cb029de0d0 /rc.d/rc.sysinit
parentc97f9015d5e2328df4ade826584586f658ec5907 (diff)
downloadinitscripts-8b873922b0b6e1ba0b959eb69deeac6b2f0177bf.tar
initscripts-8b873922b0b6e1ba0b959eb69deeac6b2f0177bf.tar.gz
initscripts-8b873922b0b6e1ba0b959eb69deeac6b2f0177bf.tar.bz2
initscripts-8b873922b0b6e1ba0b959eb69deeac6b2f0177bf.tar.xz
initscripts-8b873922b0b6e1ba0b959eb69deeac6b2f0177bf.zip
Suppress bogus LVM2 warnings. (#561938, <prajnoha@redhat.com>)
Diffstat (limited to 'rc.d/rc.sysinit')
-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