network-manager[-openvpn] doesn't handle properly routes pushed by OpenVPN 2.1_Rc7
Bug #194487 reported by
Ulf Andersson
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
network-manager (Ubuntu) |
Expired
|
Undecided
|
Unassigned | ||
network-manager-openvpn (Ubuntu) |
Expired
|
Undecided
|
Unassigned | ||
openvpn (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Openvpn 2.1_rc7 was included in the Ubuntu 8.04 hardy 2008-02-22 and
after that upgrade openvpn does not route to tap or tun interfaces.
Sometimes I get the "Route Error" - but not always. I'm using Ubuntu 8.04 AMD64 Alteranative
Update:
From the latest comments it appears that the routes are pushed correctly by OpenVPN, but that network-manager or network-
description: | updated |
Changed in network-manager-openvpn (Ubuntu): | |
status: | Incomplete → Confirmed |
To post a comment you must log in.
same here with OpenVPN 2.1_rc7-1ubuntu3
ovpn-openvpn[8583]: TUN/TAP device tap0 opened openvpn- down-root. so/PLUGIN_ UP status=0 dhclient. eth1.pid with pid 8478
ovpn-openvpn[8583]: TUN/TAP TX queue length set to 100
ovpn-openvpn[8583]: ifconfig tap0 172.16.2.141 netmask 255.255.254.0 mtu 1500 broadcast 172.16.3.255
avahi-daemon[6859]: Joining mDNS multicast group on interface tap0.IPv4 with address 172.16.2.141.
avahi-daemon[6859]: New relevant interface tap0.IPv4 for mDNS.
avahi-daemon[6859]: Registering new address record for 172.16.2.141 on tap0.IPv4.
avahi-daemon[6859]: Withdrawing address record for 172.16.2.141 on tap0.
avahi-daemon[6859]: Leaving mDNS multicast group on interface tap0.IPv4 with address 172.16.2.141.
avahi-daemon[6859]: Interface tap0.IPv4 no longer relevant for mDNS.
avahi-daemon[6859]: Joining mDNS multicast group on interface tap0.IPv4 with address 172.16.2.141.
avahi-daemon[6859]: New relevant interface tap0.IPv4 for mDNS.
avahi-daemon[6859]: Registering new address record for 172.16.2.141 on tap0.IPv4.
ovpn-openvpn[8583]: PLUGIN_CALL: POST plugins/
ovpn-openvpn[8583]: scripts/client.up tap0 1500 1590 172.16.2.141 255.255.254.0 init
NetworkManager: <info> tap0: Device is fully-supported using driver '(null)'.
NetworkManager: <info> nm_device_init(): waiting for device's worker thread to start
NetworkManager: <info> nm_device_init(): device's worker thread started, continuing.
NetworkManager: <info> Now managing wired Ethernet (802.3) device 'tap0'.
NetworkManager: <info> Deactivating device tap0.
avahi-daemon[6859]: Withdrawing address record for 172.16.2.141 on tap0.
avahi-daemon[6859]: Leaving mDNS multicast group on interface tap0.IPv4 with address 172.16.2.141.
avahi-daemon[6859]: Interface tap0.IPv4 no longer relevant for mDNS.
NetworkManager: <info> Will activate wired connection 'tap0' because it now has a link.
NetworkManager: <info> Will activate connection 'tap0'.
NetworkManager: <info> Device tap0 activation scheduled...
NetworkManager: <info> Deactivating device eth1.
dhclient: There is already a pid file /var/run/
dhclient: killed old client process, removed PID file
ovpn-openvpn[8583]: route add -net 130.60.230.177 netmask 255.255.255.255 gw 192.168.1.1
ovpn-openvpn[8583]: route add -net 0.0.0.0 netmask 128.0.0.0 gw 172.16.3.254
ovpn-openvpn[8583]: ERROR: Linux route add command failed: shell command exited with error status: 7
ovpn-openvpn[8583]: route add -net 128.0.0.0 netmask 128.0.0.0 gw 172.16.3.254
ovpn-openvpn[8583]: ERROR: Linux route add command failed: shell command exited with error status: 7
ovpn-openvpn[8583]: chroot to '/etc/openvpn' and cd to '/' succeeded
ovpn-openvpn[8583]: GID set to daemon
ovpn-openvpn[8583]: UID set to nobody
ovpn-openvpn[8583]: Initialization Sequence Completed