Test plan:
Verify if hwdb will modify virtio interface name based on following steps:
cat /sys/class/net/enp1s0/device/../modalias
pci:v00001AF4d00001041sv00001AF4sd00001100bc02sc00i00

nano /etc/udev/hwdb.d/99-custom-net-names.hwdb
pci:v00001AF4d00001041*
  ID_NET_NAME_PATH=customvirtio0

build hwdb:
systemd-hwdb --usr update

trigger modified hooks:
update-initramfs -u

reboot into initramfs
- check if hwdb.bin is present
- check if udev applies new interface name

Results:
Jammy
systemd, udev 249.11-0ubuntu3.17
- hwdb.bin is present in initramfs
- udev rules have been applied

Noble 
systemd, udev 255.4-1ubuntu8.11
- hwdb.bin is present in initramfs
- udev rules have been applied



** Tags removed: verification-needed verification-needed-jammy 
verification-needed-noble
** Tags added: verification-done verification-done-jammy verification-done-noble

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2112237

Title:
  hwdb.bin not available in initramfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/2112237/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to