[Bug 1912835] Re: ESP should be fscked

Dimitri John Ledkov 1912835 at bugs.launchpad.net
Tue Feb 9 20:45:12 UTC 2021


>From https://launchpad.net/~xnox/+livefs/ubuntu/bionic/any/+build/259782

downloading the .img (qcow) image

mounting p15 i can see that /ubuntu/ paths now exist, and will be used
for booting via BOOTX64.CSV

$ tree /mnt/
/mnt/
└── EFI
    ├── BOOT
    │   ├── BOOTX64.EFI
    │   └── fbx64.efi
    └── ubuntu
        ├── BOOTX64.CSV
        ├── grub.cfg
        ├── grubx64.efi
        ├── mmx64.efi
        └── shimx64.efi

3 directories, 7 files

Mounting the p1 partition I can see that fsck will be performed on both
partitions

$ cat /mnt/etc/fstab
LABEL=cloudimg-rootfs / ext4 defaults 0 1
LABEL=UEFI /boot/efi vfat defaults 0 1

$ sudo chroot /mnt/ /usr/bin/systemd-detect-virt
Failed to check for virtualization: No such file or directory

can be executed and is present (although this image would not have
triggered the bug of missing systemd-detect-virt, this bug would need to
be verified elsewhere)

** Tags removed: verification-needed-bionic
** Tags added: verification-done-bionic

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

Title:
  ESP should be fscked

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 Committed

Bug description:
  [Impact]

   * ESP can be not clean, thus failing to mount on boot.

   * fsck should be enabled for ESP partition.

  [Test Case]

   * $ systemctl status systemd-fsck*.service

    On boot, that should produce status for two drives, the one with
  short uuid should be the one mounted as /ESP

  [Where problems could occur]

   * The change will affect only newly deployed instances. Old instances
  will have to correct this in fstab themselves.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1912835/+subscriptions



More information about the foundations-bugs mailing list