[Bug 516016] [NEW] [karmic] openvpn service starts before dhclient

Peter Matulis peter.matulis at canonical.com
Tue Feb 2 12:57:32 GMT 2010


Public bug reported:

Binary package hint: openvpn

I have a server that was upgraded from 9.04 to 9.10.  I cannot say with
certainty what was happening during 9.04 but systematically when I
reboot the daemon does not come up:

$ sudo service openvpn status
[sudo] password for blah:
 * could not access PID file for VPN 'server'

$ sudo service openvpn start
 * Starting virtual private network daemon(s)...
 *   Autostarting VPN 'server'
   ...done.

 $ sudo service openvpn status
 * VPN 'server' is running

The server is currently being assigned an IP address (DHCP).  It looks
like that OpenVPN is coming up before that address is provided.  From
/var/log/syslog:

openvpn[815]: TCP/UDP: Socket bind failed on local address 11.153.118.61:1194: Cannot assign requested address
openvpn[815]: Exiting
kernel: [   13.380034] br0: port 1(eth0) entering forwarding state
dhclient: Internet Systems Consortium DHCP Client V3.1.2
dhclient: Copyright 2004-2008 Internet Systems Consortium.
dhclient: All rights reserved.
dhclient: For info, please visit http://www.isc.org/sw/dhcp/
dhclient: 
kernel: [   14.364042] eth0: no IPv6 routers present
kernel: [   14.428029] br0: no IPv6 routers present
dhclient: Listening on LPF/br0/54:52:00:5e:0a:26
dhclient: Sending on   LPF/br0/54:52:00:5e:0a:26
dhclient: Sending on   Socket/fallback
dhclient: DHCPDISCOVER on br0 to 255.255.255.255 port 67 interval 4
dhclient: DHCPOFFER of 11.153.118.61 from 11.153.118.1
dhclient: DHCPREQUEST of 11.153.108.61 on br0 to 255.255.255.255 port 67
dhclient: DHCPACK of 11.153.108.61 from 11.153.118.1
dhclient: bound to 11.153.108.61 -- renewal in 102522 seconds

** Affects: openvpn (Ubuntu)
     Importance: Undecided
         Status: New

-- 
[karmic] openvpn service starts before dhclient
https://bugs.launchpad.net/bugs/516016
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openvpn in ubuntu.



More information about the Ubuntu-server-bugs mailing list