Your message dated Wed, 04 Dec 2024 05:34:15 +0000
with message-id <[email protected]>
and subject line Bug#1088838: fixed in e2fsprogs 1.47.2~rc1-2
has caused the Debian Bug report #1088838,
regarding fuse2fs: ineffective Replaces due to /usr-move (DEP17 P1)
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1088838: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1088838
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: fuse2fs
Version: 1.47.2~rc1-1
Severity: serious
Tags: patch
Control: affects -1 + fuseext2
Control: tags 1078693 + patch
Hi Ted,
I see that you are restructuring e2fsprogs and are taking over fuseext2
from uml. That's a good thing, but it unfortunately comes with /usr-move
implications attached. fuseext2 used to install stuff in /sbin and
fuse2fs now installs it to /usr/sbin as is expected due to DEP17. That
situation triggers the DEP17 P1 file loss situation and is thus dubbed
"ineffective Replaces".
I have prepared a patch adding protective diversions. Unlike libext2fs2,
I am proposing a slightly weaker form here, because I expect these
drivers to not be as critical as the library. These protective
diversions only exist from preinst to postinst, so they cover all but
very unusual scenarios. On the flip side, janitor.debian.net can propose
a MR to get rid of this mitigation after trixie if you like.
As you look into patches, can I also remind you about #1078693? I only
notice now that the patch tag was missing there.
Helmut
diff --minimal -Nru e2fsprogs-1.47.2~rc1/debian/changelog
e2fsprogs-1.47.2~rc1/debian/changelog
--- e2fsprogs-1.47.2~rc1/debian/changelog 2024-11-29 05:35:35.000000000
+0100
+++ e2fsprogs-1.47.2~rc1/debian/changelog 2024-12-01 21:43:51.000000000
+0100
@@ -1,3 +1,11 @@
+e2fsprogs (1.47.2~rc1-1.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix ineffective replaces fuse2fs for fuseext2 due to /usr-move (DEP17 P1
+ M8, Closes: #-1)
+
+ -- Helmut Grohne <[email protected]> Sun, 01 Dec 2024 21:43:51 +0100
+
e2fsprogs (1.47.2~rc1-1) unstable; urgency=medium
* New upstream version
diff --minimal -Nru e2fsprogs-1.47.2~rc1/debian/fuse2fs.postinst
e2fsprogs-1.47.2~rc1/debian/fuse2fs.postinst
--- e2fsprogs-1.47.2~rc1/debian/fuse2fs.postinst 1970-01-01
01:00:00.000000000 +0100
+++ e2fsprogs-1.47.2~rc1/debian/fuse2fs.postinst 2024-12-01
21:40:57.000000000 +0100
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+set -e
+
+# begin-remove-after: released:trixie
+if test "$1" = configure && dpkg --compare-versions "$2" lt 1.47.2~rc1-1~; then
+ # DEP17 P1 mitigation.
+ for cmd in /sbin/mount.fuse-ext2 /sbin/mount.fuseext2; do
+ dpkg-divert --package fuse2fs --no-rename --divert
"$cmd.usr-is-merged" --remove "$cmd"
+ done
+fi
+# end-remove-after: released:trixie
+
+#DEBHELPER#
diff --minimal -Nru e2fsprogs-1.47.2~rc1/debian/fuse2fs.postrm
e2fsprogs-1.47.2~rc1/debian/fuse2fs.postrm
--- e2fsprogs-1.47.2~rc1/debian/fuse2fs.postrm 1970-01-01 01:00:00.000000000
+0100
+++ e2fsprogs-1.47.2~rc1/debian/fuse2fs.postrm 2024-12-01 21:43:43.000000000
+0100
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+set -e
+
+# begin-remove-after: released:trixie
+if test "$1" = remove || test "$1" = upgrade -o "$1" = failed-upgrade - o "$1"
= abort-install -o "$1" = abort-upgrade && dpkg --compare-versions "$2" lt
1.47.2~rc1-1~; then
+ # DEP17 P1 mitigation.
+ for cmd in /sbin/mount.fuse-ext2 /sbin/mount.fuseext2; do
+ dpkg-divert --package fuse2fs --no-rename --divert
"$cmd.usr-is-merged" --remove "$cmd"
+ done
+fi
+# end-remove-after: released:trixie
+
+#DEBHELPER#
diff --minimal -Nru e2fsprogs-1.47.2~rc1/debian/fuse2fs.preinst
e2fsprogs-1.47.2~rc1/debian/fuse2fs.preinst
--- e2fsprogs-1.47.2~rc1/debian/fuse2fs.preinst 1970-01-01 01:00:00.000000000
+0100
+++ e2fsprogs-1.47.2~rc1/debian/fuse2fs.preinst 2024-12-01 21:35:38.000000000
+0100
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+set -e
+
+# begin-remove-after: released:trixie
+if test "$1" = install -o "$1" = upgrade && dpkg --compare-versions "$2" lt
1.47.2~rc1-1~; then
+ # DEP17 P1 mitigation.
+ for cmd in /sbin/mount.fuse-ext2 /sbin/mount.fuseext2; do
+ dpkg-divert --package fuse2fs --no-rename --divert
"$cmd.usr-is-merged" --add "$cmd"
+ done
+fi
+# end-remove-after: released:trixie
+
+#DEBHELPER#
--- End Message ---
--- Begin Message ---
Source: e2fsprogs
Source-Version: 1.47.2~rc1-2
Done: Theodore Y. Ts'o <[email protected]>
We believe that the bug you reported is fixed in the latest version of
e2fsprogs, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Theodore Y. Ts'o <[email protected]> (supplier of updated e2fsprogs package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Tue, 03 Dec 2024 23:40:01 -0500
Source: e2fsprogs
Architecture: source
Version: 1.47.2~rc1-2
Distribution: unstable
Urgency: medium
Maintainer: Theodore Y. Ts'o <[email protected]>
Changed-By: Theodore Y. Ts'o <[email protected]>
Closes: 1078693 1088838
Changes:
e2fsprogs (1.47.2~rc1-2) unstable; urgency=medium
.
* Fix fuseext2 transition to account for /usr-move (Closes: #1088838)
* Fix orphan_file support on big endian systems.
* Mke2fs will allow "-r 1" since fsarchiver uses it rather pointlessly
* Allow building e2fsprogs without libarchive-dev installed to make life
easier for bootstrapping for new Debian ports (Closes: #1078693)
Checksums-Sha1:
720389c94894ed022c70c165eec6cb6137c73c81 3075 e2fsprogs_1.47.2~rc1-2.dsc
2dc1dab0ae3ba7bdb5f3c369313d5a8eb489f33b 95620
e2fsprogs_1.47.2~rc1-2.debian.tar.xz
Checksums-Sha256:
fb57d921390560a0052c87caed8e1f5f66c42164862e588bc6c8263a85704ef7 3075
e2fsprogs_1.47.2~rc1-2.dsc
bad108df28c67ae4abb82a6e57dbc47fec7bbed68621a898c9b6e44ceb130540 95620
e2fsprogs_1.47.2~rc1-2.debian.tar.xz
Files:
12a2b1e79aa903d91f5e9173e497c858 3075 admin required e2fsprogs_1.47.2~rc1-2.dsc
fc7a0d01dbce0625dec737c7917b7f55 95620 admin required
e2fsprogs_1.47.2~rc1-2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCAAdFiEEK2m5VNv+CHkogTfJ8vlZVpUNgaMFAmdP53cACgkQ8vlZVpUN
gaPEDAgAhCM/zspg10O3o+nK4hER9m87RGdrfxt12bSD+wyH64HEVxyCgJ+whBYw
dGdpdOT7XMJnvaPKbgeIX/A+LPtgG69XPkZTzyDFlW1wKV3ySMPp/9ObYRuMe3G5
OO2ILLzmivaDPx7gVrQ8ezOEUp5pTVSoqYPcUrutaiEUh6XRPWaIhxqkndKHNrbl
4T1d9naj4iv9UM2n5vhe2m1LSw0CoG5W6ZPQ8r5+T2F3G3H23UTI/IbWwU1rOPpP
KKUuXv+7tbEfPYGEAs3eaZMtHHuNTxbNmk3z4me3+ijxs2srb04jbpDfWuA8brN5
1s35cqRGc4YUhr3OFXUaQQsI4hlbUQ==
=D5+x
-----END PGP SIGNATURE-----
pgpqfE3qajvsA.pgp
Description: PGP signature
--- End Message ---