postfix rules
Hi Russel,
I get the follow 3 messages.
Jun 4 10:17:21 comundo kernel: avc: denied { execute } for
pid=528 exe=/bin/bash path=/usr/sbin/postqueue dev=03:09 ino=24929
scontext=system_u:system_r:postfix_master_t
tcontext=system_u:object_r:postfix_postqueue_exec_t tclass=file
Jun 4 10:17:21 comundo kernel: avc: denied { execute_no_trans }
for pid=528 exe=/bin/bash path=/usr/sbin/postqueue dev=03:09
ino=24929 scontext=system_u:system_r:postfix_master_t
tcontext=system_u:object_r:postfix_postqueue_exec_t tclass=file
Jun 4 10:17:21 comundo kernel: avc: denied { read } for pid=528 path=/usr/sbin/postqueue dev=03:09 ino=24929 scontext=system_u:system_r:postfix_master_t tcontext=system_u:object_r:postfix_postqueue_exec_t tclass=file
I would add domain_auto_trans(postfix_master_t,postfix_postqueue_exec_t, postfix_postqueue_t)
,but I'm not sure.
What do you thing?
Used postfix version 1.11
Carsten
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 4 lines · Carsten Grohmann
I would add domain_auto_trans(postfix_master_t,
postfix_postqueue_exec_t,postfix_postqueue_t)
,but I'm not sure.
What do you thing?
Adding that policy will solve the apparent problem, I've added it to my tree.
However I am curious as to why this happens on your system but not on mine. I've run many Postfix machines with different versions of Postfix and configurations and not had it run postqueue from postfix_master_t.
I suspect that perhaps your distribution has different scripts for Postfix to run during it's startup phase than in Debian.
Signature · 10 lines
http://www.coker.com.au/selinux/ My NSA Security Enhanced Linux packages http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark http://www.coker.com.au/postal/ Postal SMTP/POP benchmark http://www.coker.com.au/~russell/ My home page -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Am Mittwoch, 4. Juni 2003 12:33 schrieb Russell Coker:
Quoted 8 lines · Carsten Grohmann
Quoted 4 lines
I would add domain_auto_trans(postfix_master_t,
postfix_postqueue_exec_t,postfix_postqueue_t)
,but I'm not sure.
What do you thing?Adding that policy will solve the apparent problem, I've added it to my tree.
I'm sorry, but we need domain_auto_trans_read and not domain_auto_trans
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.