The rawhide testing farm images recently started to install this new package by default. After some experimentation and log checking I am fairly convinced that this is part of the official Fedora AMIs, not specific to TF. Unfortunately this ships some rather broken udev rules which create invalid device symlinks like /dev/sda1 -> nvme0n1 and /dev/sda12 -> nvme0n1p2. These are useless, confusing, and even dangerous as they "shadow" a real /dev/sda device, so you can't see partitions on the latter. Or rather, you add a /dev/sda and *think* you are working with its first partition /dev/sda1, but in reality you are changing /dev/nvme* (which is an entirely different storage device!) Please see https://github.com/amazonlinux/amazon-ec2-utils/issues/37 for details. If you want to fix this downstream, I suggest to drop these two lines from the udev rules: KERNEL=="nvme[0-9]*n[0-9]*", ENV{DEVTYPE}=="disk", ATTRS{model}=="Amazon Elastic Block Store", PROGRAM="/usr/sbin/ebsnvme-id -u /dev/%k", SYMLINK+="%c" KERNEL=="nvme[0-9]*n[0-9]*p[0-9]*", ENV{DEVTYPE}=="partition", ATTRS{model}=="Amazon Elastic Block Store", PROGRAM="/usr/sbin/ebsnvme-id -u /dev/%k", SYMLINK+="%c%n" Reproducible: Always
I set the "Version: 40" as this also happens in a Fedora 40 EC2 instance -- but there the package isn't installed by default.
*** Bug 2313526 has been marked as a duplicate of this bug. ***
Martin has suggested dropping the two lines and I vote for that, though I would like to hear the reason for existence of such rules. As an alternative and less intrusive approach a negative symlink priority might be a workaround - see bug 2313526#c5
I would be okay with that as well. I'll work up a patch.
FEDORA-2024-dd2799248a (amazon-ec2-utils-2.2.0-5.fc42) has been submitted as an update to Fedora 42. https://bodhi.fedoraproject.org/updates/FEDORA-2024-dd2799248a
FEDORA-2024-dd2799248a (amazon-ec2-utils-2.2.0-5.fc42) has been pushed to the Fedora 42 stable repository. If problem still persists, please make note of it in this bug report.
@mhayden Thank you for the fix, can you please backport it to Fedora 41 too?
Yes, I have a build on the way!
FEDORA-2024-954abd2b9c (amazon-ec2-utils-2.2.0-5.fc41) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2024-954abd2b9c
FEDORA-2024-954abd2b9c has been pushed to the Fedora 41 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-954abd2b9c` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-954abd2b9c See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
Cool, thanks!
FEDORA-2024-954abd2b9c (amazon-ec2-utils-2.2.0-5.fc41) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report.