Package: amazon-ec2-utils Version: 1.3+git20200518-2 Severity: normal The primary purpose of the amazon-ec2-utils package is to install some udev rules to configure various hardware conveniences. For example, these install symlinks providing compatibility symlinks for block devices such that /dev/sda can be used even on Xen-based instances that present the first volume as /dev/xvda.
Some of the functionality relies on external programs. The issue is that two of the relevant helper programs are not actually included in the current package, leaving the following two udev rules nonfunctional and logging errors when they're triggered: /usr/lib/udev/rules.d/51-ec2-hvm-devices.rules: KERNEL=="xvd*", PROGRAM="/sbin/ec2udev-vbd %k", SYMLINK+="%c" /usr/lib/udev/rules.d/52-ec2-vcpu.rules: SUBSYSTEM=="cpu", ACTION=="add", RUN+="/sbin/ec2udev-vcpu $devpath" Logs from the ec2udev-vcpu rule show the following failure at boot: Jun 28 21:38:04 debian systemd-udevd[236]: cpu1: Process '/sbin/ec2udev-vcpu /devices/system/cpu/cpu1' failed with exit code 1. Jun 28 21:38:04 debian systemd-udevd[247]: cpu0: Process '/sbin/ec2udev-vcpu /devices/system/cpu/cpu0' failed with exit code 1. My inclination is to fix this by dropping 52-ec2-vcpu.rules altogether, since it doesn't work as expected anyway on any instance configuration we support. I'm inclined to fix 51-ec2-hvm-devices.rules by adding /sbin/ec2udev-vbd, since the functionality could still be useful. On the other hand, we haven't supported this functionality in the past and nobody seems to have cared, so dropping those rules would also be an option. noah -- System Information: Debian Release: 11.0 APT prefers testing-security APT policy: (500, 'testing-security'), (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 5.10.0-7-amd64 (SMP w/4 CPU threads) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages amazon-ec2-utils depends on: ii curl 7.74.0-1.2 ii python3 3.9.2-3 amazon-ec2-utils recommends no packages. amazon-ec2-utils suggests no packages.