[pkg-go] Bug#1054185: goiardi: installs goiardi.service twice when dh_installsystemd installs to /usr

Helmut Grohne helmut at subdivi.de
Wed Oct 18 19:48:56 BST 2023


Source: goiardi
Version: 0.11.10-1
Tags: patch
User: helmutg at debian.org
Usertags: dep17m2

We want to change dh_installsystemd to install units to /usr to finalize
the /usr-merge transition via DEP17. When doing so, goiardi.service is
installed both to /usr/lib/systemd/system (via dh_installsystemd) and to
/lib/systemd/system (via dh_install). Doing so is a policy violation.
I'm attaching a patch for your convenience. When I upload debhelper,
this bug will become release-critical.

Helmut
-------------- next part --------------
diff -Nru goiardi-0.11.10/debian/changelog goiardi-0.11.10/debian/changelog
--- goiardi-0.11.10/debian/changelog	2019-11-06 15:41:53.000000000 +0100
+++ goiardi-0.11.10/debian/changelog	2023-10-18 20:29:51.000000000 +0200
@@ -1,3 +1,10 @@
+goiardi (0.11.10-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Install goiardi.service only once. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Wed, 18 Oct 2023 20:29:51 +0200
+
 goiardi (0.11.10-1) unstable; urgency=medium
 
   * New upstream release.
diff -Nru goiardi-0.11.10/debian/goiardi.install goiardi-0.11.10/debian/goiardi.install
--- goiardi-0.11.10/debian/goiardi.install	2019-11-06 14:54:04.000000000 +0100
+++ goiardi-0.11.10/debian/goiardi.install	2023-10-18 20:29:49.000000000 +0200
@@ -1,5 +1,4 @@
 debian/goiardi.conf etc/goiardi
-debian/goiardi.service lib/systemd/system
 sql-files usr/share/goiardi/sql-files
 scripts usr/share/goiardi/scripts
 usr/bin


More information about the Pkg-go-maintainers mailing list