On Wed, Mar 18, 2015 at 08:25:09 +0100, M. Dietrich wrote:
> the vpn can't be established with the message:
> 
>       vpnc-connect: can't initialise tunnel interface: Inappropriate ioctl 
> for device
> 
> short investigation shows that in case /dev/net/tun does not exists vpnc
> creates it with
> 
>       open("/dev/net/tun", O_RDWR|O_CREAT, 0666) = 3
> 
> after that a call
> 
>       ioctl(5, TUNSETIFF, 0x7fffbc71f7d0) = -1 ENOTTY (Inappropriate ioctl 
> for device)
> 
> fails. if i issue a
> 
>       mknod /dev/net/tun c 10 200
> 
> manually vpnc works fine.

Does this bug still affect your system, with an unpatched vpnc and
vpnc-script?

I see that you reported this in March 2015. This was around the same
time that several related bugs were filed, see #780255 [1] and its
duplicates [2],[3],[4].

I don't know if anything needs to be fixed in either vpnc or
vpnc-script, this was just a temporary problem due to a miscoordination
between updates of the kmod and systemd packages.

Do you think vpnc-script should still be patched? If so can someone get
the patch(es) reviewed and applied upstream?

[1]: https://bugs.debian.org/780255
[2]: https://bugs.debian.org/780256
[3]: https://bugs.debian.org/780295
[4]: https://bugs.debian.org/780299

-- 
mike

Reply via email to