Activity log for bug #2049271

Date Who What changed Old value New value Message
2024-01-13 18:47:27 Adam Vodopjan bug added bug
2024-01-13 21:04:23 Adam Vodopjan description On a fresh jammy server minimal install I have such fstab entries: /dev/sda1 / ext4 defaults 0 1 /dev/sdb1 /disk1 ext4 nofail 0 2 If the second disk is attached, it boots as supposed with and without overlayroot=tmpfs in the kernel cmdline. In case the disk is unplugged and the kernel cmdline contains overlayroot=tmpfs (without extra :recurse=0), the boot stumbles on such message: You are in emergency mode. After logging in, type "journalctl -xb" to .. Press Enter for maintenance (or press Control-D to continue): So I press Enter and inspect fstab generated by overlayroot: > grep disk1 /etc/fstab /dev/sdb1 /media/root-ro/disk1 ext4 ro,nofail,x-systemd.device-timeout=10 0 2 /media/root-ro/disk1 /disk1 overlay lowerdir=/media/root-ro/disk1,upperdir=/media/root-rw/overlay/disk1,workdir=/media/root-rw/overlay-workdir/disk1 0 2 Evidently, nofail is not applied to the overlay mount, which makes it non optional. When trying to replicate, it is important to NOT use FAT formatted sdb1 since overlayroot does bypass FAT. On a fresh jammy server minimal install I have such fstab entries:     /dev/sda1 / ext4 defaults 0 1     /dev/sdb1 /disk1 ext4 nofail 0 2 If the second disk is attached, it boots as supposed with and without overlayroot=tmpfs in the kernel cmdline. In case the disk is unplugged and the kernel cmdline contains overlayroot=tmpfs (without extra :recurse=0), the boot stumbles on such message:     You are in emergency mode. After logging in, type "journalctl -xb" to ..     Press Enter for maintenance     (or press Control-D to continue): So I press Enter and inspect fstab generated by overlayroot:     > grep disk1 /etc/fstab     /dev/sdb1 /media/root-ro/disk1 ext4 ro,nofail 0 2     /media/root-ro/disk1 /disk1 overlay lowerdir=/media/root-ro/disk1,upperdir=/media/root-rw/overlay/disk1,workdir=/media/root-rw/overlay-workdir/disk1 0 2 Evidently, nofail is not applied to the overlay mount, which makes it non optional. When trying to replicate, it is important to NOT use FAT formatted sdb1 since overlayroot does bypass FAT.
2024-01-16 00:22:37 Adam Vodopjan attachment added lp2049271-failed-boot.log https://bugs.launchpad.net/ubuntu/+source/cloud-initramfs-tools/+bug/2049271/+attachment/5739723/+files/lp2049271-failed-boot.log
2024-01-17 13:46:30 Athos Ribeiro cloud-initramfs-tools (Ubuntu): status New Triaged
2024-01-17 13:46:39 Athos Ribeiro bug added subscriber Ubuntu Server
2024-01-17 13:46:53 Athos Ribeiro nominated for series Ubuntu Jammy
2024-01-17 13:46:53 Athos Ribeiro bug task added cloud-initramfs-tools (Ubuntu Jammy)
2024-01-17 13:46:58 Athos Ribeiro cloud-initramfs-tools (Ubuntu Jammy): status New Triaged
2024-01-17 13:47:37 Athos Ribeiro tags server-todo
2024-01-24 16:29:57 Robie Basak cloud-initramfs-tools (Ubuntu): status Triaged Incomplete
2024-01-24 16:29:59 Robie Basak cloud-initramfs-tools (Ubuntu Jammy): status Triaged Incomplete
2024-01-24 16:30:01 Robie Basak bug added subscriber Robie Basak
2024-01-24 16:30:04 Robie Basak tags server-todo
2024-01-24 16:54:33 Adam Vodopjan cloud-initramfs-tools (Ubuntu): status Incomplete New
2024-01-24 16:54:38 Adam Vodopjan cloud-initramfs-tools (Ubuntu Jammy): status Incomplete New
2024-01-24 17:04:20 Robie Basak cloud-initramfs-tools (Ubuntu): importance Undecided Low
2024-01-24 17:04:23 Robie Basak cloud-initramfs-tools (Ubuntu Jammy): importance Undecided Low
2024-01-25 10:48:26 Paride Legovini cloud-initramfs-tools (Ubuntu): status New Triaged
2024-01-25 10:48:29 Paride Legovini cloud-initramfs-tools (Ubuntu Jammy): status New Triaged
2024-01-25 17:14:31 Launchpad Janitor merge proposal linked https://code.launchpad.net/~grozzly/cloud-initramfs-tools/+git/cloud-initramfs-tools/+merge/459458
2024-01-26 09:59:11 Paride Legovini cloud-initramfs-tools (Ubuntu): assignee Paride Legovini (paride)
2024-01-26 13:48:24 Launchpad Janitor cloud-initramfs-tools (Ubuntu): status Triaged Fix Released