Blame SOURCES/0298-iscsi-module-setup.sh-iscsid-need-var-lib-iscsi.patch

18971c
From f74b0a9f38838dddcf6f56daa9f20fc3e86087ca Mon Sep 17 00:00:00 2001
18971c
From: Harald Hoyer <harald@redhat.com>
18971c
Date: Sat, 15 Aug 2015 13:22:07 +0200
18971c
Subject: [PATCH] iscsi/module-setup.sh: iscsid need /var/lib/iscsi
18971c
18971c
---
18971c
 modules.d/95iscsi/module-setup.sh | 2 +-
18971c
 1 file changed, 1 insertion(+), 1 deletion(-)
18971c
18971c
diff --git a/modules.d/95iscsi/module-setup.sh b/modules.d/95iscsi/module-setup.sh
18971c
index d12eb7d8..4ecba05e 100755
18971c
--- a/modules.d/95iscsi/module-setup.sh
18971c
+++ b/modules.d/95iscsi/module-setup.sh
18971c
@@ -114,6 +114,6 @@ install() {
18971c
             echo "Before=dracut-initqueue.service"
18971c
         ) > "${initdir}/$systemdsystemunitdir/iscsid.service.d/dracut.conf"
18971c
     fi
18971c
-
18971c
+    inst_dir /var/lib/iscsi
18971c
     dracut_need_initqueue
18971c
 }