summaryrefslogtreecommitdiff
path: root/utils/50-iscsi-firmware-login.rules.template
diff options
context:
space:
mode:
Diffstat (limited to 'utils/50-iscsi-firmware-login.rules.template')
-rw-r--r--utils/50-iscsi-firmware-login.rules.template15
1 files changed, 15 insertions, 0 deletions
diff --git a/utils/50-iscsi-firmware-login.rules.template b/utils/50-iscsi-firmware-login.rules.template
new file mode 100644
index 0000000..9fa1e7d
--- /dev/null
+++ b/utils/50-iscsi-firmware-login.rules.template
@@ -0,0 +1,15 @@
+# This file contains the rules to handle iscsi firmware changes
+
+# DO NOT WRAP THIS LINE
+#
+# old udev does not understand some of it,
+# and would end up skipping only some lines, not the full rule.
+# which can cause all sort of trouble with strange-named device nodes
+# for completely unrelated devices,
+# resulting in unusable network lookback, etc.
+#
+# in case this is "accidentally" installed on a system with old udev,
+# having it as one single line avoids those problems.
+#
+# DO NOT WRAP THIS LINE
+SUBSYSTEM=="iscsi_boot*", ACTION=="add", DEVPATH=="*/target*", RUN+="@SBINDIR@/iscsi_fw_login"