Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 1782 - init script 'named stop' uses wrong pid file location
Summary: init script 'named stop' uses wrong pid file location
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-14 19:34 UTC by Scott A. Friedman
Modified: 2003-02-04 19:42 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 Scott A. Friedman 2002-04-14 19:34:46 UTC
The --pidfile parameter to start-stop-daemon should be /var/run/named.pid 
not /var/run/named/named.pid

At least based on where the named daemon is putting the file. Maybe named needs 
to be updated in it's compilation?

Scott
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2002-04-15 14:29:42 UTC
Not sure, this we will have to ask Woodchip.  I fixed this by
adding to /etc/bind/named.conf:

---------------snip---------------------------
options {
	directory "/var/named";
	pid-file "/var/run/named/named.pid";
        ............
}
----------------------------------------------
Comment 2 Kyle Manna (RETIRED) gentoo-dev 2002-06-13 15:57:30 UTC
We now include a default named.conf file that will prevent this.