Source: ppc64-diag Version: 2.7.9-1 Severity: serious Tags: patch sid trixie User: helm...@debian.org Usertags: dep17m2
Hi, your package installs files in /lib: lib/systemd/system/opal_errd.service lib/systemd/system/rtas_errd.service Starting with trixie, installing files in those aliased locations is no longer allowed and considered an RC bug. The goal of this move is eliminating bugs arising from aliasing, such as file loss during package upgrades. The attached patch should address the above issues by removing a Debian specific patch which is no longer applicable. For additional information refer to https://wiki.debian.org/UsrMerge and https://subdivi.de/~helmut/dep17.html.
diff -Nru ppc64-diag-2.7.9/debian/changelog ppc64-diag-2.7.9/debian/changelog --- ppc64-diag-2.7.9/debian/changelog 2023-01-10 16:50:25.000000000 +0100 +++ ppc64-diag-2.7.9/debian/changelog 2024-11-17 20:41:14.000000000 +0100 @@ -1,3 +1,10 @@ +ppc64-diag (2.7.9-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Move aliased files from / to /usr (DEP17). (Closes: #-1) + + -- Michael Biebl <bi...@debian.org> Sun, 17 Nov 2024 20:41:14 +0100 + ppc64-diag (2.7.9-1) unstable; urgency=medium * Update to new upstream version 2.7.9. diff -Nru ppc64-diag-2.7.9/debian/patches/0002-Fix-path-for-systemd-system-services.patch ppc64-diag-2.7.9/debian/patches/0002-Fix-path-for-systemd-system-services.patch --- ppc64-diag-2.7.9/debian/patches/0002-Fix-path-for-systemd-system-services.patch 2023-01-10 16:50:25.000000000 +0100 +++ ppc64-diag-2.7.9/debian/patches/0002-Fix-path-for-systemd-system-services.patch 1970-01-01 01:00:00.000000000 +0100 @@ -1,37 +0,0 @@ -From: Frederic Bonnard <fre...@linux.vnet.ibm.com> -Date: Thu, 22 Aug 2019 17:34:32 +0200 -Subject: Fix path for systemd system services - -The location used is the one used on Fedora/Redhat and it is not the same on -Debian/Ubuntu -https://bugs.launchpad.net/bugs/1505088 ---- - scripts/Makefile.am | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -diff --git a/scripts/Makefile.am b/scripts/Makefile.am -index 9c7e7ea..8a04d76 100644 ---- a/scripts/Makefile.am -+++ b/scripts/Makefile.am -@@ -20,8 +20,8 @@ install-exec-hook-scripts: - # install -d --mode=755 $(DESTDIR)/usr/libexec/ppc64-diag/ - # install -D --mode=755 $(INIT_FILES) $(DESTDIR)/usr/libexec/ppc64-diag/ - install -D --mode=755 $(UTIL_FILES) $(DESTDIR)/usr/sbin/ -- install -d --mode=755 $(DESTDIR)/usr/lib/systemd/system/ -- install -D --mode=644 $(SERVICE_SCRIPT) $(DESTDIR)/usr/lib/systemd/system/ -+ install -d --mode=755 $(DESTDIR)/lib/systemd/system/ -+ install -D --mode=644 $(SERVICE_SCRIPT) $(DESTDIR)/lib/systemd/system/ - - uninstall-hook-scripts: - rm -f $(DESTDIR)/etc/ppc64-diag/ppc64_diag_setup -@@ -33,8 +33,8 @@ uninstall-hook-scripts: - rm -f $(DESTDIR)/etc/ppc64-diag/diag_nvme.config - # rm -f $(DESTDIR)/usr/libexec/ppc64-diag/rtas_errd - # rm -f $(DESTDIR)/usr/libexec/ppc64-diag/opal_errd -- rm -f $(DESTDIR)/usr/lib/systemd/system/rtas_errd.service -- rm -f $(DESTDIR)/usr/lib/systemd/system/opal_errd.service -+ rm -f $(DESTDIR)/lib/systemd/system/rtas_errd.service -+ rm -f $(DESTDIR)/lib/systemd/system/opal_errd.service - - INSTALL_EXEC_HOOKS += install-exec-hook-scripts - UNINSTALL_HOOKS += uninstall-hook-scripts diff -Nru ppc64-diag-2.7.9/debian/patches/series ppc64-diag-2.7.9/debian/patches/series --- ppc64-diag-2.7.9/debian/patches/series 2023-01-10 16:50:25.000000000 +0100 +++ ppc64-diag-2.7.9/debian/patches/series 2024-11-17 20:41:08.000000000 +0100 @@ -1,4 +1,3 @@ 0001-Don-t-install-upstream-sysvinit-scripts-for-now.patch -0002-Fix-path-for-systemd-system-services.patch 0003-Improve-unit-files.patch 0004-Fix-opal-dump-parse-manpage.patch