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

Bug 19971

Summary: `/etc/init.d/named reload` -> run `rndc reload` instead of `rndc reconfig`
Product: Gentoo Linux Reporter: Throstur Svanbergsson <throstur>
Component: [OLD] ServerAssignee: Brandon Low (RETIRED) <lostlogic>
Status: RESOLVED FIXED    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Throstur Svanbergsson 2003-04-25 19:07:50 UTC
When running `/etc/init.d/named reload`, the command that is run is `rndc reconfig`. 
However, `rndc reconfig` rereads the named.conf file and reloads new zones *only*. If I make 
any changes to my existing zones I have to do a `/etc/init.d/named restart` which of course 
shuts down the server and re-starts it, or simply write `rndc reload` in a console. 
 
I suggest that the /etc/init.d/named file be changed so that reload really does what it should do 
IMO, reload the zone (rndc reload instead of rndc reconfig). (This is the default behaviour on 
Red Hat systems, f.ex.). 

Reproducible: Always
Steps to Reproduce:
Comment 1 Brandon Low (RETIRED) gentoo-dev 2003-04-27 14:37:18 UTC
done and done, I also added "reconfig" to the init script so that you can do whichever suits you "reconfig" or "reload" through the /etc/init.d/named command (which is a bit smarter than doing it by console as it detects if rndc.key is set).
Comment 2 Brandon Low (RETIRED) gentoo-dev 2003-04-27 15:55:41 UTC
DOH, can't just add a command like I hoped, so it is just reload, no reconfig.