summarylogtreecommitdiffstats
path: root/openvpn.install
diff options
context:
space:
mode:
authorChristian Hesse2021-01-20 15:28:57 +0100
committerChristian Hesse2021-01-20 15:28:57 +0100
commite1abefd271ad8a7685d6eb9528ab933cc86b8de7 (patch)
treebe5fb5c62d4619acf113d6ec968418055547e7a7 /openvpn.install
parent2d398a8e2338b827bb27c12312edb977c548468a (diff)
downloadaur-e1abefd271ad8a7685d6eb9528ab933cc86b8de7.tar.gz
commit openvpn-git 2.4.rc2.r864.g3b1ded39-1
Diffstat (limited to 'openvpn.install')
-rw-r--r--openvpn.install12
1 files changed, 12 insertions, 0 deletions
diff --git a/openvpn.install b/openvpn.install
new file mode 100644
index 000000000000..09ded1e5f121
--- /dev/null
+++ b/openvpn.install
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+post_upgrade() {
+ # return if old package version greater 2.5.0-1...
+ (( $(vercmp $2 '2.5.0-1') > 0 )) && return
+
+ echo ':: OpenVPN now uses a netlink interface for network configuration. The systemd'
+ echo " units start the process with a dedicated unprivileged user 'openvpn', with"
+ echo ' extra capabilities(7). The configuration should no longer drop privileges,'
+ echo " so remove 'user' and 'group' directives."
+ echo ' Scripts that require elevated privileges may need a workaround.'
+}