From 3a13a534a9a729860b0d18bcdd18f840e083971c Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Mon, 1 Aug 2005 20:04:25 +0000 Subject: don't run multipath unless there's a multipath configuration --- initscripts.spec | 5 ++++- rc.d/rc.sysinit | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/initscripts.spec b/initscripts.spec index ed487b6d..c5186858 100644 --- a/initscripts.spec +++ b/initscripts.spec @@ -1,6 +1,6 @@ Summary: The inittab file and the /etc/init.d scripts. Name: initscripts -Version: 7.93.17.EL +Version: 7.93.18.EL License: GPL Group: System Environment/Base Release: 1 @@ -206,6 +206,9 @@ rm -rf $RPM_BUILD_ROOT %ghost %attr(0664,root,utmp) /var/run/utmp %changelog +* Mon Aug 1 2005 Bill Nottingham 7.93.18.EL-1 +- don't run multipath unless there's a multipath configuration + * Tue Jul 26 2005 Bill Nottingham 7.93.17.EL-1 - redhat-support-check: handle multi-core ia64 (#163783) diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index 472f84e6..ad224058 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -488,7 +488,7 @@ if [ -x /sbin/lvm.static -o -x /sbin/multipath -o -x /sbin/dmraid ]; then fi if [ -c /dev/mapper/control ]; then - if [ -x /sbin/multipath ]; then + if [ -f /etc/multipath.conf -x /sbin/multipath ]; then modprobe dm-multipath >/dev/null 2>&1 /sbin/multipath -v 0 fi -- cgit