Bug ID 907715
Summary Predictable iSCSI device links are not being created any more in /dev/disks/by-path
Classification openSUSE
Product openSUSE Distribution
Version 13.2
Hardware Other
OS openSUSE 13.2
Status NEW
Severity Normal
Priority P5 - None
Component Basesystem
Assignee bnc-team-screening@forge.provo.novell.com
Reporter f+novell@congenio.de
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

When an iSCSI target is connected, its corresponding device link under
/dev/disk/by-path/ip-<IP_ADDR>:<PORT>-iscsi-<IQN>-iscsi-lun-<LUN#>-part<PART#>
is not being created any more.

This is extremely limiting, because the real scsi device (say, /dev/sdg1) is
quite unpredictable.

The reason for this is a patch in upstream systemd:
http://cgit.freedesktop.org/systemd/systemd/commit/?id=e98bbfd2074e2b1079b7059341eac25741baf319

Lee Duncan of SuSE Labs has pointed that one out to upstream maintainers
(http://lists.freedesktop.org/archives/systemd-devel/2014-October/024155.html),
but the bug is still in openSUSE 13.2.

Fedora had that one fixed as well (see
https://bugzilla.redhat.com/show_bug.cgi?id=1161779).

In order to fix this, this patch should be applied:

Index: systemd-210/src/udev/udev-builtin-path_id.c
===================================================================
--- systemd-210.orig/src/udev/udev-builtin-path_id.c
+++ systemd-210/src/udev/udev-builtin-path_id.c
@@ -547,6 +547,7 @@
                 } else if (streq(subsys, "scsi")) {
                         parent = handle_scsi(parent, &path);
                         supported_transport = true;
+                        supported_parent = true;
                 } else if (streq(subsys, "cciss")) {
                         parent = handle_cciss(parent, &path);
                         supported_transport = true;


You are receiving this mail because: