[openSuSE 11.1] the working directory is not writable
Mark Andrews
Mark_Andrews at isc.org
Mon Jan 12 22:42:05 UTC 2009
In message <38a5da31-c967-4558-8659-ffaec0e437c0 at s9g2000prm.googlegroups.com>, Lothar Behrens writes:
> Hi,
>
> I have read some postings here in the group that states to set the
> group writability for the named directory.
> But it still keeps logging the error message from the topic.
>
> Log:
>
> Jan 9 11:55:53 vmhost named[11970]: starting BIND 9.5.0-P2 -t /var/
> lib/named -u named
Upgrade:
2389. [bug] Move the "working directory writable" check to after
the ns_os_changeuser() call. [RT #18326]
> Jan 9 11:55:53 vmhost named[11970]: found 1 CPU, using 1 worker
> thread
> Jan 9 11:55:53 vmhost named[11970]: loading configuration from '/etc/
> named.conf'
> Jan 9 11:55:53 vmhost named[11970]: the working directory is not
> writable
>
> My working directory is /var/lib/named and the permissions ara as
> follows:
>
> vmhost:/var/lib # ls -l named
> total 52
> -rw-r--r-- 1 named named 192 Jul 4 2001 127.0.0.zone
> -rw-rw-r-- 1 named named 260 Jan 7 13:01 192.168.100.zone
> -rw-rw-r-- 1 named named 230 Jan 6 22:35 192.168.150.zone
> -rw-rw-r-- 1 named named 217 Jan 6 22:35 192.168.178.zone
> -rw-rw-r-- 1 named named 467 Jan 9 11:30 behrens.de
> drwxr-xr-x 2 named named 4096 Jan 6 20:51 dev
> drwxr-xr-x 2 named named 4096 Dec 9 20:40 dyn
> drwxr-xr-x 3 named named 4096 Jan 9 11:55 etc
> -rw-r--r-- 1 named named 158 Jul 4 2001 localhost.zone
> drwxr-xr-x 2 named named 4096 Jan 9 11:32 log
> -rw-r--r-- 1 named named 2878 Dec 9 20:40 root.hint
> drwxr-xr-x 2 named named 4096 Dec 9 20:40 slave
> drwxr-xr-x 4 named named 4096 Jan 6 18:21 var
>
> vmhost:/var/lib # ls -l
>
> drwxrwxr-x 8 named named 4096 Jan 9 11:30 named
>
> I have added g+w permissions to the zone files and behrens.de, but
> this also doesn't help.
>
> My named.conf looks like this:
>
> options {
>
> # The directory statement defines the name server's working
> directory
>
> directory "/var/lib/named";
>
> # Write dump and statistics file to the log subdirectory. The
> # pathenames are relative to the chroot jail.
>
> dump-file "/var/log/named_dump.db";
> statistics-file "/var/log/named.stats";
>
> ...
>
> What am I doing wrong ?
>
> Are the dump-file and statistics-file entries the reason ?
>
> Thanks
>
> Lothar
> _______________________________________________
> bind-users mailing list
> bind-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users
--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: Mark_Andrews at isc.org
More information about the bind-users
mailing list