diff options
author | Bill Nottingham <notting@redhat.com> | 2006-11-20 21:28:59 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2006-11-20 21:28:59 +0000 |
commit | 04129e68f0374a65cdf3df3b88733581a267613b (patch) | |
tree | 913425ac5255dd25c7bc8eed72cc426a09f0ae35 | |
parent | 90b02e5d54a7ca13174ae2e6a98ab943ef098bef (diff) | |
download | initscripts-04129e68f0374a65cdf3df3b88733581a267613b.tar.gz initscripts-04129e68f0374a65cdf3df3b88733581a267613b.tar.xz initscripts-04129e68f0374a65cdf3df3b88733581a267613b.zip |
- rc.sysinit: don't use vgscan, only use vgchange (#191879)
-rw-r--r-- | initscripts.spec | 1 | ||||
-rwxr-xr-x | rc.d/rc.sysinit | 10 |
2 files changed, 3 insertions, 8 deletions
diff --git a/initscripts.spec b/initscripts.spec index 72b1ddf9..368fc7e8 100644 --- a/initscripts.spec +++ b/initscripts.spec @@ -213,6 +213,7 @@ rm -rf $RPM_BUILD_ROOT - rc.sysinit: run zfcpconf.sh earlier, so devices are available for LVM usage (#189494) - init.d/functions: add configurable delay for killproc (#198468, <jorton@redhat.com>) - ifup: support aliases-on-vlan (#193133, <mitr@redhat.com>) +- rc.sysinit: don't use vgscan, only use vgchange (#191879) * Fri Apr 21 2006 Miloslav Trmac <mitr@redhat.com> - 7.93.25.EL-1 - Document HOTPLUG (#189509) diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index c85174ce..2de7c2e5 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -512,9 +512,7 @@ if [ -c /dev/mapper/control ]; then fi if [ -x /sbin/lvm.static ]; then - if /sbin/lvm.static vgscan --mknodes --ignorelockingfailure > /dev/null 2>&1 ; then action $"Setting up Logical Volume Management:" /sbin/lvm.static vgchange -a y --ignorelockingfailure - fi fi fi @@ -573,9 +571,7 @@ if [ -f /etc/mdadm.conf ]; then fi if [ -x /sbin/lvm.static ]; then - if /sbin/lvm.static vgscan > /dev/null 2>&1 ; then - action $"Setting up Logical Volume Management:" /sbin/lvm.static vgscan --mknodes --ignorelockingfailure && /sbin/lvm.static vgchange -a y --ignorelockingfailure - fi + action $"Setting up Logical Volume Management:" /sbin/lvm.static vgchange -a y --ignorelockingfailure fi fi fi @@ -676,9 +672,7 @@ if [ -f /etc/raidtab ]; then fi if [ -x /sbin/lvm.static ]; then - if /sbin/lvm.static vgscan > /dev/null 2>&1 ; then - action $"Setting up Logical Volume Management:" /sbin/lvm.static vgscan --mknodes --ignorelockingfailure && /sbin/lvm.static vgchange -a y --ignorelockingfailure - fi + action $"Setting up Logical Volume Management:" /sbin/lvm.static vgchange -a y --ignorelockingfailure fi fi fi |