Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 323315 - net-dns/bind init script won't stop named if one changes keyname for server control
Summary: net-dns/bind init script won't stop named if one changes keyname for server c...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Konstantin Arkhipov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-09 10:13 UTC by brankob
Modified: 2010-06-09 18:44 UTC (History)
2 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 brankob 2010-06-09 10:13:38 UTC
Once I change key name for server administration ( via rndc -k keyname), /etc/init.d/named stop fails to kill server.

Reason for this is that it checks for variable KEY which is preset to default /etc/bind/rndc.conf and I can't override that in /etc/conf.d/named

Once I changed variable name to KEY2 and used that in /etc/conf.d/named, everything seems to be working fine...






Reproducible: Always
Comment 1 Michael Weber (RETIRED) gentoo-dev 2010-06-09 11:58:14 UTC
Which versions of bind are affected?
Comment 2 brankob 2010-06-09 12:06:34 UTC
(In reply to comment #1)
> Which versions of bind are affected?
> 
I't s not a matter of anything in bind per se, but in Gentoo's init scripts.

I remeber ahving this problem with 9.4* and now with 9.6*
Comment 3 Christian Ruppert (idl0r) gentoo-dev 2010-06-09 18:44:40 UTC
There is now a RNDC_KEY variable in /etc/conf.d/named if you re- sync/emerge bind 9.6.x or 9.7.x so that should solve your problem.