[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1054082: guacd: installs guacd.service twice when dh_installsystemd installs units to /usr



Source: guacamole-server
Version: 1.3.0-1.1
Tags: patch
User: helmutg@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, guacd will contain
two copies of guacd.service. dh_installsystemd will then install it to
/usr/lib/systemd/systemd while debian/guacd.install also installs it to
/lib/systemd/system. Doing so is a policy violation, so this bug will
become release-critical once I upload debhelper. I'm attaching a patch
for your convenience.

Helmut
diff -Nru guacamole-server-1.3.0/debian/changelog guacamole-server-1.3.0/debian/changelog
--- guacamole-server-1.3.0/debian/changelog	2022-02-07 19:02:10.000000000 +0100
+++ guacamole-server-1.3.0/debian/changelog	2023-10-16 21:40:47.000000000 +0200
@@ -1,3 +1,11 @@
+guacamole-server (1.3.0-1.2) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Install units only once when dh_installsystemd installs units to /usr.
+    (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Mon, 16 Oct 2023 21:40:47 +0200
+
 guacamole-server (1.3.0-1.1) unstable; urgency=medium
 
   * Non-maintainer upload
diff -Nru guacamole-server-1.3.0/debian/guacd.install guacamole-server-1.3.0/debian/guacd.install
--- guacamole-server-1.3.0/debian/guacd.install	2022-02-07 19:02:10.000000000 +0100
+++ guacamole-server-1.3.0/debian/guacd.install	2023-10-16 21:40:45.000000000 +0200
@@ -1,4 +1,3 @@
 bin/guacctl /usr/bin
 /usr/sbin/guacd
 /usr/share/man/man8/guacd.8
-debian/guacd.service /lib/systemd/system/

Reply to: