aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/rc.sysinit
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 /rc.d/rc.sysinit
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)
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-xrc.d/rc.sysinit4
1 files changed, 1 insertions, 3 deletions
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