Blame SOURCES/0166-start-socket-listeners-on-iscsiadm-command.patch

ae92e4
From 89e9c2ff66d069b812fabcd4fefe453bbcea73e4 Mon Sep 17 00:00:00 2001
ae92e4
From: Chris Leech <cleech@redhat.com>
ae92e4
Date: Mon, 25 Nov 2013 22:28:12 -0800
ae92e4
Subject: [PATCH] start socket listeners on iscsiadm command
ae92e4
ae92e4
fix for trying to run iscsiadm commands right after installing the rpm
ae92e4
without manually starting the systemd units
ae92e4
---
ae92e4
 etc/iscsid.conf | 3 ++-
ae92e4
 1 file changed, 2 insertions(+), 1 deletion(-)
ae92e4
ae92e4
diff --git a/etc/iscsid.conf b/etc/iscsid.conf
ae92e4
index 1fd3000..412f130 100644
ae92e4
--- a/etc/iscsid.conf
ae92e4
+++ b/etc/iscsid.conf
ae92e4
@@ -17,7 +17,8 @@
ae92e4
 # maintainers.
ae92e4
 #
ae92e4
 # Default for Fedora and RHEL. (uncomment to activate).
ae92e4
-#iscsid.startup = /bin/systemctl start iscsid.service
ae92e4
+# Use socket activation, but try to make sure the socket units are listening
ae92e4
+iscsid.startup = /bin/systemctl start iscsid.socket iscsiuio.socket
ae92e4
 # 
ae92e4
 # Default for upstream open-iscsi scripts (uncomment to activate).
ae92e4
 # iscsid.startup = /sbin/iscsid
ae92e4
-- 
ae92e4
1.8.3.1
ae92e4