Mailinglist Archive: opensuse (1188 mails)

< Previous Next >
Re: [opensuse] bind: the working directory is not writable
  • From: Chuck Payne <terrorpup@xxxxxxxxx>
  • Date: Fri, 27 Jan 2012 13:46:36 -0500
  • Message-id: <>
On Fri, Jan 27, 2012 at 1:21 PM, Lars Müller <lmuelle@xxxxxxx> wrote:
On Fri, Jan 27, 2012 at 06:49:58PM +0100, lynn wrote:
[ 8< ]
Still no luck:
options {
    directory "/var/lib/named";
    managed-keys-directory "/var/lib/named/dyn/";
    #dump-file "/var/log/named_dump.db";
    #statistics-file "/var/log/named.stats";
 Jan 27 18:34:36 hh3 named[2547]: the working directory is not writable

Yast SysConfig was used to change named to non-chroot

No further comment.  You know it better anyway. :)

ls -la /var
drwxr-xr-x 12 root root 4096 Jan 27 18:28 log

The only way I can fix it is to change the working directory to named:named

Which working directory are you talking about?  Please name the path.

/var/log must not be owned by named.

It looks like your bind configuration leads to more write attempts at
different locations than in the default configuration case.

Either use AppArmor in complain mode to see what's going on or follow
the daemon with strace for example.

After you identified the location the next step is to find a fitting
runtime configuration parameter to adjust your config.


Lars Müller [ˈlaː(r)z ˈmʏlɐ]
Samba Team
SUSE Linux, Maxfeldstraße 5, 90409 Nürnberg, Germany

I had a lot of issue with bind because of AppArmor was running

Check the status of AppArmor, if it running shut it down, under
/etc/apparmor.d remove from that dir ( for now place it root) the
named file

Restart named

See if you are getting that error still, make sure that named owns

chown named.named /var/lib/named -R

Terror PUP a.k.a
Chuck "PUP" Payne

(678) 636-9678
Discover it! Enjoy it! Share it! openSUSE Linux.
openSUSE --
openSUSE Ambassador/openSUSE Member
skype,twiiter,identica,friendfeed -- terrorpup
freenode(irc) --terrorpup/lupinstein
Register Linux Userid: 155363

Have you tried SUSE Studio? Need to create a Live CD,  an app you want
to package and distribute , or create your own linux distro. Give SUSE
Studio a try.
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups