Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 10609 - /etc/init.d/named stop doesn't work
Summary: /etc/init.d/named stop doesn't work
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major
Assignee: Brad Cowan (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-11 19:10 UTC by Alberto Ornaghi
Modified: 2003-06-12 02:18 UTC (History)
3 users (show)

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 Alberto Ornaghi 2002-11-11 19:10:10 UTC
doing a /etc/init.d/named stop  results in a [!!!] error message.
I've figured out that the start-stop-daemon is not working properly because the
presence of "--pidfile $PIDFILE".

my patch was to replace the --pidfile with "--exec /usr/sbin/named".

now I can start and stop the named succesfully.
is this the right solution ?

bye
Comment 1 Brad Cowan (RETIRED) gentoo-dev 2002-11-17 20:26:36 UTC
It should work as designed, I'll look...but if u have it working for yourself
I'll mark the bug fixed as this is the only report of this :)
Comment 2 Alberto Ornaghi 2003-01-26 03:53:37 UTC
I've installed gentoo on another machine and the bug is still occurring.... I
can patch it by myself, but i want to know if I'm the only one getting this.
Comment 3 Thomas Raschbacher gentoo-dev 2003-01-26 04:11:18 UTC
works with 9.2.1 for me
Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2003-01-26 04:17:53 UTC
Check that you have /var/run/named/ ....
Comment 5 Alberto Ornaghi 2003-01-27 04:02:27 UTC
found the problem... in my /etc/named  there was incorrect definition of
named.pid path.

sorry for the waste of time.
Comment 6 Ron O'Hara 2003-06-12 02:18:24 UTC
Ok ... using gentoo 1.4rc2 as a base and adding bind in a chroot jail I get the same problem.
The cause is line 25 of /etc/init.d/named which has:

  PIDFILE="${CHROOT}/var/run/named.pid"

for the default setup of bind in the chroot jail, it shouls be:

  PIDFILE="${CHROOT}/var/run/named.pid"