Bug 57771

Summary: dhcp-3.0-1 looks for leases in wrong place
Product: [Retired] Red Hat Raw Hide Reporter: Blair Zajac <blair>
Component: dhcpAssignee: Elliot Lee <sopwith>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0   
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-12-21 19:52:03 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 Blair Zajac 2001-12-21 19:51:59 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.79 [en] (Windows NT 5.0; U)

Description of problem:
If you run a strings on dhcpd from dhcp-3.0-1

strings /usr/sbin/dhcpd | grep /dhcpd.leases

you'll get 

/var/state/dhcp/dhcpd.leases

This is not the same place that rpm -ql lists the leases file

login% rpm -ql dhcp-3.0-1 | grep /dhcpd.leases
/usr/share/man/man5/dhcpd.leases.5.gz
/var/lib/dhcp/dhcpd.leases

Starting dhcpd with a normal configuration file that doesn't specify the location of the leases file then fails.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Install dhcp-3.0-1
2.
3.
	

Additional info:

Comment 1 Elliot Lee 2001-12-21 20:14:47 UTC
Thanks, I'm just putting a 3.0-2 into the build system which should fix this.
It'll show in rawhide in a day or so.