Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 74207

Summary: dhcpd installation incomplete
Product: Gentoo Linux Reporter: Fabian Matthiessen <Lusor>
Component: [OLD] ServerAssignee: Max Kalika (RETIRED) <max>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Fabian Matthiessen 2004-12-12 08:45:49 UTC
After emerging dhcpd there is no init-script for starting the dhcpd in the /etc/init.d/ directory. Also if I try to start it with dhcpd I get an error, that the lease-database could not be initialized.
Can't open lease database /var/lib/dhcp/dhcpd.leases: No such file or directory


Reproducible: Always
Steps to Reproduce:
1. emerge net-misc/dhcp
2. nano /etc/dhcp/dhcpd.conf
3. rc-update add dhcpd default

Actual Results:  
 * /sbin/rc-update: /etc/init.d/dhcpd not found; aborting
Comment 1 Max Kalika (RETIRED) gentoo-dev 2004-12-20 10:52:06 UTC
Careful.  You emerged "dhcp" not "dhcpd".  The startup script is called "dhcp" not "dhcpd".  And the leases file is created when you use the proper startup script.