[iscsi-initiator-utils/f16] Fix iscsi network check

Mike Christie michaelc at fedoraproject.org
Sat Feb 4 09:18:46 UTC 2012


commit 0bab482b94ac07066ad84119276d304152855071
Author: Mike Christie <michaelc at cs.wisc.edu>
Date:   Sat Feb 4 02:58:21 2012 -0600

    Fix iscsi network check
    
    This adds network to be required. If NM is not used then this
    is required. If NM is used then network.service should not be setup
    and we are ok.

 iscsidevs.init |    9 +--------
 1 files changed, 1 insertions(+), 8 deletions(-)
---
diff --git a/iscsidevs.init b/iscsidevs.init
index c2f55ba..2ca316b 100755
--- a/iscsidevs.init
+++ b/iscsidevs.init
@@ -5,16 +5,9 @@
 # chkconfig: 345 13 89
 # description: Logs into iSCSI targets needed at system startup
 
-# Note we should have $network in Required-Start/Stop but we don't because if
-# we would require network chkconfig will put us directly after NetworkManager
-# when using NM, which will make our see if the network is up test succeed
-# while NM is actually still configuring the network. By not requiring network
-# chkconfig will use the chkconfig header to determine our start prio, starting
-# us after the old network service, but before NM (netfs does this the same).
-
 ### BEGIN INIT INFO
 # Provides:          iscsi
-# Required-Start:    iscsid
+# Required-Start:    iscsid network
 # Should-Start:      tgtd
 # Required-Stop:     iscsid
 # Should-Stop:       tgtd


More information about the scm-commits mailing list