[Bug 1623003] Re: udev-generated /dev/disk/by-path names broken for virtio disks
Dimitri John Ledkov
launchpad at surgut.co.uk
Thu Sep 15 14:44:53 UTC 2016
Userspace rpm: udev
... Ubuntu does not use RPMs, do you mean .deb or just package?
Note the bugs are tracked by source package name, which is systemd.
This change was introduced upstream in v229 see:
https://github.com/systemd/systemd/blob/master/NEWS
https://github.com/systemd/systemd/commit/f073b1b3c0f4f0df1b0bd61042ce85fb5d27d407
https://lists.linuxfoundation.org/pipermail/virtualization/2015-August/030328.html
https://github.com/systemd/systemd/issues/2501
Please discuss this upstream to change/improve the path_id detection.
This is not ubuntu-specific and affects all Linux on z that use systemd
v229 or newer.
If a fix for this lands upstream, we can discuss cherrypicking it to
xenial.
** Bug watch added: github.com/systemd/systemd/issues #2501
https://github.com/systemd/systemd/issues/2501
** Changed in: udev (Ubuntu)
Status: New => Invalid
** Package changed: udev (Ubuntu) => systemd (Ubuntu)
** Also affects: systemd via
https://github.com/systemd/systemd/issues/2501
Importance: Unknown
Status: Unknown
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to udev in Ubuntu.
https://bugs.launchpad.net/bugs/1623003
Title:
udev-generated /dev/disk/by-path names broken for virtio disks
Status in systemd:
Unknown
Status in Ubuntu on IBM z Systems:
New
Status in systemd package in Ubuntu:
Invalid
Bug description:
The udev-generated /dev/disk/by-path names for virtio disks are broken on z Systems as they have the format virtio-pci-h.h.hhhh[-partn], where h.h.hhhh is the CCW devno of the virtio device representing the whole disk. Historically, the standard CCW naming was applied, which was ccw-h.h.hhhh[-partn]
---uname output---
Linux ubuntu 4.4.0-36-generic #55-Ubuntu SMP Thu Aug 11 18:05:09 UTC 2016 s390x s390x s390x GNU/Linux
Machine Type = 2964-703 running KVM for IBM z Systems
---Debugger---
A debugger is not configured
---Steps to Reproduce---
1. Install Ubuntu LTS 16.04.1 on KVM for IBM z Systems 1.1.1
2. Issue ls -l /dev/disk/by-path
Userspace tool common name: udev
The userspace tool has the following bit modes: 64-bit
Userspace rpm: udev
Userspace tool obtained from project website: na
There are basically two problems with this:
1. The naming is technically incorrect, since the virtio devices on z are no PCI devices but CCW devices
2. Then naming based on virtio- is backwards incompatible. This may seem not to be an issue for Xenial but customers may be confused if they have been running Linux on KVM for IBM z before.
To manage notifications about this bug go to:
https://bugs.launchpad.net/systemd/+bug/1623003/+subscriptions
More information about the foundations-bugs
mailing list