bind-chroot directory permissions?
ignored_mailbox at yahoo.com.au
Fri Sep 25 15:40:11 UTC 2009
On Fri, 2009-09-25 at 11:21 -0400, Tom Horsley wrote:
> I recently enabled dynamic DNS for the virtual machines I've
> been installing and named started getting errors (running
> as chroot) trying to write .jnl files to the /var/named
> directory under the chroot. Fixing the directory to
> be root:named 770 instead of root:named 750 took care of
Are you trying to write to the correct directories?
On my older (than Fedora 11 box), as I've not installed a name server
for a while, the master files are in: /var/named/chroot/var/named/
with slaves in: /var/named/chroot/var/named/slaves/
and data dumped into: /var/named/chroot/var/named/data/
drwxr-x--- root named /var/named/
drwxr-x--- root named /var/named/chroot/
drwxr-x--- root named /var/named/chroot/var/
drwxr-x--- named named /var/named/chroot/var/named/
And the files and directories inside the last directory listed (above)
-rw-r--r-- 1 named named
Also, how have you got SELinux set?
If it's running, how did you create the files inside your chroot? If
you created them there, or copied them to there, they should be fine.
But if you created them elsewhere, and moved them to the chroot, they
may have the wrong contexts.
[tim at localhost ~]$ uname -r
Don't send private replies to my address, the mailbox is ignored. I
read messages from the public lists.
More information about the users