permissions on /etc/namedb

Eugene Grosbein eugen at kuzbass.ru
Sun Aug 3 15:20:41 UTC 2008


On Sun, Aug 03, 2008 at 10:32:22PM +1000, Ian Smith wrote:

>  > I need /etc/namedb to be owned by root:bind and have permissions 01775,
>  > so bind may write to it but may not overwrite files that belong to root
>  > here, and I made it so. Suprise!
>  > 
>  > # /etc/rc.d/named restart                                                       
>  > Stopping named.                                                                 
>  > Waiting for PIDS: 1892.                                                         
>  > etc/namedb changed                                                              
>  >         gid expected 0 found 53 modified                                        
>  >         permissions expected 0755 found 01775 modified                          
>  > Starting named.
> 
> Are you running /etc/namedb linked to chroot'd /var/named/etc/namedb?
> If so, that'd be mtree restoring perms from /etc/mtree/BIND.chroot.dist

I just have 'named_enable="YES"' in /etc/rc.conf, it's 6.3-STABLE
and stock bind9. I could set named_chroot_autoupdate="NO",
but I see now it won't mount devfs into chroot are in that case.

Eugene Grosbein


More information about the freebsd-net mailing list