logging permission denied
Robert Spangler
mlists at zoominternet.net
Thu Sep 18 15:30:24 UTC 2008
On Thursday 18 September 2008 09:48, aklist wrote:
> > File is relative to chroot dir. modify file "/var/log/named/named.log"
> > to reflect this change and retry.
>
> Thanks...I'm not sure how to target the chroot'd path though?
>
> Is there a path var in Fedora that can be used as a shortcut, or does it
> need to be explicit?
>
> If I run "ls -la /var/named" I see there's directory called "chroot", and
> in "chroot" there "/var/named"
>
> Do I need to create an alias there to "/var/log"? And if so, would my file
> path be:
>
> /chroot/var/log/named/named.log?
>
> I'm confused by all the aliasing and how the permissions apply :(
You are running Fedora and bind in a chroot environment.
SELinux by default only allows named to write into Data and Slaves
directories.
So place all your log files into
/var/named/chroot/var/named/data
and your zone files into
/var/named/chroot/var/named/slaves
I placed also the master files into slaves so that it is the same across all
DNS servers.
--
Regards
Robert
It is not just an adventure.
It is my job!!
Linux User #296285
http://counter.li.org
More information about the bind-users
mailing list