Debugging notes:
name = udev_device_get_sysname(parent);
if (sscanf(name, "%d:%d:%d:%d", &host, &bus, &target, &lun) != 4)
return NULL;
This works fine, host is "10" in the scsi_debug case above.
But then the code below which does "Rebase host offset to get the local
relative number" turns host into a "0" as 10 is the smallest host number
on that device. This code is a bit dubious to me, I'll ask Kay.
** Summary changed:
- /dev/disk/by-path link for scsi disks always has host "0", causing conflicts
+ [udev] /dev/disk/by-path link for scsi disks always has host "0", causing
conflicts
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1321816
Title:
[udev] /dev/disk/by-path link for scsi disks always has host "0",
causing conflicts
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1321816/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs