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
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.