Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 483 - Named startup script problem
Summary: Named startup script problem
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Donny Davies (RETIRED)
: 394 (view as bug list)
Depends on:
Reported: 2002-02-01 15:48 UTC by Paul de Vrieze (RETIRED)
Modified: 2004-08-19 12:38 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Paul de Vrieze (RETIRED) gentoo-dev 2002-02-01 15:48:40 UTC
The init.d script for named is not good for running named. There are two - 
related - points. The startup code is wrong. This should be

start-stop-daemon --start --quiet --exec /usr/sbin/named -- -u named -n 1

the --user argument would be for start-stop-daemon, but named needs to be root 
to bind its port. 

The other point is that the standard bind pid file is /var/run/ That 
has security repercusions as bind needs write access to the dir it writes its 
pid file. Probably /var/run/named/ is a better name. (If it hasn't 
write access it will not boot)
Comment 1 Ferry Meyndert (RETIRED) gentoo-dev 2002-02-04 06:51:49 UTC
*** Bug 394 has been marked as a duplicate of this bug. ***
Comment 2 Donny Davies (RETIRED) gentoo-dev 2002-02-08 19:10:51 UTC
fixed.  thanks!

Comment 3 Paul de Vrieze (RETIRED) gentoo-dev 2004-08-19 12:38:30 UTC
Closing the bug