Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 09 Oct 2004 16:00:17 +0100
From:      Matt <matt@xtaz.net>
To:        Clive Lin <clive@tongi.org>
Cc:        current@freebsd.org
Subject:   Re: rndc/bind9 weirdness
Message-ID:  <4167FD01.3040305@xtaz.net>
In-Reply-To: <20041009144954.GA887@CARTIER.ro-inc>
References:  <52639.192.168.1.4.1097321701.squirrel@webmail.xtaz.net> <20041009144954.GA887@CARTIER.ro-inc>

next in thread | previous in thread | raw e-mail | index | archive | help
Clive Lin wrote:
> On Sat, Oct 09, 2004 at 12:35:01PM +0100, Matt Smith wrote:
> 
>>Basically you can only reload it once and then it'll refuse to talk unless
>>you run /etc/rc.d/named restart.
> 
> 
> Hi,
> 
>     My first guess is to verify the /etc/namedb ->
> /var/named/etc/namedb link. I have production name server running with
> 5.3-BETA7 in jail without problem, and I can `rndc reload` as many
> times as I want. (some more jail specific tweaks, although still in
> default chroot mode.)
> 
>     If my memory serves me right, I solved the same problem by make
> the link correct.
> 
> Cheers
> 

The symlink and /var/named structure is fine as i completely rm -rf'd 
them before letting the new named rc.d script create them. I found the 
issue but am not sure what to do about it. On the second reload there is 
a message in syslog saying:

none:0: open: /etc/namedb/rndc.key: permission denied

So I am assuming because the chroot is set to /var/named it can't access 
this or something?

Matt.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4167FD01.3040305>