[Bug 580319] Re: dhcp3-server and other init.d controled services launch before upstart brings all interface, thus failing to start
Clint Byrum
clint at fewbar.com
Mon Aug 1 20:35:09 UTC 2011
So, there is some progress on this bug. A new event called 'static-
network-up' was added to oneiric today, which will only be emitted once
all 'auto' interfaces from /etc/network/interfaces are up.
The next step is to delay /etc/init/rc-sysinit.conf until this event is
emitted, and then also provide some kind of fail-safe for this event to
be emitted when some of the interfaces cannot be brought up.
** Changed in: upstart (Ubuntu)
Assignee: James Hunt (jamesodhunt) => Clint Byrum (clint-fewbar)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to upstart in Ubuntu.
https://bugs.launchpad.net/bugs/580319
Title:
init.d controlled services launch before all interfaces are up, thus
failing to start
Status in “dhcp3” package in Ubuntu:
Invalid
Status in “upstart” package in Ubuntu:
In Progress
Status in “dhcp3” source package in Lucid:
Triaged
Status in “upstart” source package in Lucid:
Confirmed
Status in “dhcp3” source package in Maverick:
Triaged
Status in “upstart” source package in Maverick:
Confirmed
Status in “dhcp3” source package in Natty:
Invalid
Status in “upstart” source package in Natty:
Triaged
Bug description:
My server's (primarily a NAT box/802.11g hotspot) network
configuration:
Ubuntu release: 10.04 LTS
External interface: eth3
Internal interface: br0 (bridging eth2 and wlan0)
I run dhcp3-server on my internal interface to supply private
(192.168.*) IP addresses to wired and wireless devices throughout my
apartment.
I recently upgraded this server from 8.04 LTS to 10.04 LTS. After the
upgrade I've faced some problems with the startup process. The issue
I'm reporting here has to do with dhcp3-server failing to start during
boot.
From what I can tell, upstart begins bringing up br0, which takes perhaps 15 seconds. While br0 is coming up (and still has an address of 0.0.0.0), the dhcp3-server init script is started, but fails because 0.0.0.0 is not a declared network and dhcpd fails to start, reporting:
May 13 22:29:40 firewall dhcpd: No subnet declaration for br0 (0.0.0.0).
May 13 22:29:40 firewall dhcpd: ** Ignoring requests on br0. If this is not what
May 13 22:29:40 firewall dhcpd: you want, please write a subnet declaration
May 13 22:29:40 firewall dhcpd: in your dhcpd.conf file for the network segment
May 13 22:29:40 firewall dhcpd: to which interface br0 is attached. **
May 13 22:29:40 firewall dhcpd:
May 13 22:29:40 firewall dhcpd:
May 13 22:29:40 firewall dhcpd: Not configured to listen on any interfaces!
It seems that dhcpd should start (or restart) when upstart brings up
the interfaces it is configured to listen on.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dhcp3/+bug/580319/+subscriptions
More information about the foundations-bugs
mailing list