init.d controlled services launch before all interfaces are up, thus failing to start
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dhcp3 (Ubuntu) |
Invalid
|
Medium
|
Unassigned | ||
Lucid |
Won't Fix
|
Medium
|
Unassigned | ||
upstart (Ubuntu) |
Fix Released
|
Medium
|
Clint Byrum | ||
Lucid |
Won't Fix
|
Undecided
|
Unassigned |
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.
Related branches
Changed in dhcp3 (Ubuntu Maverick): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in dhcp3 (Ubuntu Natty): | |
status: | Confirmed → Triaged |
Changed in dhcp3 (Ubuntu Maverick): | |
status: | Confirmed → Triaged |
Changed in dhcp3 (Ubuntu Natty): | |
milestone: | none → natty-alpha-3 |
Changed in upstart (Ubuntu Natty): | |
assignee: | Canonical Foundations Team (canonical-foundations) → Robbie Williamson (robbie.w) |
assignee: | Robbie Williamson (robbie.w) → James Hunt (jamesodhunt) |
status: | New → Triaged |
importance: | Undecided → Medium |
tags: | added: server-nro |
Changed in upstart (Ubuntu Natty): | |
milestone: | ubuntu-11.04-beta-1 → ubuntu-11.04-beta-2 |
Changed in dhcp3 (Ubuntu Natty): | |
milestone: | ubuntu-11.04-beta-1 → ubuntu-11.04-beta-2 |
Changed in dhcp3 (Ubuntu Natty): | |
milestone: | ubuntu-11.04-beta-2 → ubuntu-11.04 |
Changed in upstart (Ubuntu Natty): | |
milestone: | ubuntu-11.04-beta-2 → ubuntu-11.04 |
summary: |
- dhcp3-server launches before upstart brings all interface, thus failing - to start + dhcp3-server and other init.d controled services launch before upstart + brings all interface, thus failing to start |
Changed in upstart (Ubuntu Lucid): | |
status: | New → Confirmed |
Changed in upstart (Ubuntu Maverick): | |
status: | New → Confirmed |
Changed in dhcp3 (Ubuntu Lucid): | |
milestone: | ubuntu-10.04.3 → ubuntu-10.04.4 |
Changed in upstart (Ubuntu Lucid): | |
status: | Confirmed → Won't Fix |
Relevant section of /var/log/syslog showing failure of dhcp3 server to start