Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 38768

Summary: dhcp package doesn't make dhcpd.leases file
Product: [Retired] Red Hat Linux Reporter: Ryan Weiss <rbugzilla>
Component: dhcpAssignee: Erik Troan <ewt>
Status: CLOSED DUPLICATE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-05-02 15:36:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ryan Weiss 2001-05-02 15:36:21 UTC
Running init.d/dhcpd start|stop|status gives no output, and doesn't start 
the server.  Running /usr/sbin/dhcpd kicks an error 
about /var/lib/dhcp/dhcpd.leases missing.  Doing a 
touch /var/lib/dhcp/dhcpd.leases and then kicking the server makes it work 
fine.

Reproducible: Always
Steps to Reproduce:
1.Install dhcp-2.0p15-4 rpm
2.Edit /etc/dhcpd.conf (this step doesn't make a diff)
3.run /etc/rc.d/init.d/dhcpd start|status|<nothing>

Actual Results:  see no output, and server doesn't start -broken IMHO


Expected Results:  touch /var/lib/dhcp/dhcpd.leases - try step 2 again, 
and it will work server starts running

If you run /usr/sbin/dhcpd at step 3 above, you get an error message:
Can't open lease database /var/lib/dhcp/dhcpd.leases: No such file or 
directory -- check for failed database rewrite attempt!
Please read the dhcpd.leases manual page if you.
don't know what to do about this.
exiting.

Comment 1 Ryan Weiss 2001-05-06 04:42:30 UTC

*** This bug has been marked as a duplicate of 5405 ***