Package: openvpn Version: 2.2.1-5 Source: openvpn Severity: important Tags: patch, wheezy User: rle...@debian.org Usertags: run-transition
Hi, I wrote the attached patch, that should fix this bug and it applies to openvpn, version 2.2.1-5. >From the changelog: * /run transition: Replaced usage of /dev/.udev with /run/udev, when checking for the usage of udev. Depend on initscripts (>= 2.88dsf-13.3) to guarantee the existence of /run/udev in case udev is being used. (Closes: #644321) Regards -- Pieter
From 4b12c19ddd511f6fdc753605f5c31d32098ce3aa Mon Sep 17 00:00:00 2001 From: Pieter du Preez <pdupr...@gmail.com> Date: Sat, 3 Mar 2012 22:06:34 +0100 Subject: [PATCH] /run transition: Replaced usage of /dev/.udev with /run/udev. Use /run/udev when checking for the usage of udev. Depend on initscripts (>= 2.88dsf-13.3) to guarantee the existence of /run/udev in case udev is being used. (Closes: #644321) Signed-off-by: Pieter du Preez <pdupr...@gmail.com> --- debian/changelog | 10 ++++++++++ debian/config | 2 +- debian/control | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 89c9525..9d48d11 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,13 @@ +openvpn (2.2.1-5.1) unstable; urgency=low + + * Non-maintainer upload. + * /run transition: Replaced usage of /dev/.udev with /run/udev, + when checking for the usage of udev. Depend on initscripts + (>= 2.88dsf-13.3) to guarantee the existence of /run/udev + in case udev is being used. (Closes: #644321) + + -- Pieter du Preez <pdupr...@gmail.com> Sat, 03 Mar 2012 21:49:25 +0100 + openvpn (2.2.1-5) unstable; urgency=low * Avoid sending ICMP redirects when using tun devices and "subnet" diff --git a/debian/config b/debian/config index 49e6d47..04883da 100644 --- a/debian/config +++ b/debian/config @@ -10,7 +10,7 @@ test $DEBIAN_SCRIPT_DEBUG && set -v -x . /usr/share/debconf/confmodule # Do we want to create /dev/net/tun? -if [ ! -e /dev/.udev ] && [ ! -e /dev/net/tun ]; then +if [ ! -e /run/udev ] && [ ! -e /dev/net/tun ]; then db_input medium openvpn/create_tun || true db_go fi diff --git a/debian/control b/debian/control index 9895e2b..746f5dc 100644 --- a/debian/control +++ b/debian/control @@ -8,7 +8,7 @@ Homepage: http://www.openvpn.net/ Package: openvpn Architecture: any -Depends: debconf | debconf-2.0, ${shlibs:Depends}, ${misc:Depends}, net-tools +Depends: debconf | debconf-2.0, ${shlibs:Depends}, ${misc:Depends}, net-tools, initscripts (>= 2.88dsf-13.3) Suggests: openssl, resolvconf Description: virtual private network daemon OpenVPN is an application to securely tunnel IP networks over a -- 1.7.9.1