aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
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:32:06 -0500
commit3a728edea26c8c518eed093c16a705dec01b1d8f (patch)
treeb17582a5f32f3f56402a19e07e4ebf457cf02f1c /rc.d
parent7230b64b3c86c55c3c0a3cb01c595c6d77970098 (diff)
downloadinitscripts-3a728edea26c8c518eed093c16a705dec01b1d8f.tar
initscripts-3a728edea26c8c518eed093c16a705dec01b1d8f.tar.gz
initscripts-3a728edea26c8c518eed093c16a705dec01b1d8f.tar.bz2
initscripts-3a728edea26c8c518eed093c16a705dec01b1d8f.tar.xz
initscripts-3a728edea26c8c518eed093c16a705dec01b1d8f.zip
Suppress bogus LVM2 warnings. (#561938, <prajnoha@redhat.com>)
Diffstat (limited to 'rc.d')
-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 05bfe9f4..24285a35 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -376,7 +376,9 @@ fi
[ -f /etc/mdadm.conf -a -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