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

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