Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 150893 - dhcpd not starting at boot
Summary: dhcpd not starting at boot
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-11 07:06 UTC by Chris Smith
Modified: 2006-10-11 09:35 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
/etc/conf.d/rc (rc,8.62 KB, text/plain)
2006-10-11 07:27 UTC, Chris Smith
Details
/etc/conf.d/net (net,484 bytes, text/plain)
2006-10-11 07:28 UTC, Chris Smith
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Smith 2006-10-11 07:06:45 UTC
Sorry, I don't know whether or not this is a dhcpd problem or a baselayout problem.
Server no longer starts dhcpd at boot. The log:
===================================
No subnet declaration for eth0 (0.0.0.0).
** Ignoring requests on eth0.  If this is not what
   you want, please write a subnet declaration
   in your dhcpd.conf file for the network segment
   to which interface eth0 is attached. **

Not configured to listen on any interfaces!
exiting.
===================================
It starts up just fine manually once I can log in. The particular server in question uses the Broadcom Corporation NetXtreme BCM5704 Gigabit Ethernet cards and I know that they are generally slower to initailize and my guess is that some change has caused dhcpd to attempt to start before the interfaces are up.

Versions are: sys-apps/baselayout-1.12.5-r2 net-misc/dhcp-3.0.5_rc2

# emerge --info
Portage 2.1.2_pre2-r7 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo i686)
=================================================================
System uname: 2.6.18-gentoo i686 Intel(R) Xeon(TM) CPU 2.80GHz
Gentoo Base System version 1.12.5
Last Sync: Tue, 10 Oct 2006 13:00:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.3-r4, 2.5-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -mtune=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -mtune=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ ftp://gentoo.ccccom.com"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 acl acpi bash-completion berkdb bitmap-fonts bzip2 cli crypt cups dlloader dri elibc_glibc fortran gdbm input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog ithreads jpeg kernel_linux ldap libg++ mmx ncurses nls nptl nptlonly pam pcre perl png pppd python readline reflection session spl sse sse2 ssl tcpd threads truetype-fonts type1-fonts udev unicode userland_GNU xml xorg zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Roy Marples (RETIRED) gentoo-dev 2006-10-11 07:15:49 UTC
Please attach your /etc/conf.d/rc and /etc/conf.d/net
Comment 2 Chris Smith 2006-10-11 07:27:37 UTC
Created attachment 99362 [details]
/etc/conf.d/rc
Comment 3 Chris Smith 2006-10-11 07:28:15 UTC
Created attachment 99363 [details]
/etc/conf.d/net
Comment 4 Roy Marples (RETIRED) gentoo-dev 2006-10-11 07:30:36 UTC
Try setting RC_NET_STRICT_CHECKING="yes" in /etc/conf.d/rc

I assume that net.eth0 is in the default runlevel?
Comment 5 Chris Smith 2006-10-11 07:43:07 UTC
(In reply to comment #4)
> Try setting RC_NET_STRICT_CHECKING="yes" in /etc/conf.d/rc

OK, will have to wait until this evening to do that.

> I assume that net.eth0 is in the default runlevel?

Yes. But net.eth1 is not as that interface is currently not being used. Although both are defined in dhcpd.conf. 

Comment 6 Chris Smith 2006-10-11 09:15:45 UTC
Customer allowed a reboot during the lunch hour,
All is fine with RC_NET_STRICT_CHECKING="yes".
Thanks!
Comment 7 Roy Marples (RETIRED) gentoo-dev 2006-10-11 09:35:47 UTC
Guess this is invalid then