Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 39214 - DHCP server will not shut down, further more the /etc/init.d/dhcp script has a few problems
Summary: DHCP server will not shut down, further more the /etc/init.d/dhcp script has ...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Max Kalika (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-23 17:21 UTC by Gary Oppel
Modified: 2004-02-25 16:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gary Oppel 2004-01-23 17:21:19 UTC
This is for the recent release of DHCP Server!

When i start the server the server would not start unless i had a DDNS-UPDATE(not sure of exact flag name) flag, the problem that agrivated me a little bit was the /etc/init.d/dhcp start/stop script, it started fine after i added the correct modules into the kernel, but it would not stop at all. 

The start section had on thing, there is no -pf flag in dhcpd program to make a pid file, i attempted to do a --pidfile for the start-stop-daemon but that didnt write to it either.  There was no pid file in the regular location specified or in the chroot jail for dhcp.  Permissions were all correct DHCP:DHCP.

the stop script was looking for the pid file which didn't exist, so i added the --exec argument and added the location of the dhcpd binary, and the script worked fine after that!

Dont know if this could help you out, but for any questions email me
gary@oppel.us

Reproducible: Always
Steps to Reproduce:
1.
2.
3.



Expected Results:  
The software should have stopped when the /etc/init.d/dhcp stop command was 
given, instead of it telling me [ok] it said [!!] and the process still ran!

No programs were running but the HOST-AP Driver for linux!
Comment 1 Max Kalika (RETIRED) gentoo-dev 2004-01-24 00:00:49 UTC
I'm sorry, I don't follow.  The current dhcp startup script has --exec /usr/sbin/dhcpd.  It also has -pf to generate the .pid file which works fine.  What is the problem? Please attach any relavant information.  For starters, your emerge --info output.  Also, the exact version of dhcp that is causing problems, and the script in question.  Thanks.
Comment 2 Max Kalika (RETIRED) gentoo-dev 2004-01-28 08:31:00 UTC
Any more information on this?
Comment 3 Max Kalika (RETIRED) gentoo-dev 2004-02-25 16:49:39 UTC
no feedback in a month, closing