bermejator.com

Inside bermejator.com
It is currently Tue Sep 07, 2010 2:57 pm

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: named: the working directory is not writable
PostPosted: Wed Apr 07, 2010 1:15 am 
Online
User avatar

Joined: Thu Jul 23, 2009 6:30 pm
Posts: 445
Hi,

I think owners file structure in named for FreeBSD changed.

I just note multitude of warnings like:
Quote:
Apr 7 03:01:34 ns1 named[25726]: starting BIND 9.6.1-P2 -u bind
Apr 7 03:01:34 ns1 named[25726]: built with '--prefix=/usr' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--enable-threads' '--disable-ipv6' '--enable-getifaddrs' '--disable-linux-caps' '--with-openssl=/usr' '--with-randomdev=/dev/random' '--without-idn' '--without-libxml2'
Apr 7 03:01:34 ns1 named[25726]: the working directory is not writable


Easy to solve, just edit new owner file structure:
Code:
# cd /var/named/
# chown bind:wheel .
# chown -R bind:wheel *
# chmod -R g+w *
# chmod -R g+r *


And replace in /etc/mtree/BIND.chroot.dist
Quote:
/set type=dir uname=root gname=wheel mode=0755

for
Quote:
/set type=dir uname=bind gname=wheel mode=0755


Now, all is ok ;)
BerMeJo


Top
 Profile  
 
Display posts from previous:   Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by:
bermejator.com