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) --- initscripts.spec | 2 +- rc.d/rc.sysinit | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/initscripts.spec b/initscripts.spec index d7582c26..1c40c79f 100644 --- a/initscripts.spec +++ b/initscripts.spec @@ -36,7 +36,7 @@ Conflicts: xorg-x11, glib2 < 2.11.1-2 Conflicts: alsa-utils < 1.0.18 Conflicts: plymouth < 0.7.0-0.2009.02.26 Conflicts: s390utils < 2:1.8.2-11 -Conflicts: dmraid < 1.0.0.rc16-7 +Conflicts: dmraid < 1.0.0.rc16-7, lvm2 < 2.02.65 Conflicts: e2fsprogs < 1.15 # http://bugzilla.redhat.com/show_bug.cgi?id=252973 Conflicts: nut < 2.2.0 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