[prev in list] [next in list] [prev in thread] [next in thread] 

List:       initscripts-devel
Subject:    [PATCH 07/11] Suppress bogus LVM2 warnings.  (#561938, <prajnoha@redhat.com>)
From:       notting () redhat ! com (Bill Nottingham)
Date:       2010-02-17 21:44:38
Message-ID: 1266443082-16676-8-git-send-email-notting () redhat ! com
[Download RAW message or body]

Signed-off-by: Bill Nottingham <notting at redhat.com>
---
 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 b602a7b..324cb5d 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
-- 
1.6.6


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic