From b9c4125b9d36fff664ed384b578755373ce3047648d9fcc9dd3e9a39ad1a1ed3 Mon Sep 17 00:00:00 2001 From: Reinhard Max Date: Mon, 29 Jul 2019 08:10:52 +0000 Subject: [PATCH] - Clarify in the service file that the reload action doesn't work when dropping root privileges (boo#1142830). OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=141 --- openvpn.changes | 6 ++++++ openvpn.service | 1 + 2 files changed, 7 insertions(+) diff --git a/openvpn.changes b/openvpn.changes index 7d84e90..5b5423d 100644 --- a/openvpn.changes +++ b/openvpn.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jul 29 07:43:00 UTC 2019 - Reinhard Max + +- Clarify in the service file that the reload action doesn't work + when dropping root privileges (boo#1142830). + ------------------------------------------------------------------- Tue Jun 25 19:15:00 UTC 2019 - Michael Ströder diff --git a/openvpn.service b/openvpn.service index 8b94153..79951c1 100644 --- a/openvpn.service +++ b/openvpn.service @@ -8,6 +8,7 @@ Type=notify PrivateTmp=true PIDFile=/var/run/openvpn/%i.pid ExecStart=/usr/sbin/openvpn --daemon openvpn@%i --suppress-timestamps --writepid /var/run/openvpn/%i.pid --cd /etc/openvpn/ --config %i.conf +# boo#1142830: "reload" does not work if openvpn drops root privileges after startup. ExecReload=/sbin/killproc -p /var/run/openvpn/%i.pid -HUP /usr/sbin/openvpn [Install]