Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 21255 - BIND initscript typo
Summary: BIND initscript typo
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Brandon Low (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-19 11:28 UTC by Simon Keimer
Modified: 2003-06-01 00:24 UTC (History)
1 user (show)

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


Attachments
the fix (named.patch,381 bytes, patch)
2003-05-19 17:00 UTC, Chuck Short (RETIRED)
Details | Diff
Updated patch (named.patch,451 bytes, patch)
2003-05-20 21:11 UTC, Chuck Short (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Keimer 2003-05-19 11:28:51 UTC
hi,

/etc/init.d/named stop is not working because of a typo in line 25 and 28. 

Should look like:

***
                PIDFILE="${CHROOT}/var/run/named.pid"
                KEY="${CHROOT}/etc/bind/rndc.key"
        else
                PIDFILE="/var/run/named.pid"
                KEY="/etc/bind/rndc.key"
***

The PID file is in (${CHROOT})/var/run/ and not in (${CHROOT})/var/run/named/.
Comment 1 Chuck Short (RETIRED) gentoo-dev 2003-05-19 17:00:35 UTC
Created attachment 12169 [details, diff]
the fix

Fixes location of named.pid file.
Comment 2 Simon Keimer 2003-05-20 17:37:11 UTC
may be my fault, because I didn't write that clear, but line 28 needs to be corrected, too.
Comment 3 Chuck Short (RETIRED) gentoo-dev 2003-05-20 21:11:34 UTC
Created attachment 12218 [details, diff]
Updated patch
Comment 4 Brandon Low (RETIRED) gentoo-dev 2003-06-01 00:24:37 UTC
fixed, thanks.