Re: 'service named reload' with non-default system directories.

2013-04-24 Thread Ian FREISLICH
Sean Bruno wrote: > Would we need a change to /etc/defaults/rc.conf to set ${named_confdir} > to the default location if not set? I'm not sure. It's derived: load_rc_config $name # Updating the following variables requires that rc.conf be loaded first # required_dirs="$named_chrootdir"#

Re: 'service named reload' with non-default system directories.

2013-04-24 Thread Sean Bruno
On Wed, 2013-04-24 at 16:35 +0200, Ian FREISLICH wrote: > > --- /usr/src/etc/rc.d/named 2013-04-15 20:17:58.0 +0200 > +++ /etc/rc.d/named 2013-04-24 16:16:52.0 +0200 > @@ -109,7 +109,7 @@ > > named_reload() > { > - ${command%/named}/rndc reload > + ${comman

'service named reload' with non-default system directories.

2013-04-24 Thread Ian FREISLICH
Hi I often run named outside of the system default directories so that amongst other things a mergemaster fumble doesn't break my name servers. This however breaks rndc because it is not imbued with the clue of where to find its key. /etc/rc.d/named does create the key file in the correct place