Package: vpnc-scripts
Version: 0.1~git20160829-1
Severity: normal
Tags: patch
Hi,
in stretch the vpnc-script-sshd doesn't work any more. After a while of
debugging, I found out that the script expects the REMOTEDEV to be named
$TUNDEV-vpnssh1, which is no longer the case in stretch's iproute.
The following patch changes the name of REMOTEDEV to veth0, which fixes
the issue.
Maybe a versioned depends on iproute is in order, or code that checks
for both variants and chooses the right one.
Greetings
Marc
--- /usr/share/vpnc-scripts/vpnc-script-sshd 2016-11-29 20:41:55.000000000
+0100
+++ vpnc-script-sshd 2017-07-14 11:09:15.401001190 +0200
@@ -182,8 +182,8 @@
$IP link add dev $TUNDEV-vpnssh%d type veth
# XXX: Assume vpnssh0 and vpnssh1; ip doesn't tell us!
LOCALDEV=$TUNDEV-vpnssh0
- export REMOTEDEV=$TUNDEV-vpnssh1
-
+ export REMOTEDEV=veth0
+
$IP netns exec $NETNSNAME $0 $@ &
CHILDPID=$!
-- System Information:
Debian Release: 9.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.12.0-zgsrv20080 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8), LANGUAGE=en
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages vpnc-scripts depends on:
ii iproute2 4.9.0-1
ii net-tools 1.60+git20161116.90da8a0-1
vpnc-scripts recommends no packages.
Versions of packages vpnc-scripts suggests:
ii dnsmasq 2.76-5
ii openssh-server 1:7.4p1-10
pn resolvconf <none>
-- no debconf information