[Touch-packages] [Bug 2054925] Re: Debootstrap fails for Noble with base-files 13ubuntu7

2024-02-29 Thread Paul Mars
Building an noble image with ubuntu-image, using debootstrap
1.0.126+nmu1ubuntu0.7, worked (on a amd64 Jammy).

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

Title:
  Debootstrap fails for Noble with base-files 13ubuntu7

Status in base-files package in Ubuntu:
  Won't Fix
Status in debootstrap package in Ubuntu:
  Fix Released
Status in debootstrap source package in Focal:
  In Progress
Status in debootstrap source package in Jammy:
  Fix Committed
Status in base-files source package in Mantic:
  New
Status in debootstrap source package in Mantic:
  Fix Released

Bug description:
  [Impact]
  The last couple of days, I have been unable to run a successful debootstrap 
for Noble Numbat.

  Apparently this is caused by the addition of symlinks (/bin, /lib,
  /lib64 and /sbin) in base-files 13ubuntu7. According to
  debootstrap.log, it fails to extract said symlinks because they
  already exist at that point.

  This can be reproduced on build hosts running Jammy Jellyfish against
  any up-to-date Ubuntu public archive mirror as of today.

  # lsb_release -a
  No LSB modules are available.
  Distributor ID:   Ubuntu
  Description:  Ubuntu 22.04.4 LTS
  Release:  22.04
  Codename: jammy

  # apt-cache policy debootstrap
  debootstrap:
    Installed: 1.0.126+nmu1ubuntu0.5
    Candidate: 1.0.126+nmu1ubuntu0.5
    Version table:
   *** 1.0.126+nmu1ubuntu0.5 500
  500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
  500 http://archive.ubuntu.com/ubuntu jammy-updates/main i386 Packages
  100 /var/lib/dpkg/status
   1.0.126+nmu1 500
  500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages
  500 http://archive.ubuntu.com/ubuntu jammy/main i386 Packages

  Attached shell output of two runs of debootstrap. First run uses
  mirror archive.ubuntu.com (which as of this report serves base-files
  version 13ubuntu7), and second run uses a local custom mirror (which
  serves base-files 13ubuntu6). First run fails, second run succeeds.

  [Test plan]
  Successfully for each of focal, jammy, mantic, noble
  - debootstrap
  - mk-sbuild
  - pbuilder-dist $release create
  - ubuntu-image, if we can pull debootstrap from proposed for this

  as well as

  - debootstrap noble --merged-usr

  [Where problems could occur]
  We do not anticipate any regressions as we replace the previous *) case for 
usrmerge for post-hirsute with a new jammy|kinetic|lunar|mantic one, and the 
new solution will only impact noble and onward.

  That said, this is a different approach than mantic and newer take,
  and a different approach than Debian takes, where they moved to
  merging post-extraction, even in stable releases.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/2054925/+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


[Touch-packages] [Bug 2025339] Re: FDE image fails to run e2fsck

2023-10-30 Thread Paul Mars
** Also affects: e2fsprogs (Ubuntu Lunar)
   Importance: Undecided
   Status: New

** Changed in: e2fsprogs (Ubuntu Lunar)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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:
  Confirmed

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/e2fsprogs/+bug/2025339/+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


[Touch-packages] [Bug 2025339] Re: FDE image fails to run e2fsck

2023-10-30 Thread Paul Mars
** Description changed:

  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.

** Description changed:

  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
+ $ 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:
  
- Move this .img file to a jammy based machine, and try using resize2fs on it:
- 
- 
- > resize2fs -d -f -M test.img
+ $ 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] 
+ [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.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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:
  Confirmed

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 ba

[Touch-packages] [Bug 2025339] Re: FDE image fails to run e2fsck

2023-11-02 Thread Paul Mars
** Description changed:

  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.
+ 
+ [Fix]
+ 
+ This SRU is disabling 2 features (orphan_file and metadata_csum_seed)
+ from ext4 to generate filesystems compatible with older series. Fixes
+ come from debian (fixing #1031622, #1030939). This is only disabling the
+ feature by default. One can still generate a filesystem with this
+ feature by explicitly listing them when invoking mkfs.ext4.
+ 
  
  [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.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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.

  [Fix]

  This SRU is disabling 2 features (orphan_file and metadata_csum_seed)
  from ext4 to generate filesystems compatible with older series. Fixes
  come from debian (fixing #1031622, #1030939). This is only disabling
  the feature by default. One can still generate a filesystem with this
  feature by explicitly listing them when invoking mkfs.ext4.

  
  [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


-- 
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


[Touch-packages] [Bug 2025339] Re: FDE image fails to run e2fsck

2023-11-03 Thread Paul Mars
** No longer affects: e2fsprogs (Ubuntu Jammy)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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 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.

  [Fix]

  This SRU is disabling 2 features (orphan_file and metadata_csum_seed)
  from ext4 to generate filesystems compatible with older series. Fixes
  come from debian (fixing #1031622, #1030939). This is only disabling
  the feature by default. One can still generate a filesystem with this
  feature by explicitly listing them when invoking mkfs.ext4.

  
  [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


-- 
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


[Touch-packages] [Bug 2025339] Re: FDE image fails to run e2fsck

2023-11-06 Thread Paul Mars
** Tags added: foundations-todo

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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 Lunar:
  In Progress
Status in e2fsprogs package in Debian:
  Fix Released

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.

  [Fix]

  This SRU is disabling 2 features (orphan_file and metadata_csum_seed)
  from ext4 to generate filesystems compatible with older series. Fixes
  come from debian (fixing #1031622, #1030939). This is only disabling
  the feature by default. One can still generate a filesystem with this
  feature by explicitly listing them when invoking mkfs.ext4.

  
  [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


-- 
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


[Touch-packages] [Bug 2025339] Re: FDE image fails to run e2fsck

2023-11-15 Thread Paul Mars
** Description changed:

  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.
  
  [Fix]
  
  This SRU is disabling 2 features (orphan_file and metadata_csum_seed)
  from ext4 to generate filesystems compatible with older series. Fixes
  come from debian (fixing #1031622, #1030939). This is only disabling the
  feature by default. One can still generate a filesystem with this
- feature by explicitly listing them when invoking mkfs.ext4.
+ feature by explicitly listing them when invoking mkfs.ext4. The decision
+ to disable this feature by default has already been taken for mantic and
+ is not planned to be revised soon as far as I know. So this fix is also
+ useful to implement a common behavior between the 2 series (and
+ following ones).
  
+ This fix is also motivated by the fact that snapd is using mkfs.ext4
+ without any options. The possibility to give options for mkfs.ext4 was
+ removed in snapd at some point for good reasons and it would be more
+ complex to handle a special case only for lunar in snapd than disabling
+ this feature by default in e2fsprogs I think.
  
  [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.
+ 
+ It should be noted that before lunar, users did not have access to this
+ feature and since mantic it is disabled by default, so I suspect the
+ population expecting this feature to be enabled by default is rather
+ small.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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 Lunar:
  In Progress
Status in e2fsprogs package in Debian:
  Fix Released

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.

  [Fix]

  This SRU is disabling 2 features (orphan_file and metadata_csum_seed)
  from ext4 to generate filesystems compatible with older series. Fixes
  come from debian (fixing #1031622, #1030939). This is only disabling
  the feature by default. One can still generate a filesystem with this
  feature by explicitly listing them when invoking mkfs.ext4. The
  decision to disable this feature by default has already been taken for
  mantic and is not planned to be revised soon as far as I know. So this
  fix is also useful to implement a common behavior between the 2 series
  (and following ones).

  This fix is also motivated by the fact that snapd is using mkfs.ext4
  without any options. The possibility to give options for mkfs.ext4 was
  removed in snapd at some point for good reasons and it would be more
  complex to handle a special case only for lunar in snapd than
  disabling this feature by default in e2fsprogs I think.

  [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:

[Touch-packages] [Bug 2025339] Re: FDE image fails to run e2fsck

2023-11-15 Thread Paul Mars
SRU abandoned to not change the expected default behavior in lunar.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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 Lunar:
  In Progress
Status in e2fsprogs package in Debian:
  Fix Released

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.

  [Fix]

  This SRU is disabling 2 features (orphan_file and metadata_csum_seed)
  from ext4 to generate filesystems compatible with older series. Fixes
  come from debian (fixing #1031622, #1030939). This is only disabling
  the feature by default. One can still generate a filesystem with this
  feature by explicitly listing them when invoking mkfs.ext4. The
  decision to disable this feature by default has already been taken for
  mantic and is not planned to be revised soon as far as I know. So this
  fix is also useful to implement a common behavior between the 2 series
  (and following ones).

  This fix is also motivated by the fact that snapd is using mkfs.ext4
  without any options. The possibility to give options for mkfs.ext4 was
  removed in snapd at some point for good reasons and it would be more
  complex to handle a special case only for lunar in snapd than
  disabling this feature by default in e2fsprogs I think.

  [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.

  It should be noted that before lunar, users did not have access to
  this feature and since mantic it is disabled by default, so I suspect
  the population expecting this feature to be enabled by default is
  rather small.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/e2fsprogs/+bug/2025339/+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