Bug 447036 - dhcpd does not start at boot if NetworkManager is enabled
Summary: dhcpd does not start at boot if NetworkManager is enabled
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: NetworkManager
Version: 9
Hardware: i386
OS: Linux
low
high
Target Milestone: ---
Assignee: Dan Williams
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-05-17 08:00 UTC by Vladimir Kosovac
Modified: 2008-09-23 00:24 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-09-23 00:24:36 UTC


Attachments (Terms of Use)

Description Vladimir Kosovac 2008-05-17 08:00:15 UTC
Description of problem:

If NetworkManager controls the network, dhcpd daemon does not start at boot
time. syslog error:

==============================================
May 17 19:35:42 juice dhcpd: No subnet declaration for eth0 (no IPv4 addresses).
May 17 19:35:42 juice dhcpd: ** Ignoring requests on eth0.  If this is not what
May 17 19:35:42 juice dhcpd:    you want, please write a subnet declaration
May 17 19:35:42 juice dhcpd:    in your dhcpd.conf file for the network segment
May 17 19:35:42 juice dhcpd:    to which interface eth0 is attached. **
May 17 19:35:42 juice dhcpd: 
May 17 19:35:42 juice dhcpd: 
May 17 19:35:42 juice dhcpd: Not configured to listen on any interfaces!
==============================================

Machine is configured correctly:

1. upon boot, manually restarting dhcpd works
2. if NetworkManager is chkconfig_ed off and network init script enabled
instead, there are no problems with dhcpd on boot

I am guessing this should be filed here rather than under dhcpd component?

Version-Release number of selected component (if applicable):

NetworkManager-0.7.0-0.9.3.svn3623.fc9.i386

How reproducible:

Always

Steps to Reproduce:
1. see above
2.
3.
  
Actual results:
see above

Expected results:
successful dhcpd start at boot time

Additional info:

Comment 1 Dan Williams 2008-09-23 00:24:36 UTC
latest updates in f8 and f9 updates will honor the NETWORKWAIT=yes option from /etc/sysconfig/network, which will cause the startup to block until dhcpd is ready or until 10 seconds is up.  You can also use NETWORKDELAY=<seconds> to wait longer if for example your DHCP server takes a long time.

Ideally dhcpd would wait around until the network it was supposed to use showed up, but I guess it's a bit braindead.


Note You need to log in before you can comment on or make changes to this bug.