I'm using Bind9 and Ubuntu 8.04 kernel 2.6.24.
Named runs as bind user and in my named.conf.local I wrote:

logging {
        channel query.log {
                file "/var/log/query.log";
                severity dynamic;
        };
        category queries { query.log; };
};

but in /var/log/messages:

Jan 11 09:16:24 vmcm3-01 kernel: [  983.091894]
audit(1263197784.510:10): type=1503 operation="inode_permission"
requested_mask="a::" denied_mask="a::" name="/var/log/query.log"
pid=4156 profile="/usr/sbin/named" namespace="default"

The user ov /var/log/query.log is bind and the group is bind with mask
664

Where is the problem?

--------------------------------------------------------------------------------
Questo messaggio e-mail e ogni documento ad esso eventualmente allegato puo' 
avere carattere riservato ed essere tutelato da segreto. Esso,comunque, e'
ad esclusivo utilizzo del destinatario in indirizzo. Qualora non foste il 
destinatario del messaggio vi preghiamo di volerci avvertire immediatamente per 
e-mail o telefono e di cancellare il presente messaggio e ogni eventuale 
allegato dal vostro sistema. E' vietata la duplicazione o l'utilizzo per 
qualunque fine del messaggio e di ogni allegato, nonche' la loro divulgazione, 
distribuzione o inoltro a terzi senza l'espressa autorizzazione del mittente. 
In ragione del mezzo di trasmissione utilizzato, il mittente non assume alcuna 
responsabilita' sulla segretezza/riservatezza delle informazioni contenute nel 
messaggio e nei relativi allegati. 

This e-mail and any file transmitted with it may contain material that is 
confidential, privileged and/or attorney work product for the sole use of the 
intended recipient. If you are not the intended recipient of this e-mail, 
please do not read it, notify us immediately by e-mail or by telephone and then 
delete this message and any file attached from your system. You should not copy 
or use it for any purpose, disclose the contents of the same to any other 
person or forward it without express permission.
Considering the means of transmission, we do not undertake any liability with 
respect to the secrecy and confidentiality of the information contained in this 
e-mail and its attachments.

_______________________________________________
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to