integ/filesystem/iscsi-initiator-utils/centos/patches/0002-Add-dependency-against-network.service-to-iscsi-shut.patch
Scott Little dd07193bf0 Relocate iscsi-initiator-utils to stx-integ/filesystem/...
Move content from stx-gplv2 into stx-integ

Packages will be relocated to

stx-integ:
    base/
        bash
        cgcs-users
        cluster-resource-agents
        dpkg
        haproxy
        libfdt
        netpbm
        rpm

    database/
        mariadb

    filesystem/
        iscsi-initiator-utils

    filesystem/drbd/
        drbd-tools

    kernel/kernel-modules/
        drbd
        integrity
        intel-e1000e
        intel-i40e
        intel-i40evf
        intel-ixgbe
        intel-ixgbevf
        qat17
        tpmdd

    ldap/
        ldapscripts

    networking/
        iptables
        net-tools

Story: 2002801
Task: 22687
Signed-off-by: Scott Little <scott.little@windriver.com>
Change-Id: I33594eeb5112f43ed4264361aaee841503e66276
2018-08-01 15:31:54 -04:00

26 lines
819 B
Diff

From f1f45f8028b8ef5804e0c9ff4d7dd5be6d21fdb4 Mon Sep 17 00:00:00 2001
From: Don Penney <don.penney@windriver.com>
Date: Thu, 2 Nov 2017 11:00:17 -0400
Subject: [PATCH] Add dependency against network.service to
iscsi-shutdown.service
---
etc/systemd/iscsi-shutdown.service | 1 +
1 file changed, 1 insertion(+)
diff --git a/etc/systemd/iscsi-shutdown.service b/etc/systemd/iscsi-shutdown.service
index fcb431a..35ee8ba 100644
--- a/etc/systemd/iscsi-shutdown.service
+++ b/etc/systemd/iscsi-shutdown.service
@@ -4,6 +4,7 @@ Documentation=man:iscsid(8) man:iscsiadm(8)
DefaultDependencies=no
Conflicts=shutdown.target
After=systemd-remount-fs.service network.target iscsid.service iscsiuio.service
+After=network.service
Before=remote-fs-pre.target
Wants=remote-fs-pre.target
RefuseManualStop=yes
--
1.8.3.1