This change got reverted in livecd-rootfs and now breaks systemd
autopkgtest.

livecd-rootfs (2.683) groovy; urgency=medium

  * Revert the removal of fstab from squashfs images, which has had knock-on
    effects and breaks MAAS (ref bug #1890803)

 -- Steve Langasek <steve.langa...@ubuntu.com>  Wed, 12 Aug 2020
11:31:12 -0700

IMO LXD images should not contain invalid fstab and MAAS should be
fixed.

** Changed in: livecd-rootfs (Ubuntu)
       Status: Fix Released => Triaged

** Also affects: systemd (Ubuntu)
   Importance: Undecided
       Status: New

** Tags added: update-excuse

** Changed in: systemd (Ubuntu)
       Status: New => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1877078

Title:
  Please ship empty /etc/fstab in LXD images

Status in livecd-rootfs package in Ubuntu:
  Triaged
Status in systemd package in Ubuntu:
  Triaged

Bug description:
  Systemd boots degraded because of the invalid content of /etc/fstab:

  $ lxc shell gg-test 
  root@gg-test:~# systemctl is-system-running 
  degraded
  root@gg-test:~# systemctl list-units --failed 
    UNIT                       LOAD   ACTIVE SUB    DESCRIPTION                 
        
  ● systemd-remount-fs.service loaded failed failed Remount Root and Kernel 
File Systems

  LOAD   = Reflects whether the unit definition was properly loaded.
  ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
  SUB    = The low-level unit activation state, values depend on unit type.

  1 loaded units listed.
  root@gg-test:~# cat /etc/fstab 
  LABEL=cloudimg-rootfs /        ext4   defaults        0 0
  root@gg-test:~# echo "" > /etc/fstab 
  root@gg-test:~# reboot

  Session terminated, killing shell... ...killed.
  rbalint@yogi:~$ lxc shell gg-test 
  root@gg-test:~# systemctl is-system-running 
  running
  root@gg-test:~# systemctl list-units --failed 
    UNIT LOAD ACTIVE SUB DESCRIPTION
  0 loaded units listed.

  
  Not shipping is also fixing the issue, but some programs (such as systemd 
autopkgtes) reads fstab and a missing fstab should be special-cased, thus that 
would cause more breakages.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to