Bug 57771 - dhcp-3.0-1 looks for leases in wrong place
dhcp-3.0-1 looks for leases in wrong place
Status: CLOSED RAWHIDE
Product: Red Hat Raw Hide
Classification: Retired
Component: dhcp (Show other bugs)
1.0
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Elliot Lee
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-12-21 14:51 EST by Blair Zajac
Modified: 2008-05-01 11:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-12-21 14:52:03 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Blair Zajac 2001-12-21 14:51:59 EST
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 15:14:47 EST
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.

Note You need to log in before you can comment on or make changes to this bug.