Blame SOURCES/0170-fix-systemd-unit-wants.patch

d94dff
From 347e6120213efda47a45443b4e366ed1400433c1 Mon Sep 17 00:00:00 2001
d94dff
From: Chris Leech <cleech@redhat.com>
d94dff
Date: Wed, 17 Sep 2014 09:58:39 -0700
d94dff
Subject: [PATCH] updates to iscsi.service
d94dff
d94dff
Resolves: #1126524
d94dff
Resolves: #1111925
d94dff
---
d94dff
 etc/systemd/iscsi.service | 10 +++++-----
d94dff
 1 file changed, 5 insertions(+), 5 deletions(-)
d94dff
d94dff
diff --git a/etc/systemd/iscsi.service b/etc/systemd/iscsi.service
d94dff
index 3de76c5..ad7be34 100644
d94dff
--- a/etc/systemd/iscsi.service
d94dff
+++ b/etc/systemd/iscsi.service
d94dff
@@ -5,17 +5,17 @@ DefaultDependencies=no
d94dff
 Conflicts=shutdown.target
d94dff
 After=systemd-remount-fs.service network.target iscsid.service iscsiuio.service
d94dff
 Before=remote-fs-pre.target
d94dff
+Wants=remote-fs-pre.target
d94dff
 ConditionDirectoryNotEmpty=|/var/lib/iscsi/nodes
d94dff
 ConditionDirectoryNotEmpty=|/sys/class/iscsi_session
d94dff
 
d94dff
 [Service]
d94dff
 Type=oneshot
d94dff
 RemainAfterExit=true
d94dff
-ExecStart=/usr/libexec/iscsi-mark-root-nodes
d94dff
-SuccessExitStatus=21
d94dff
-ExecStart=/sbin/iscsiadm -m node --loginall=automatic
d94dff
-ExecStop=/sbin/iscsiadm -m node --logoutall=automatic
d94dff
-ExecReload=/sbin/iscsiadm -m node --loginall=automatic
d94dff
+ExecStart=-/usr/libexec/iscsi-mark-root-nodes
d94dff
+ExecStart=-/sbin/iscsiadm -m node --loginall=automatic
d94dff
+ExecStop=-/sbin/iscsiadm -m node --logoutall=automatic
d94dff
+ExecReload=-/sbin/iscsiadm -m node --loginall=automatic
d94dff
 
d94dff
 [Install]
d94dff
 WantedBy=sysinit.target
d94dff
-- 
d94dff
1.9.3
d94dff