Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 21255

Summary: BIND initscript typo
Product: Gentoo Linux Reporter: Simon Keimer <skeimer>
Component: [OLD] ServerAssignee: Brandon Low (RETIRED) <lostlogic>
Status: RESOLVED FIXED    
Severity: minor CC: zul
Priority: High    
Version: 1.4_rc4   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: the fix
Updated patch

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.