[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: BIND 9 questions



> /var is mount'ed nodev by default ( mount | grep /var ) ...

Ah, I did not know that. Thanks, I'll have to remember that. I'll just use the file then.

> Well, you just said named is chrooted by default to /var/named.  So you
> will need to chop that to 'file "named.log";'.

Using 'file "named.log"' yields the same "permission denied" as 'file "/named.log"', which makes sense, I think. Anyway, I guess I was confused by the fact that file "/var/named/named.log" gave me a "file not found" error, but now I'm realizing that it was unable to find /var/named relative to the chroot as opposed to the actual named.log file itself (which should be created when not found).

I didn't want to change the default permissions on the /var/named directory itself, so I created a /var/named/log directory with write permissions for the named group and that seems to do the trick. 

Thanks Jolan and Okan!

Mark Robinson