[Bug 2028564] Re: Using host e2fsprogs brings compatibility issues

Paul Mars 2028564 at bugs.launchpad.net
Tue Jun 18 12:23:20 UTC 2024


** Changed in: ubuntu-image
       Status: In Progress => Fix Committed

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

Title:
  Using host e2fsprogs brings compatibility issues

Status in Ubuntu Image:
  Fix Committed

Bug description:
  I am using ubuntu-image to build arm64 image for Tegra, the target
  images are for 22.04.

  I noticed that when booting my images cloud-init fails to resize the
  filesystem (I am using classic / pre-installed images).

  After investigating the failure, I found out that resize2fs fails
  because of

  /dev/sda2 has unsupported feature(s): FEATURE_C12
  e2fsck: Get a newer version of e2fsck!

  I remember that some of my previous images used to work, so looking
  further I realized that the images which don't work are built on a
  lunar host, and the images which work on a jammy host.

  The filesystem generated with lunar have the 'orphan_file' feature
  enable. However the images is a jammy image which has an older version
  of e2fsprogs/e2fsck which is why we get the error message above.

  See the output of dumpe2fs for the same image, generated either with
  Jammy or Lunar:

  
  Jammy: Filesystem features:      has_journal ext_attr resize_inode dir_index filetype extent 64bit flex_bg sparse_super large_file huge_file dir_nlink extra_isize metadata_csum

  Lunar: Filesystem features:      has_journal ext_attr resize_inode
  dir_index orphan_file filetype extent 64bit flex_bg sparse_super
  large_file huge_file dir_nlink extra_isize metadata_csum

  I think we want to make sure that ubuntu-image generates the
  filesystem with flags/features which are compatible with the target
  release of Ubuntu.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-image/+bug/2028564/+subscriptions




More information about the foundations-bugs mailing list