diff options
author | Alberto Gonzalez Iniesta <agi@inittab.org> | 2013-11-28 13:06:36 +0100 |
---|---|---|
committer | Alberto Gonzalez Iniesta <agi@inittab.org> | 2013-11-28 13:06:36 +0100 |
commit | 1f88813d1b92c4143e4b47d853c62c9868ed501b (patch) | |
tree | fa214f0d863483e68a62832940997be74f951f9e /debian | |
parent | 1b8e75371bb0c122880f990b16057fc0bd62374a (diff) |
Fix #730679debian/2.3.2-7
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 7 | ||||
-rw-r--r-- | debian/postinst | 2 |
2 files changed, 9 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index c2641fd..e9fc3f4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +openvpn (2.3.2-7) unstable; urgency=low + + * Fix postinst when no *.pid files exist in /run/sendsigs.omit.d/. + (Closes: #730679) + + -- Alberto Gonzalez Iniesta <agi@inittab.org> Thu, 28 Nov 2013 13:05:31 +0100 + openvpn (2.3.2-6) unstable; urgency=low * Move PID and status files to openvpn subdir in /run. diff --git a/debian/postinst b/debian/postinst index 672a8d2..3776449 100644 --- a/debian/postinst +++ b/debian/postinst @@ -26,6 +26,8 @@ case "$1" in for f in /run/sendsigs.omit.d/openvpn.*.pid; do [ -e "$f" ] && continue b="$(basename $f|sed 's/openvpn\.//')" + # make sure is a vpn name, not *.pid (#730679) + echo "$b" | grep -q '\*' && continue ln -sf "/run/openvpn/$b" "/run/sendsigs.omit.d/openvpn.$b" done ;; |