iscsi-initiator-utils/iscsi-initiator-utils-use-var-for-pid.patch

12 lines
553 B
Diff

--- open-iscsi-6.2.0.695/usr/initiator.h 2006-09-06 03:16:07.000000000 -0400
+++ open-iscsi-6.2.0.695.work/usr/initiator.h 2006-09-26 18:49:59.000000000 -0400
@@ -34,7 +34,7 @@
#define ST_CONFIG_DIR "/etc/iscsi/send_targets"
#define NODE_CONFIG_DIR "/etc/iscsi/nodes"
#define CONFIG_FILE "/etc/iscsi/iscsid.conf"
-#define PID_FILE "/etc/iscsi/iscsid.pid"
+#define PID_FILE "/var/run/iscsid.pid"
#define INITIATOR_NAME_FILE "/etc/iscsi/initiatorname.iscsi"
#define LOCK_FILE "/etc/iscsi/lock"
#define LOCK_WRITE_FILE "/etc/iscsi/lock.write"