Your message dated Sun, 10 Dec 2023 13:46:57 +0000
with message-id <[email protected]>
and subject line Bug#1056925: fixed in libxtrxll 0.0.1+git20201202.1b6eddf-1.1
has caused the Debian Bug report #1056925,
regarding libxtrxl0: Move files into /usr (incl. DEP17 P7 mitigation)
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.)


-- 
1056925: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1056925
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libxtrxl0
Version: 0.0.1+git20201202.1b6eddf-1
Severity: important
Tags: patch
User: [email protected]
Usertags: dep17p7
X-Debbugs-Cc: [email protected]

Dear Maintainer,

libxtrxl0 contains udev files which are installed to /lib; these files
need to be moved to /usr/lib as part of Debian's usr-merge effort.
Because your package is Multi-Arch: same, an unfortunate corner-case can
occur whereby shared files (such as the udev rules) may be erroneously
removed on upgrades (please see DEP17[1] P7: Shared multiarch file
loss).

You will find a patch attached to move the udev files, including the
mitigation for the file loss scenario.

Please consider applying this patch at your earliest convenience. This
bug will be upgraded to release critical soon, as it blocks the overall
usr-merge effort which is being undertaken for the trixie release.


Many thanks,
Chris


[1] https://wiki.debian.org/UsrMerge
diff -Nru libxtrxll-0.0.1+git20201202.1b6eddf/debian/changelog 
libxtrxll-0.0.1+git20201202.1b6eddf/debian/changelog
--- libxtrxll-0.0.1+git20201202.1b6eddf/debian/changelog        2022-11-09 
10:26:52.000000000 +0100
+++ libxtrxll-0.0.1+git20201202.1b6eddf/debian/changelog        2023-11-26 
20:43:51.000000000 +0100
@@ -1,3 +1,11 @@
+libxtrxll (0.0.1+git20201202.1b6eddf-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Move udev files from /lib to /usr/lib, including protective diversion
+    against Multi-Arch: same file loss scenario (DEP17 P7 M10). (Closes: #-1)
+
+ -- Chris Hofstaedtler <[email protected]>  Sun, 26 Nov 2023 20:43:51 +0100
+
 libxtrxll (0.0.1+git20201202.1b6eddf-1) unstable; urgency=low
 
   * Team upload.
diff -Nru 
libxtrxll-0.0.1+git20201202.1b6eddf/debian/libxtrxll0.lintian-overrides 
libxtrxll-0.0.1+git20201202.1b6eddf/debian/libxtrxll0.lintian-overrides
--- libxtrxll-0.0.1+git20201202.1b6eddf/debian/libxtrxll0.lintian-overrides     
1970-01-01 01:00:00.000000000 +0100
+++ libxtrxll-0.0.1+git20201202.1b6eddf/debian/libxtrxll0.lintian-overrides     
2023-11-26 20:43:34.000000000 +0100
@@ -0,0 +1,4 @@
+# begin-remove-after: released:forky
+# protective diversion for upgrades of files moved from / to /usr
+libxtrxll0: diversion-for-unknown-file lib/udev/rules.d/50-libxtrxll0.rules 
[preinst:*]
+# end-remove-after
diff -Nru libxtrxll-0.0.1+git20201202.1b6eddf/debian/libxtrxll0.postinst 
libxtrxll-0.0.1+git20201202.1b6eddf/debian/libxtrxll0.postinst
--- libxtrxll-0.0.1+git20201202.1b6eddf/debian/libxtrxll0.postinst      
1970-01-01 01:00:00.000000000 +0100
+++ libxtrxll-0.0.1+git20201202.1b6eddf/debian/libxtrxll0.postinst      
2023-11-26 20:43:34.000000000 +0100
@@ -0,0 +1,16 @@
+#! /bin/sh
+
+set -e
+
+# begin-remove-after: released:forky
+# protective diversion of files moved from / to /usr, to avoid file loss.
+# Only for upgrades.
+if [ "$1" = "configure" ]; then
+    # At this point, the package will have installed the same file in */usr*.
+    dpkg-divert --package usr-is-merged --no-rename \
+        --divert /lib/udev/rules.d/50-libxtrxll0.rules.usr-is-merged \
+        --remove /lib/udev/rules.d/50-libxtrxll0.rules
+fi
+# end-remove-after
+
+#DEBHELPER#
diff -Nru libxtrxll-0.0.1+git20201202.1b6eddf/debian/libxtrxll0.postrm 
libxtrxll-0.0.1+git20201202.1b6eddf/debian/libxtrxll0.postrm
--- libxtrxll-0.0.1+git20201202.1b6eddf/debian/libxtrxll0.postrm        
1970-01-01 01:00:00.000000000 +0100
+++ libxtrxll-0.0.1+git20201202.1b6eddf/debian/libxtrxll0.postrm        
2023-11-26 20:43:34.000000000 +0100
@@ -0,0 +1,16 @@
+#!/bin/sh
+set -e
+
+# begin-remove-after: released:forky
+# protective diversion of files moved from / to /usr, to avoid file loss.
+# Only for upgrades.
+if [ "$1" = "remove" ] && [ "$DPKG_MAINTSCRIPT_PACKAGE_REFCOUNT" = "1" ]; then
+    # Cleanup in case package is removed before upgrade is finished (postinst 
ran).
+    dpkg-divert --package usr-is-merged --no-rename \
+        --divert /lib/udev/rules.d/50-libxtrxll0.rules.usr-is-merged \
+        --remove /lib/udev/rules.d/50-libxtrxll0.rules
+fi
+# end-remove-after
+
+#DEBHELPER#
+
diff -Nru libxtrxll-0.0.1+git20201202.1b6eddf/debian/libxtrxll0.preinst 
libxtrxll-0.0.1+git20201202.1b6eddf/debian/libxtrxll0.preinst
--- libxtrxll-0.0.1+git20201202.1b6eddf/debian/libxtrxll0.preinst       
1970-01-01 01:00:00.000000000 +0100
+++ libxtrxll-0.0.1+git20201202.1b6eddf/debian/libxtrxll0.preinst       
2023-11-26 20:43:34.000000000 +0100
@@ -0,0 +1,15 @@
+#!/bin/sh
+set -e
+
+# begin-remove-after: released:forky
+# protective diversion of files moved from / to /usr, to avoid file loss.
+# Only for upgrades.
+if [ "$1" = "upgrade" ]; then
+    dpkg-divert --package usr-is-merged --no-rename \
+        --divert /lib/udev/rules.d/50-libxtrxll0.rules.usr-is-merged \
+        --add /lib/udev/rules.d/50-libxtrxll0.rules
+fi
+# end-remove-after
+
+#DEBHELPER#
+
diff -Nru libxtrxll-0.0.1+git20201202.1b6eddf/debian/rules 
libxtrxll-0.0.1+git20201202.1b6eddf/debian/rules
--- libxtrxll-0.0.1+git20201202.1b6eddf/debian/rules    2022-11-09 
10:26:52.000000000 +0100
+++ libxtrxll-0.0.1+git20201202.1b6eddf/debian/rules    2023-11-26 
20:43:51.000000000 +0100
@@ -14,6 +14,9 @@
 override_dh_installudev:
        cp mod_usb3380/udev/50-xtrx-usb3380.rules debian/libxtrxll0.udev
        dh_installudev --priority=50
+       # This should be harmless after dh_installudev changes its default 
install path.
+       set -e; if test -d debian/libxtrxll0/lib/udev/rules.d; then mv 
debian/libxtrxll0/lib/udev debian/libxtrxll0/usr/lib; fi
+       set -e; if test -d debian/libxtrxll0/lib; then rmdir 
debian/libxtrxll0/lib; fi
 
 override_dh_clean:
        rm -f debian/libxtrxll0.udev

--- End Message ---
--- Begin Message ---
Source: libxtrxll
Source-Version: 0.0.1+git20201202.1b6eddf-1.1
Done: Chris Hofstaedtler <[email protected]>

We believe that the bug you reported is fixed in the latest version of
libxtrxll, 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.
Chris Hofstaedtler <[email protected]> (supplier of updated libxtrxll 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: Sun, 26 Nov 2023 20:43:51 +0100
Source: libxtrxll
Architecture: source
Version: 0.0.1+git20201202.1b6eddf-1.1
Distribution: unstable
Urgency: medium
Maintainer: Sepi Gair <[email protected]>
Changed-By: Chris Hofstaedtler <[email protected]>
Closes: 1056925
Changes:
 libxtrxll (0.0.1+git20201202.1b6eddf-1.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Move udev files from /lib to /usr/lib, including protective diversion
     against Multi-Arch: same file loss scenario (DEP17 P7 M10).
     (Closes: #1056925).
Checksums-Sha1:
 8ffe69c8969a1be6c6475ea38a9d5c468825a006 2108 
libxtrxll_0.0.1+git20201202.1b6eddf-1.1.dsc
 c715618b0a4b1217a28c6a20121424847d1d21ae 3784 
libxtrxll_0.0.1+git20201202.1b6eddf-1.1.debian.tar.xz
 306773bf6b31b2008fae676b44627905aa002088 7441 
libxtrxll_0.0.1+git20201202.1b6eddf-1.1_arm64.buildinfo
Checksums-Sha256:
 14ae6aab7565290cd924bff33445ebd623a6205c69d5302b1d0c453a656049f6 2108 
libxtrxll_0.0.1+git20201202.1b6eddf-1.1.dsc
 4432b103db453fc6dd659f29e1bcdd4aef37176b505c6f122a7b3f30f9a39148 3784 
libxtrxll_0.0.1+git20201202.1b6eddf-1.1.debian.tar.xz
 7ff8c8df7a6beed69be0210ce414848fc96b7962ee2d6e113b7e6fc4ac6087e0 7441 
libxtrxll_0.0.1+git20201202.1b6eddf-1.1_arm64.buildinfo
Files:
 737945ed2a762e93ddc60c0f91c5e374 2108 libs optional 
libxtrxll_0.0.1+git20201202.1b6eddf-1.1.dsc
 2663a706f96b4eece7a7bb757bd20fe8 3784 libs optional 
libxtrxll_0.0.1+git20201202.1b6eddf-1.1.debian.tar.xz
 87a24f96683377beb2b83193bcaa3e68 7441 libs optional 
libxtrxll_0.0.1+git20201202.1b6eddf-1.1_arm64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEfRrP+tnggGycTNOSXBPW25MFLgMFAmVsfCgACgkQXBPW25MF
LgOLTg/9HdvFXUjG0cylx9d3480R245nA3MBmXkJ5zTDneQfHPvQJKt8+uaBceM+
irFB7n9NtF0BHfjeCMhv4/Qpv2/rt9fmKhgkztWSJ2V+fCP5PBXJzNeO1UYUZGXG
HPklIhbfPtXQmEsUHQWEJkRD3s0XhYt7t2YBNzTVFiDxwqKJPsnWCT3NBAsazifv
2xx9kTGfwQMTRjf7WqdW5NCqb2ZRkPsgJU9OsWrzTdoXvCGV6hXzwrrO0lhHjepH
rm4/6adQi3rAFP32wTOf2nCgab8BciqNG2Yglc4x/X9Ejqz+OURBuEt6b6h23Rsp
bjaO/+TApFqF53VxYZJfl9oI4GufwVEue3IBIVSx4kNOXfTCbryC0DaLKTIXA+2W
+PntR49UuPcLxzjJcwqEOjgwEjiJFjvfR0wmDYxlyoWQ622j/ZzIUfGRZqSXQxkf
Ecvccq0gyrJRV87VG93d0HcoqDIHqPmC+CGMl5QsYTMNL1XrGPXMHc6+KXYkZs4D
krXm/8mWhGL3cPghfbeKgwkFrBavazWantWt4INv3lYMlJYrCvRzw4KyRI3zZfDR
vE1yk3PuaZeIvb2kbsAgJ00SFODkaBtra/5Bcsc75zVZyXXTW5XrUCUvVjg1VSZC
4h/F4oPr5nQVh9GwlW8yl0vxmPBqiUAovDP1o/z++8zX0TfYG90=
=YuAJ
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to