Source: redis
Version: 5:7.0.13-1
Tags: patch
User: helm...@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, redis installs some
units twice. In addition to dh_installsystemd installing them to
/usr/lib/systemd/system, it also installs them to /lib/systemd/system
via currently redundant lines in debian/*.install. Doing so will be a
policy violation, so when I upload that debhelper change, redis will
become RC buggy. I'm attaching a patch for your convenience.

Helmut
diff -Nru redis-7.0.13/debian/changelog redis-7.0.13/debian/changelog
--- redis-7.0.13/debian/changelog       2023-09-08 23:04:13.000000000 +0200
+++ redis-7.0.13/debian/changelog       2023-10-16 20:56:13.000000000 +0200
@@ -1,3 +1,10 @@
+redis (5:7.0.13-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Install systemd units only once. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Mon, 16 Oct 2023 20:56:13 +0200
+
 redis (5:7.0.13-1) unstable; urgency=high
 
   * New upstream security release:
diff -Nru redis-7.0.13/debian/redis-sentinel.install 
redis-7.0.13/debian/redis-sentinel.install
--- redis-7.0.13/debian/redis-sentinel.install  2023-09-08 23:04:13.000000000 
+0200
+++ redis-7.0.13/debian/redis-sentinel.install  2023-10-16 20:55:08.000000000 
+0200
@@ -1,2 +1 @@
-debian/redis-sentinel.service /lib/systemd/system
 sentinel.conf  /etc/redis
diff -Nru redis-7.0.13/debian/redis-server.install 
redis-7.0.13/debian/redis-server.install
--- redis-7.0.13/debian/redis-server.install    2023-09-08 23:04:13.000000000 
+0200
+++ redis-7.0.13/debian/redis-server.install    2023-10-16 20:56:11.000000000 
+0200
@@ -1,2 +1 @@
-debian/redis-server.service /lib/systemd/system
 redis.conf     /etc/redis

Reply via email to