[Pkg-iscsi-maintainers] [SCM] Debian Open-iSCSI Packaging branch, upstream-mnc, updated. 2.0-872-193-gde2c0e7

Mike Christie michaelc at cs.wisc.edu
Sat Apr 7 15:44:09 UTC 2012

The following commit has been merged in the upstream-mnc branch:
commit 279584b6c0883c22ea32ec5198eccc062ec7f823
Author: Mike Christie <michaelc at cs.wisc.edu>
Date:   Sat Mar 10 02:58:29 2012 -0600

    init: update red hat init script for module changes
    This has the red hat init script use iscsiadm to
    load the proper drivers. The call to iscsiadm -m iface
    is needed to setup the default iface bindings and load
    the offload drivers.

diff --git a/etc/initd/initd.redhat b/etc/initd/initd.redhat
index 5828258..bb79b87 100644
--- a/etc/initd/initd.redhat
+++ b/etc/initd/initd.redhat
@@ -17,8 +17,6 @@ RETVAL=0
 	echo -n $"Starting iSCSI initiator service: "
-	modprobe -q iscsi_tcp
-	modprobe -q ib_iser
 	daemon iscsid
@@ -27,6 +25,9 @@ start()
 	touch /var/lock/subsys/open-iscsi
+	# load offload drivers and setup default ifaces if needed
+	iscsiadm -m iface 2>&1 > /dev/null
 	echo -n $"Setting up iSCSI targets: "
 	iscsiadm -m node --loginall=automatic

Debian Open-iSCSI Packaging

More information about the Pkg-iscsi-maintainers mailing list