Source: openvpn
Version: 2.6.3-2
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 openvpn installs some
units twice. dh_installsystemd will then install them to
/usr/lib/systemd/system and debian/openvpn.install will also install
them to /lib/systemd/system (which currently is redundant). Doing so is
a policy violation and openvpn will be RC buggy once I upload that
debhelper change. I'm attaching a patch for your convenience.

Helmut
diff -Nru openvpn-2.6.3/debian/changelog openvpn-2.6.3/debian/changelog
--- openvpn-2.6.3/debian/changelog      2023-05-20 17:43:32.000000000 +0200
+++ openvpn-2.6.3/debian/changelog      2023-10-16 21:17:18.000000000 +0200
@@ -1,3 +1,10 @@
+openvpn (2.6.3-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Do not install systemd units twice. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Mon, 16 Oct 2023 21:17:18 +0200
+
 openvpn (2.6.3-2) unstable; urgency=medium
 
   * Cherry-pick two bugfix commits from upstream
diff -Nru openvpn-2.6.3/debian/openvpn.install 
openvpn-2.6.3/debian/openvpn.install
--- openvpn-2.6.3/debian/openvpn.install        2023-05-20 17:43:32.000000000 
+0200
+++ openvpn-2.6.3/debian/openvpn.install        2023-10-16 21:17:12.000000000 
+0200
@@ -1,3 +1 @@
-debian/openvpn@.service /lib/systemd/system
-debian/openvpn.service /lib/systemd/system
 debian/openvpn-generator /lib/systemd/system-generators

Reply via email to