--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: amazon-ec2-utils: fails to install udev helper utilities
- From: Noah Meyerhans <noahm@debian.org>
- Date: Mon, 28 Jun 2021 14:58:10 -0700
- Message-id: <162491749073.80970.2645165700975442739.reportbug@doom.morgul.net>
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.
--- End Message ---
--- Begin Message ---
Source: amazon-ec2-utils
Source-Version: 1.3+git20200518-3
Done: Noah Meyerhans <noahm@debian.org>
We believe that the bug you reported is fixed in the latest version of
amazon-ec2-utils, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 990430@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Noah Meyerhans <noahm@debian.org> (supplier of updated amazon-ec2-utils package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Tue, 24 Aug 2021 15:29:24 -0700
Source: amazon-ec2-utils
Architecture: source
Version: 1.3+git20200518-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Cloud Team <debian-cloud@lists.debian.org>
Changed-By: Noah Meyerhans <noahm@debian.org>
Closes: 990430
Changes:
amazon-ec2-utils (1.3+git20200518-3) unstable; urgency=medium
.
* Stop installing udev rules that aren't meaningful on modern instance
types (Closes: #990430)
Checksums-Sha1:
4ffabb429b783fce8188ae09d4f6a685c1b4cdfe 2076 amazon-ec2-utils_1.3+git20200518-3.dsc
effe63ee214299fcadfcd5a36deea88bb93ff88e 9592 amazon-ec2-utils_1.3+git20200518-3.debian.tar.xz
293703fa82bdfb78e2eb59baeb4b9baada9bf304 5650 amazon-ec2-utils_1.3+git20200518-3_source.buildinfo
Checksums-Sha256:
c118c53de72749efe974261d7a4cd61bcc534e6fc2f9b4b52539d0d587c52de0 2076 amazon-ec2-utils_1.3+git20200518-3.dsc
271433850ebaa87cb06472cdc58e93cc691da1cb476b1404806394552771952d 9592 amazon-ec2-utils_1.3+git20200518-3.debian.tar.xz
c260015804ef8b3584a550f654ba57bda7a4259506e5c336f4efe7053670bc34 5650 amazon-ec2-utils_1.3+git20200518-3_source.buildinfo
Files:
cd5b0772a63a8c2b57141ef86360979e 2076 admin optional amazon-ec2-utils_1.3+git20200518-3.dsc
f92f3bd02a00f1ef252961aea78d6596 9592 admin optional amazon-ec2-utils_1.3+git20200518-3.debian.tar.xz
03df68df626498233064a2027653e8a2 5650 admin optional amazon-ec2-utils_1.3+git20200518-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJFBAEBCgAvFiEE65xaF5r2LDCTz+zyV68+Bn2yWDMFAmEmfxIRHG5vYWhtQGRl
Ymlhbi5vcmcACgkQV68+Bn2yWDNLsBAAxxpNsKkniomDqanViCABf+H1L12JAcdg
esu72LWQsZy0bYzVuupUveAUlemb2m2x9fe/lzO6lo4r5LaOOj1g073PhPVPUmXG
/b8LVhDtNYyxjMUg2pyNGXO+frSgRGkyJfjY/2tohl5AFXo37xh0eHSwfrETzR7z
845ZvJrG0hsSu2jAwK0mC9HtgPVU2dU30OfSbP94eulnuj5MUMl03li1Dg1GR/Hm
oEHyPHupIVfueG7b8pCIGfCQBL4U+UG/f4G1s2sQJjOI4bL8P/VnVXdavy1tL1Cc
XYpSa8pLB8bDCFsf3nVQeOllbnqZGkSVDeTxaDnzu3pAU1eurixsOC10iRMiDUSw
RvT/3D1juS0phGAnYoZmIzrPEomqD7BLJxHCbCPZx2UKrYAoabRsKzHFJW9OoSek
cXvWYjwx78UMMxGzsiP9rzh/YKLdzNxznWaoVAo17kte5XvRxD9CKG3hHFGNMrJ1
vIVDr2UCIdtd6oYTYvgd6Qxv1a1wtSejXsRFiWRHzPuL/GYlY2weTzBemxXvkyCB
8mwygfol8bIrA7KmG0AfoQuhsf9IVpIoqQuU9Poss2AYkgjc2yIrx3Y/PW9qV/QU
uixnSlMELMhz3+temEpOZaMBBRmuLfe7sZmREAMI1MEQ3ys0Jlh+C+Usc/UElV/q
OnMxS15VYes=
=/+Zy
-----END PGP SIGNATURE-----
--- End Message ---