In message <543a4244.1000...@freebsd.org>, 
Matthew Seaman <matt...@freebsd.org> wrote:

>On 12/10/2014 02:05, Ronald F. Guilmette wrote:
>...
>>     /var/named/var/run/named/session.key
>>
>> So, um, how come?  The default location wasn't good enough?
>
>You're running chrooted to /var/named.  All paths will have /var/named
>tacked onto the front.

Ah!  OK.  It makes sense now.

>> So, um, what is the Right Solution here?  Do I need to re-jigger
>> the permissions on /var/named/etc/namedb/master to 0775 and then
>> add user-ID "bind" to the wheel group in /etc/groups?
>
>/var/named/etc/namedb/master is for zones where the data is managed by
>means other than dynamic update.
>
>If you're using dynamic update, then create a new directory
>/ver/named/etc/namedb/dynamic and make it mode 755 but owned by the bind
>UID and GID (similar to the slave directory).  Use that for storing the
>data for all your dynamic update zones.

OK, thanks much.  I will certainly do that.

(In fact, that is so obviously the correct solution that I am a bit
embarassed that I didn't just think of it myself.)
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to