Hello community, here is the log from the commit of package openvpn for openSUSE:Factory checked in at 2020-09-03 01:12:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/openvpn (Old) and /work/SRC/openSUSE:Factory/.openvpn.new.3399 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openvpn" Thu Sep 3 01:12:56 2020 rev:88 rq:830245 version:2.4.8 Changes: -------- --- /work/SRC/openSUSE:Factory/openvpn/openvpn.changes 2020-03-11 18:45:18.495375851 +0100 +++ /work/SRC/openSUSE:Factory/.openvpn.new.3399/openvpn.changes 2020-09-03 01:13:17.376451479 +0200 @@ -1,0 +2,18 @@ +Wed Aug 26 17:12:44 UTC 2020 - Franck Bui <[email protected]> + +- Modernize openvpn.service + * /var/run has been obsoleted since a long time. + * on reload, send HUP signal directly rather than relying on + killproc to look for the main process. + +------------------------------------------------------------------- +Wed Aug 26 17:00:43 UTC 2020 - Franck Bui <[email protected]> + +- Explicitly requires sysvinit-tools as some of the tools shipped by + this package are used in various places regardless of whether + openvpn is built for systemd or non systemd systems. + + For the context: sysvinit-tools was pulled in by systemd since 2014 + but it's no longer the case so better to be safe than sorry. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ openvpn.spec ++++++ --- /var/tmp/diff_new_pack.A3YPjT/_old 2020-09-03 01:13:19.864452394 +0200 +++ /var/tmp/diff_new_pack.A3YPjT/_new 2020-09-03 01:13:19.868452395 +0200 @@ -62,6 +62,7 @@ BuildRequires: xz Requires: iproute2 Requires: pkcs11-helper >= 1.11 +Requires: sysvinit-tools %if %{with_systemd} BuildRequires: pkgconfig(libsystemd) BuildRequires: pkgconfig(systemd) ++++++ openvpn.service ++++++ --- /var/tmp/diff_new_pack.A3YPjT/_old 2020-09-03 01:13:19.984452438 +0200 +++ /var/tmp/diff_new_pack.A3YPjT/_new 2020-09-03 01:13:19.984452438 +0200 @@ -6,10 +6,10 @@ [Service] 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 +PIDFile=/run/openvpn/%i.pid +ExecStart=/usr/sbin/openvpn --daemon openvpn@%i --suppress-timestamps --writepid /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 +ExecReload=/usr/bin/kill -HUP $MAINPID [Install] WantedBy=multi-user.target openvpn.target
