Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 19971 - `/etc/init.d/named reload` -> run `rndc reload` instead of `rndc reconfig`
Summary: `/etc/init.d/named reload` -> run `rndc reload` instead of `rndc reconfig`
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-04-25 19:07 UTC by Throstur Svanbergsson
Modified: 2003-04-27 15:55 UTC (History)
0 users

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 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.