[systemd-devel] Bug? /dev/disk/by-path symlinks disappear for iSCSI targets

Lee Duncan lduncan at suse.com
Fri Oct 10 10:09:27 PDT 2014


Ping?

I will submit a patch that fixes this regression for SCSI, but I suspect
other transports will have problems, too, since the by-path links will
now be missing.


On 10/07/2014, I wrote:
> Date: Tue, 07 Oct 2014 21:21:11 +0500
> From: Lee Duncan <lduncan at suse.com>
> To: systemd-devel at lists.freedesktop.org
> Subject: [systemd-devel] Bug? /dev/disk/by-path symlinks disappear for
> 	iSCSI	targets
> Message-ID: <543412F7.1060609 at suse.com>
> Content-Type: text/plain; charset=utf-8
> 
> Hi:
> 
> I am debugging a problem where the symlinks in /dev/disk/by-path
> disappeared for iSCSI target devices.
> 
> It looks like it's from systemd/udev commit
> e98bbfd2074e2b1079b7059341eac25741baf319
> 
>  udev: path_id - suppress ID_PATH for devices with an unknown parent device type
> 
> I believe the worry was that if you allowed pathnames based on a
> parent bus that did not supply unique IDs, then you could end up with
> duplicate paths, since this references a bug:
> 
>     https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1321816
> 
> But, looking at the code, this change seems to have assumed SCSI was
> not a "supported parent". I am not aware of any cases where SCSI has
> given duplicate names to devices
> 
> Before submitting a patch to fix this for SCSI, I wanted to make sure
> I understood the intent correctly.
> 
> Thank you for your help.
> 

-- 
Lee Duncan



More information about the systemd-devel mailing list