[Bug 2025339] Re: FDE image fails to run e2fsck
Bryce Harrington
2025339 at bugs.launchpad.net
Tue Oct 31 17:52:12 UTC 2023
** Also affects: e2fsprogs (Debian) via
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1031622
Importance: Unknown
Status: Unknown
** Changed in: e2fsprogs (Ubuntu Lunar)
Status: Confirmed => In Progress
** Changed in: e2fsprogs (Ubuntu Lunar)
Assignee: (unassigned) => Paul Mars (upils)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to e2fsprogs in Ubuntu.
https://bugs.launchpad.net/bugs/2025339
Title:
FDE image fails to run e2fsck
Status in e2fsprogs package in Ubuntu:
Fix Released
Status in e2fsprogs source package in Jammy:
Confirmed
Status in e2fsprogs source package in Lunar:
In Progress
Status in e2fsprogs package in Debian:
Unknown
Bug description:
After installation of the FDE image, the system fails to boot due to
e2fsck failing with:
Jun 21 12:48:19 ubuntu systemd-fsck[268]: /dev/vda2 has unsupported
feature(s): FEATURE_C12
----
this means that Jammy fsck fails against mantic created ext4 which is
not great
Seems this is orphan_file feature / orphan_present
Also need to check if grub2 supports this as it is RO_INCOMPAT
feature.
[Impact]
See LP: #2028564. Generating a filesystem on lunar with e2fsprogs will
use the orphan_file feature. This will prevent a jammy (or older)
based OS from modifying this filesystem (in particular resize it at
first boot).
[ Test Plan ]
On lunar, generate a filesystem and check the orphan_file feature is
enabled:
$ dd if=/dev/zero of=test.img bs=100M count=1
$ mkfs.ext4 test.img
$ # Then check the orphan_file feature is enabled
$ dumpe2fs test.img | grep orphan
Move this .img file to a jammy based machine, and try using resize2fs
on it:
$ resize2fs -d -f -M test.img
resize2fs 1.46.5 (30-Dec-2021)
resize2fs: Filesystem has unsupported feature(s) (test.img)
[Where problems could occur]
Some users on Lunar may currently rely on this feature to be enabled
by default. This can still be enabled explicitly when calling
mkfs.ext4 but the default behavior will be changed.
The orphan_file feature aims at improving performances when dealing
with deleted files or directories. So if we disable this by default, I
think it should only impact performances of generated filesystems and
probably not break anything else.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/e2fsprogs/+bug/2025339/+subscriptions
More information about the foundations-bugs
mailing list