|
楼主 |
发表于 2005-10-27 11:53:58
|
显示全部楼层
for kevin
[root@client ~]# ll /var/named/chroot/var/
total 6
drwxrwx--- 4 root named 1024 Oct 25 15:18 named
drwxrwx--- 3 root named 1024 Oct 25 15:17 run
drwxrwx--- 2 named named 1024 Mar 14 2003 tmp
[root@server ~]# ll /var/named/chroot/var/named/
total 24
-rw-r--r-- 1 root root 561 Oct 26 14:24 arpa-example.zone
drwxrwx--- 2 named named 1024 Aug 26 2004 data
-rw-r--r-- 1 root root 311 Oct 26 14:27 example.zone
and i got the debug info
Oct 27 11:17:57 client named[3103]: transfer of '0.168.192.in-addr.arpa/IN' from 192.168.0.1#53: failed while receiving responses: permission denied
Oct 27 11:17:57 client named[3103]: transfer of '0.168.192.in-addr.arpa/IN' from 192.168.0.1#53: end of transfer
Oct 27 11:17:57 client named[3103]: dumping master file: tmp-XXXXT4IcUY: open: permission denied
Oct 27 11:17:57 client named[3103]: transfer of 'example.org/IN' from 192.168.0.1#53: failed while receiving responses: permission denied
Oct 27 11:17:57 client named[3103]: transfer of 'example.org/IN' from 192.168.0.1#53: end of transfer
Oct 27 11:17:57 client kernel: audit(1130383077.852:0): avc: denied { write } for pid=3106 exe=/usr/sbin/named name=named dev=sda5 ino=36885 scontext=root:system_r:named_t tcontext=system_ubject_r:named_zone_t tclass=dir |
|