I also can confirm this with ifupdown 0.7.47.2ubuntu4.1 from trusty-
updates. This vpnc configuration has been working for ages without any
problems (before upgrading from saucy to trusty):

# /etc/network/interfaces
iface tun0 inet manual
    up vpnc-connect /etc/vpnc/some.conf
    down vpnc-disconnect
    up route del -host <some_IP> gw 0.0.0.0
    up route add -host <some_IP> gw 10.0.0.1 dev tun0

Doing "ifup tun0" now results in:
Cannot find device "tun0"
Failed to bring up tun0.

My current workaround is to change "up" to "pre-up" like this:

# /etc/network/interfaces
iface tun0 inet manual
    pre-up vpnc-connect /etc/vpnc/some.conf
    down vpnc-disconnect
    pre-up route del -host <some_IP> gw 0.0.0.0
    pre-up route add -host <some_IP> gw 10.0.0.1 dev tun0


ifdown seems not to be affected by this issues. "ifdown tun0" is performing 
vpnc-disconnect correctly.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1309788

Title:
  ifup does not execute if-up.d scripts for manual interfaces

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/1309788/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to