iscsi-initiator-utils/0014-start-socket-listeners-on-iscsiadm-command.patch

29 lines
940 B
Diff
Raw Normal View History

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