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

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