From d8b2a0ee8b96925295e6f9cbfe41e5e55e0727a8 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Tue, 18 May 2010 10:35:04 -0400 Subject: Use new lvm2 --sysinit option. Conflict with older lvm2. (#588777) --- rc.d/rc.sysinit | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'rc.d') diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index 22138be1..03490a1e 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -376,9 +376,7 @@ fi [ -r /proc/mdstat -a -r /dev/md/md-device-map ] && /sbin/mdadm -IRs if [ -x /sbin/lvm ]; then - export LVM_SUPPRESS_LOCKING_FAILURE_MESSAGES=1 - action $"Setting up Logical Volume Management:" /sbin/lvm vgchange -a y --ignorelockingfailure --ignoremonitoring - unset LVM_SUPPRESS_LOCKING_FAILURE_MESSAGES + action $"Setting up Logical Volume Management:" /sbin/lvm vgchange -a y --sysinit fi if [ -f /etc/crypttab ]; then -- cgit v1.2.1