Your message dated Mon, 10 Jun 2024 18:04:23 +0000
with message-id <e1sgjnx-000u8r...@fasolo.debian.org>
and subject line Bug#1070327: fixed in audit 1:3.1.2-3
has caused the Debian Bug report #1070327,
regarding libauparse0t64 fails piuparts: missing postrm for /usr-move 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 ow...@bugs.debian.org
immediately.)
--
1070327: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1070327
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: audit
Version: 1:3.1.2-2.1
Severity: serious
Justification: fails piuparts, blocks testing migration
Tags: patch
X-Debbugs-Cc: z...@debian.org
Hi,
I looked into why audit fails to migrate and noticed that it fails
piuparts as it leaves diversions behind after purge. The patch provided
by the /usr-move team failed to account for package removal and lacks
the postrm bit. I'm attaching a patch that fixes this problem. It also
removes the manual interpolation in favour of relying on dh_installdeb's
builtin interpolation. I'd appreciate a timely upload, because audit is
one of the last missing pieces moving forward with the /usr-move. Would
you mind a NMU?
Helmut
diff --minimal -Nru audit-3.1.2/debian/changelog audit-3.1.2/debian/changelog
--- audit-3.1.2/debian/changelog 2024-02-28 04:02:13.000000000 +0100
+++ audit-3.1.2/debian/changelog 2024-05-03 07:49:46.000000000 +0200
@@ -1,3 +1,10 @@
+audit (1:3.1.2-2.2) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix piuparts failure arising from /usr-move mitigation. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de> Fri, 03 May 2024 07:49:46 +0200
+
audit (1:3.1.2-2.1) unstable; urgency=medium
* Non-maintainer upload.
diff --minimal -Nru audit-3.1.2/debian/libauparse0t64.lintian-overrides
audit-3.1.2/debian/libauparse0t64.lintian-overrides
--- audit-3.1.2/debian/libauparse0t64.lintian-overrides 2024-02-28
03:58:37.000000000 +0100
+++ audit-3.1.2/debian/libauparse0t64.lintian-overrides 2024-05-03
07:49:46.000000000 +0200
@@ -1 +1,2 @@
libauparse0t64: package-name-doesnt-match-sonames libauparse0
+libauparse0t64: remove-of-unknown-diversion lib/* [postrm:*]
diff --minimal -Nru audit-3.1.2/debian/libauparse0t64.postrm
audit-3.1.2/debian/libauparse0t64.postrm
--- audit-3.1.2/debian/libauparse0t64.postrm 1970-01-01 01:00:00.000000000
+0100
+++ audit-3.1.2/debian/libauparse0t64.postrm 2024-05-03 07:49:40.000000000
+0200
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+set -e
+
+case $1 in
+ remove|disappear)
+ for file in libauparse.so.0 libauparse.so.0.0.0; do
+ dpkg-divert --package libauparse0t64 --no-rename \
+ --remove --divert \
+ "/lib/#DEB_HOST_MULTIARCH#/$file.usr-is-merged"
\
+ "/lib/#DEB_HOST_MULTIARCH#/$file"
+ done
+ ;;
+esac
+
+#DEBHELPER#
+
diff --minimal -Nru audit-3.1.2/debian/libauparse0t64.preinst
audit-3.1.2/debian/libauparse0t64.preinst
--- audit-3.1.2/debian/libauparse0t64.preinst 1970-01-01 01:00:00.000000000
+0100
+++ audit-3.1.2/debian/libauparse0t64.preinst 2024-05-03 07:49:46.000000000
+0200
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+set -e
+
+case $1 in
+ install)
+ for file in libauparse.so.0 libauparse.so.0.0.0; do
+ dpkg-divert --package libauparse0t64 --no-rename \
+ --add --divert \
+ "/lib/#DEB_HOST_MULTIARCH#/$file.usr-is-merged"
\
+ "/lib/#DEB_HOST_MULTIARCH#/$file"
+ done
+ ;;
+esac
+
+#DEBHELPER#
+
diff --minimal -Nru audit-3.1.2/debian/libauparse0t64.preinst.in
audit-3.1.2/debian/libauparse0t64.preinst.in
--- audit-3.1.2/debian/libauparse0t64.preinst.in 2024-02-28
04:02:11.000000000 +0100
+++ audit-3.1.2/debian/libauparse0t64.preinst.in 1970-01-01
01:00:00.000000000 +0100
@@ -1,17 +0,0 @@
-#!/bin/sh
-
-set -e
-
-case $1 in
- install)
- for file in libauparse.so.0 libauparse.so.0.0.0; do
- dpkg-divert --package libauparse0t64 --no-rename \
- --divert \
- /lib/#DEB_HOST_MULTIARCH#/$file.usr-is-merged \
- /lib/#DEB_HOST_MULTIARCH#/$file
- done
- ;;
-esac
-
-#DEBHELPER#
-
diff --minimal -Nru audit-3.1.2/debian/rules audit-3.1.2/debian/rules
--- audit-3.1.2/debian/rules 2024-02-28 04:02:11.000000000 +0100
+++ audit-3.1.2/debian/rules 2024-05-03 07:47:04.000000000 +0200
@@ -109,11 +109,6 @@
chgrp adm debian/auditd/var/log/audit
chmod -R o-rwx debian/auditd/etc/audit debian/audispd-plugins/etc/audit
-override_dh_installdeb:
- sed -e"s/#DEB_HOST_MULTIARCH#/$(DEB_HOST_MULTIARCH)/" \
- debian/libauparse0t64.preinst.in > debian/libauparse0t64.preinst
- dh_installdeb
-
get-orig-source:
-uscan --upstream-version 0
--- End Message ---
--- Begin Message ---
Source: audit
Source-Version: 1:3.1.2-3
Done: Laurent Bigonville <bi...@debian.org>
We believe that the bug you reported is fixed in the latest version of
audit, 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 1070...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Laurent Bigonville <bi...@debian.org> (supplier of updated audit 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 ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Mon, 10 Jun 2024 19:07:26 +0200
Source: audit
Architecture: source
Version: 1:3.1.2-3
Distribution: unstable
Urgency: medium
Maintainer: Laurent Bigonville <bi...@debian.org>
Changed-By: Laurent Bigonville <bi...@debian.org>
Closes: 1070327
Changes:
audit (1:3.1.2-3) unstable; urgency=medium
.
[ Helmut Grohne ]
* Fix piuparts failure arising from /usr-move mitigation. (Closes: #1070327)
Checksums-Sha1:
6b0f508524f8c937dd227cdc32badf95198ea002 2408 audit_3.1.2-3.dsc
7f2f8fd75e21ef03ccce8281290c805745fe4c3f 18688 audit_3.1.2-3.debian.tar.xz
beba2f18e3c1c59bf0013cdab7a62b6c43afa717 6980 audit_3.1.2-3_source.buildinfo
Checksums-Sha256:
a703b347521b05ba9983b5dd29202bd1403a2973eb8dea5338f83f1303ab0adf 2408
audit_3.1.2-3.dsc
934ae7953ecfd407e8d20a9af448f52cb4a828153098d3e962a00de0be0c9807 18688
audit_3.1.2-3.debian.tar.xz
110f158ce80a489fc5d7b3b5c91f262c3725a7f730eb1c7da6bd9b1e0c16978b 6980
audit_3.1.2-3_source.buildinfo
Files:
875454adbff49bbb46ef94ad9c6f0c75 2408 libs optional audit_3.1.2-3.dsc
a8406bcebf3aa13bacdf6e630b5c799f 18688 libs optional
audit_3.1.2-3.debian.tar.xz
9e6b2e4a20b0b66e54091b60858feeb8 6980 libs optional
audit_3.1.2-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQFFBAEBCAAvFiEEmRrdqQAhuF2x31DwH8WJHrqwQ9UFAmZnOjgRHGJpZ29uQGRl
Ymlhbi5vcmcACgkQH8WJHrqwQ9V9owf9H0izw08TJ78sbnIcAnKoJH3z9EK3V/ky
xk8RyX67Y4euoGEAc0tty7reCQHi3R4lFsCzSH4XY2O0sRVYNp7tYqOquj9d4N3m
6UDtbNFbw9THzX05811T1RmK2g+p6Spbol4zh0CiFda5Ze2fkp3Y3qksjtmAgipj
dntMqY2vhD8g9cllRLyZiUynojPZDlzLB/Sm3l6EwOvcdxn/fqww1aLsHyscvgWX
UbBqnl0Z8OFIVKLA+o16SPrB9+lABDim9YINH3Ide20ydLyVPbXyIGQzVBkqx+7P
14SCIgNyTrh6Hfw6zCVbhR/4V57jpYe41izmYBQv27H19C2f0uMcgQ==
=cfOr
-----END PGP SIGNATURE-----
pgpsHiAdDkcLl.pgp
Description: PGP signature
--- End Message ---