Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 692056 - sys-apps/systemd-242-r6 udev doesn't create /dev/disk/by-id symlinks for virtio devices
Summary: sys-apps/systemd-242-r6 udev doesn't create /dev/disk/by-id symlinks for virt...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo systemd Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-13 09:00 UTC by Anton Gubarkov
Modified: 2019-08-14 08:30 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Gubarkov 2019-08-13 09:00:52 UTC
I've got a QEMU/KVM VM with gentoo linux as the host and gentoo linux as the guest.

The guest has 3 virtio disks attached and 1 sata dvdrom. 

in the guest:
localhost ~ # ls -l /dev/vd?
brw-rw---- 1 root disk 254,  0 Aug 13 10:24 /dev/vda
brw-rw---- 1 root disk 254, 16 Aug 13 10:24 /dev/vdb
brw-rw---- 1 root disk 254, 32 Aug 13 11:47 /dev/vdc

localhost ~ # ls -l /dev/disk/by-id/
total 0
lrwxrwxrwx 1 root root 9 Aug 13 10:24 ata-QEMU_DVD-ROM_QM00001 -> ../../sr0
Comment 1 Mike Gilbert gentoo-dev 2019-08-14 08:30:06 UTC
I don't think virtio disks have any hardware IDs that could be used for this.

Regardless, this is probably not a Gentoo-specific behavior. If you want something changed, create an issue upstream.