group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #38455
[Bug 1902260] Re: systemd-detect-virt is missing on Groovy EC2 AMI
This bug was fixed in the package livecd-rootfs - 2.694.3
---------------
livecd-rootfs (2.694.3) groovy; urgency=medium
[ David Krauser ]
* buildd: produce kernel and initrd as separate artifacts LP: #1910557
* buildd: call update-initramfs for all installed kernels
We only have one kernel installed, so we don't need to
specify an explicit version. LP: #1910557
[ Dimitri John Ledkov ]
* esp: install grub in ubuntu bootloader id path, instead of removable.
(LP: #1912830)
* esp: perform fsck. (LP: #1912835)
* Perform fsck on all rootfs. (LP: #1912835)
* functions: stop removing systemd-detect-virt unconditionally in undivert_grub
(LP: #1902260)
livecd-rootfs (2.694.2) groovy; urgency=medium
[ Cody Shepherd ]
* Create manifests for buildd tarball images (LP: #1914445)
-- Dimitri John Ledkov <xnox@xxxxxxxxxx> Tue, 09 Feb 2021 00:40:38
+0000
** Changed in: livecd-rootfs (Ubuntu Groovy)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1902260
Title:
systemd-detect-virt is missing on Groovy EC2 AMI
Status in cloud-images:
Confirmed
Status in livecd-rootfs package in Ubuntu:
Fix Released
Status in livecd-rootfs source package in Xenial:
Fix Committed
Status in livecd-rootfs source package in Bionic:
Fix Committed
Status in livecd-rootfs source package in Focal:
Fix Committed
Status in livecd-rootfs source package in Groovy:
Fix Released
Bug description:
[Impact]
* On some image types, systemd-detect-virt might be missing
[Test Case]
* $ sudo systemd-detect-virt
Should print a word.
If it prints "no such file or directory" it is buggy.
Best reproduced on initrdless boot, public cloud, where kernel flavour
is switched, such as GCP groovy or AWS EC2 groovy. However other image
types might be affected too.
Backporting the change to all series, in case there are other places
which invoke undivert_grub multiple times in a row.
[Where problems could occur]
* Hopefully, systemd-detect-virt undivert is now correct. Issues
might happen in case systemd is not meant to be installed and yet the
file remains on disk; or if the diversion is not removed still.
Resulting in incorrect runtime behaviour.
* For the images where this is fixed, systemd-detect-virt will now
start working correctly. Thus may trigger automation to run that
relied on missing systemd-detect-virt and thus previously did not
execute.
[Other Info]
* Original bug report
ubuntu/images/hvm-ssd/ubuntu-groovy-20.10-arm64-server-20201022.1
ubuntu@ip-172-31-30-199:~$ dpkg -S systemd-detect-virt
systemd: /usr/bin/systemd-detect-virt
systemd: /usr/share/bash-completion/completions/systemd-detect-virt
systemd: /usr/share/man/man1/systemd-detect-virt.1.gz
ubuntu@ip-172-31-30-199:~$ ls /usr/bin/systemd-detect-virt
ls: cannot access '/usr/bin/systemd-detect-virt': No such file or directory
Since livecd-rootfs plays with diversions of this file it looks
suspicious, but I have not fully triaged the problem.
LXD image for amd64 seems to be ok: ubuntu 20.10 amd64 (release)
(20201022.1)
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-images/+bug/1902260/+subscriptions