aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2010-05-18 10:35:04 -0400
committerBill Nottingham <notting@redhat.com>2010-05-18 10:36:17 -0400
commitd8b2a0ee8b96925295e6f9cbfe41e5e55e0727a8 (patch)
tree56c0d130fa3ac1b327d0f7081f58e8bc80ac0a8e
parent87ef4eb3bb8cedf478f944c5375f2b586e116974 (diff)
downloadinitscripts-d8b2a0ee8b96925295e6f9cbfe41e5e55e0727a8.tar
initscripts-d8b2a0ee8b96925295e6f9cbfe41e5e55e0727a8.tar.gz
initscripts-d8b2a0ee8b96925295e6f9cbfe41e5e55e0727a8.tar.bz2
initscripts-d8b2a0ee8b96925295e6f9cbfe41e5e55e0727a8.tar.xz
initscripts-d8b2a0ee8b96925295e6f9cbfe41e5e55e0727a8.zip
Use new lvm2 --sysinit option. Conflict with older lvm2. (#588777)
-rw-r--r--initscripts.spec2
-rwxr-xr-xrc.d/rc.sysinit4
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