Merge ~upils/ubuntu/+source/e2fsprogs:disable-orphan-file-feature into ubuntu/+source/e2fsprogs:ubuntu/lunar-devel

Proposed by Paul Mars
Status: Rejected
Rejected by: Robie Basak
Proposed branch: ~upils/ubuntu/+source/e2fsprogs:disable-orphan-file-feature
Merge into: ubuntu/+source/e2fsprogs:ubuntu/lunar-devel
Diff against target: 42 lines (+12/-3)
2 files modified
debian/changelog (+7/-0)
debian/patches/default-no-metadata_csum_seed.patch (+5/-3)
Reviewer Review Type Date Requested Status
Nick Rosbrook (community) Needs Fixing
Bryce Harrington (community) Needs Information
git-ubuntu import Pending
Review via email: mp+454796@code.launchpad.net

This proposal supersedes a proposal from 2023-10-30.

Commit message

Cherry-picked existing mantic fix d23608d502300e36743905e762e4ce2df44202d7

Fix LP: #2025339 and LP: #2028564

To post a comment you must log in.
Revision history for this message
Steve Langasek (vorlon) wrote : Posted in a previous version of this proposal

please rebase, there are merge conflicts

Revision history for this message
Paul Mars (upils) wrote :

I had selected the wrong target (ubuntu/devel instead of ubuntu/lunar-devel). This is now fixed.

Revision history for this message
Bryce Harrington (bryce) wrote :

The diff for this disables not just orphan_file but also metadata_csum_seed. Please mention the latter in the changelog as well. It appears this follows what Debian is doing as a fix to Debb #1030939.

https://bugs.launchpad.net/ubuntu/+source/e2fsprogs/+bug/2025339/comments/7

I'd suggest either discussing that bug+fix in LP: #2025339. You could add a [Fix] section to the bug's SRU template to identify the two fixes, that they came from debian, and give links to the corresponding bugs. Alternatively, file a separate LP SRU bug for metadata_csum_seed and link that to the debian bug.

Btw do you also have an MP for the corresponding jammy branch for this SRU? We should probably handle sponsorship of both together at the same time.

review: Needs Information
Revision history for this message
Paul Mars (upils) wrote (last edit ):

Thanks for the guidance. I did not submit a MP to jammy because the version 1.47 of e2fsprogs was not backported to jammy. In the previous version these features were not enabled by default, so I understand that there is nothing to fix on jammy.

I am fine with having both fixes in the same SRU since this is fixing the same global issue and was also fixed together in other series.

I edited the SRU, let me know if this is what you expected.

Revision history for this message
Nick Rosbrook (enr0n) wrote :

I left a comment on the diff.

review: Needs Fixing
816680a... by Paul Mars

Also disable orphan_file in the patch to let lunar based machine generate FS valid for jammy and older

f017ac7... by Paul Mars

update changelog

Revision history for this message
Nick Rosbrook (enr0n) wrote :

One last thing I noticed -- the only change is the orphan_file option being dropped. Bryce's original comment about metadata_csum_seed was based on the source diff (rather than the diff to the existing patch), so this was not clear before.

So you actually should not mention metadata_csum_seed in the changelog. Once that's fixed, I will be happy to sponsor this.

review: Needs Fixing
Revision history for this message
Paul Mars (upils) wrote :

As explained in [1] this MP is rejected because the bug won't be fixed on Lunar.

racb can you reject the MP? It looks like I cannot do it myself.

[1] https://bugs.launchpad.net/ubuntu/+source/e2fsprogs/+bug/2025339/comments/13

Unmerged commits

f017ac7... by Paul Mars

update changelog

816680a... by Paul Mars

Also disable orphan_file in the patch to let lunar based machine generate FS valid for jammy and older

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
diff --git a/debian/changelog b/debian/changelog
index 90a8c6b..84f9380 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
1e2fsprogs (1.47.0-1ubuntu1.1) lunar; urgency=medium
2
3 * Disable orphan_file feature so that filesystems created on
4 lunar can be used on jammy (LP: #2025339)
5
6 -- Paul Mars <paul.mars@canonical.com> Fri, 03 Nov 2023 16:35:52 +0100
7
1e2fsprogs (1.47.0-1ubuntu1) lunar; urgency=low8e2fsprogs (1.47.0-1ubuntu1) lunar; urgency=low
29
3 * Merge from Debian unstable. Remaining changes:10 * Merge from Debian unstable. Remaining changes:
diff --git a/debian/patches/default-no-metadata_csum_seed.patch b/debian/patches/default-no-metadata_csum_seed.patch
index 69d243d..68f341e 100644
--- a/debian/patches/default-no-metadata_csum_seed.patch
+++ b/debian/patches/default-no-metadata_csum_seed.patch
@@ -1,9 +1,11 @@
1Description: Do not set metadata_csum_seed1Description: Do not set metadata_csum_seed nor orphan_file
2 Our grub doesn ot handle it yet.2 Our grub does not handle it yet.
3Author: Julian Andres Klode <juliank@ubuntu.com>3Author: Julian Andres Klode <juliank@ubuntu.com>
4Origin: vendor4Origin: vendor
5Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=10309395Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1030939
6Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/e2fsprogs/+bug/2025339
6Forwarded: not-needed7Forwarded: not-needed
8Last-Update: 2023-11-03
7--- a/misc/mke2fs.conf.in9--- a/misc/mke2fs.conf.in
8+++ b/misc/mke2fs.conf.in10+++ b/misc/mke2fs.conf.in
9@@ -11,7 +11,7 @@11@@ -11,7 +11,7 @@
@@ -11,7 +13,7 @@ Forwarded: not-needed
11 }13 }
12 ext4 = {14 ext4 = {
13- features = has_journal,extent,huge_file,flex_bg,metadata_csum,metadata_csum_seed,64bit,dir_nlink,extra_isize,orphan_file15- features = has_journal,extent,huge_file,flex_bg,metadata_csum,metadata_csum_seed,64bit,dir_nlink,extra_isize,orphan_file
14+ features = has_journal,extent,huge_file,flex_bg,metadata_csum,64bit,dir_nlink,extra_isize,orphan_file16+ features = has_journal,extent,huge_file,flex_bg,metadata_csum,64bit,dir_nlink,extra_isize
15 }17 }
16 small = {18 small = {
17 inode_ratio = 409619 inode_ratio = 4096

Subscribers

People subscribed via source and target branches