Blame SOURCES/0297-iscsi-iscsiroot.sh-systemd-run-does-not-understand-n.patch

18971c
From 88329f6b4f4581a50842d1fe82f11cb052e7f100 Mon Sep 17 00:00:00 2001
18971c
From: Harald Hoyer <harald@redhat.com>
18971c
Date: Sat, 15 Aug 2015 13:21:29 +0200
18971c
Subject: [PATCH] iscsi/iscsiroot.sh: systemd-run does not understand
18971c
 --no-block
18971c
18971c
not yet on RHEL-7
18971c
---
18971c
 modules.d/95iscsi/iscsiroot.sh | 2 +-
18971c
 1 file changed, 1 insertion(+), 1 deletion(-)
18971c
18971c
diff --git a/modules.d/95iscsi/iscsiroot.sh b/modules.d/95iscsi/iscsiroot.sh
18971c
index 9452afec..2ac9ed32 100755
18971c
--- a/modules.d/95iscsi/iscsiroot.sh
18971c
+++ b/modules.d/95iscsi/iscsiroot.sh
18971c
@@ -186,7 +186,7 @@ handle_netroot()
18971c
         is_active=$?
18971c
         if [ $is_active -ne 0 ]; then
18971c
             if [ "$status" != "activating" ] && ! systemctl is-failed "$netroot_enc" >/dev/null 2>&1; then
18971c
-                systemd-run --no-block --service-type=oneshot --remain-after-exit --quiet \
18971c
+                systemd-run --service-type=oneshot --remain-after-exit --quiet \
18971c
                             --description="Login iSCSI Target $iscsi_target_name" \
18971c
                             --unit="$netroot_enc" -- \
18971c
                             $(command -v iscsistart) \