summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2020-05-02 17:53:40 +0200
committerJörg Frings-Fürst <debian@jff.email>2020-05-02 17:53:40 +0200
commitc8f335ffa22782d4161c21770252692cfc0673ff (patch)
tree4beedade3c1cd80dab3711a03c3fda19c96873b8
parente39e9ce9a52b31666aa99c5fa2ab94404f186ab4 (diff)
Add hint to reboot if openvpn is running; Add new chapter into debian/NEWS
-rw-r--r--debian/NEWS9
-rw-r--r--debian/changelog6
-rw-r--r--debian/postinst4
3 files changed, 17 insertions, 2 deletions
diff --git a/debian/NEWS b/debian/NEWS
index e53005c..d50b3a0 100644
--- a/debian/NEWS
+++ b/debian/NEWS
@@ -1,3 +1,12 @@
+openvpn (2.4.9-3) unstable; urgency=medium
+
+ To ensure the functionality of OpenVPN connections during an update,
+ OpenVPN is not restarted after the update since this version.
+
+ Please restart OpenVPN or reboot the computer manually after the update.
+
+ -- Jörg Frings-Fürst <debian@jff.email> Sat, 02 May 2020 12:11:51 +0200
+
openvpn (2.4.0-4) unstable; urgency=medium
If you're upgrading a previous OpenVPN installation, you should check your
diff --git a/debian/changelog b/debian/changelog
index 13e4ee6..9f5c7eb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,14 +1,16 @@
openvpn (2.4.9-3) UNRELEASED; urgency=medium
[ Jörg Frings-Fürst ]
- * Fix the bug that occurs during the update:
+ * Fix the bug that occurs during the update (Closes: #959464):
"ERROR: Cannot ioctl TUNSETIFF tunX: Device or resource busy (errno=16)"
- debian/rules: Change dh_installsystemd from "--restart-after-upgrade" to
"--no-restart-after-upgrade -r".
- Remove restart from debian/postinst.
+ - Add hint to reboot if openvpn is running.
+ - Add new chapter into debian/NEWS.
* Migrate to debhelper 13.
* debian/postinst:
- - Remove now useless code for version less than lt 2.3.2-6.
+ - Remove now useless code for version less than 2.3.2-6.
-- Jörg Frings-Fürst <debian@jff.email> Sat, 02 May 2020 12:11:51 +0200
diff --git a/debian/postinst b/debian/postinst
index c377fc6..998c5fc 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -42,6 +42,10 @@ case "$1" in
echo "$b" | grep -q '\*' && continue
ln -sf "/run/openvpn/$b" "/run/sendsigs.omit.d/openvpn.$b"
done
+ if pidof -c /usr/sbin/openvpn >/dev/null; then
+ echo "A reboot is required to replace the running openvpn." >&2
+ echo "Please reboot the system as soon as possible." >&2
+ fi
;;
esac