[Pkg-nagios-devel] Bug#1054186: icingadb: installs icingadb.service twice once dh_installsystemd installs to /usr

Helmut Grohne helmut at subdivi.de
Wed Oct 18 20:14:00 BST 2023


Source: icingadb
Version: 1.1.1-1
Tags: patch
User: helmutg at debian.org
Usertags: dep17m2

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

Helmut
-------------- next part --------------
diff -Nru icingadb-1.1.1/debian/changelog icingadb-1.1.1/debian/changelog
--- icingadb-1.1.1/debian/changelog	2023-08-09 15:11:20.000000000 +0200
+++ icingadb-1.1.1/debian/changelog	2023-10-18 21:04:27.000000000 +0200
@@ -1,3 +1,10 @@
+icingadb (1.1.1-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Install systemd unit only once. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Wed, 18 Oct 2023 21:04:27 +0200
+
 icingadb (1.1.1-1) unstable; urgency=medium
 
   * New upstream release.
diff -Nru icingadb-1.1.1/debian/install icingadb-1.1.1/debian/install
--- icingadb-1.1.1/debian/install	2022-11-09 16:07:33.000000000 +0100
+++ icingadb-1.1.1/debian/install	2023-10-18 21:04:25.000000000 +0200
@@ -1,4 +1,3 @@
 #!/usr/bin/dh-exec
 config.example.yml   => etc/icingadb/config.yml
-debian/icingadb.service lib/systemd/system
 schema                  usr/share/icingadb


More information about the Pkg-nagios-devel mailing list