First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 89428
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Roy Marples (RETIRED) <uberlord@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Paul Komarek <komarek.paul@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 89428 depends on: Show dependency tree
Bug 89428 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-04-17 09:46 0000
It is nice that the initscript will create your lease file for you; I used to
muck around with the initscripts to do this myself.  However, this system
creates false failures if the lease file is move.

For instance, if /etc/dhcp/dhcpd.conf contains

    lease-file-name "/tmp/dhcpd.lease";
    pid-file-name "/tmp/dhcpd.pid";

(necessarily in the global scope), AND there is no /var/lib/dhcp directory,
then the initscript will fail even though nothing is actually wrong.

I don't have a good, simple idea for fixing this.  I suppose you could parse
the dhcpd.conf file in the initscript, but that seems unusual.  You could add
an option in the conf.d/dhcp file, but the user would have to keep their
conf.d/dhcp and dhcpd.conf synchronized.

The best idea I can think of is to use the conf.d/dhcp approach, but with the
dhcpd -lf option.  That way the dhcpd.conf file can remain ignorant of the
lease configuration, and gentoo can happily verify lease file existence.

-Paul Komarek

------- Comment #1 From Paul Komarek 2005-04-17 09:59:57 0000 -------
I just noticed that the dhcpd.pid file works the same way as the lease file. 
If the lease file becomes changeable, then probably the pid file should, too.

BTW, this sort of thing comes up with embedded systems.  I'm not sure how broad
the appeal of this type of feature is.

------- Comment #2 From Jakub Moc (RETIRED) 2005-12-05 12:31:11 0000 -------
Mass reassign wrt Bug 23718, maintainer being retired.

------- Comment #3 From Roy Marples (RETIRED) 2005-12-07 06:04:51 0000 -------
Fixed in dhcp-3.0.3-r1

First Last Prev Next    No search results available      Search page      Enter new bug