diff options
author | Bill Nottingham <notting@redhat.com> | 2010-02-16 16:31:01 -0500 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2010-02-16 16:31:01 -0500 |
commit | 8b873922b0b6e1ba0b959eb69deeac6b2f0177bf (patch) | |
tree | d3fa74367ad1ab7b394b98dfe991b7cb029de0d0 /rc.d/rc.sysinit | |
parent | c97f9015d5e2328df4ade826584586f658ec5907 (diff) | |
download | initscripts-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-x | rc.d/rc.sysinit | 2 |
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 |