Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 123813 - dhcp-3.0.3-r3 & No subnet declaration for (0.0.0.0) = Error in /etc/init.d/dhcp
Summary: dhcp-3.0.3-r3 & No subnet declaration for (0.0.0.0) = Error in /etc/init.d/dhcp
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Roy Marples (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-23 06:00 UTC by Marek Krolikowski
Modified: 2006-02-23 09:50 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Krolikowski 2006-02-23 06:00:34 UTC
After emerge today new dhcp-3.0.3-r3 i can`t run my dhcp.. 
i try but i have always error in syslog:
Feb 23 11:29:00 wset dhcpd: No subnet declaration for  (0.0.0.0).
Feb 23 11:29:00 wset dhcpd: ** Ignoring requests on .  If this is not what
Feb 23 11:29:00 wset dhcpd:    you want, please write a subnet declaration
Feb 23 11:29:00 wset dhcpd:    in your dhcpd.conf file for the network segment
Feb 23 11:29:00 wset dhcpd:    to which interface  is attached. **

I check what command is run via script and i found:
/usr/sbin/dhcpd -q -pf /var/run/dhcp/dhcp.pid -user dhcp -group dhcp  eth2
I think is too many space between dhcp  eth2 
so.. to many space bateween ${CHROOT} ${IFACE}
look in line 42 at: /etc/init.d/dhcp
${CHROOT:+-chroot} "${CHROOT}" ${IFACE}
i remove space between ${CHROOT}" ${IFACE} like this:
${CHROOT:+-chroot} "${CHROOT}"${IFACE}
and dhcp working good and write no errors in syslog and working with no problems...

Greets.
Comment 1 Roy Marples (RETIRED) gentoo-dev 2006-02-23 07:52:59 UTC
Reporter, please attach your /etc/conf.d/dhcp and dhcpd.conf files
Comment 2 Roy Marples (RETIRED) gentoo-dev 2006-02-23 08:21:45 UTC
nevermind, -r4 has been comitted to fix the issue.
Comment 3 Marek Krolikowski 2006-02-23 09:50:32 UTC
-r4 working good.

Greets