Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora SELinux Support (http://www.linux-archive.org/fedora-selinux-support/)
-   -   dovecot denials (http://www.linux-archive.org/fedora-selinux-support/686881-dovecot-denials.html)

Vadym Chepkov 07-24-2012 10:54 AM

dovecot denials
 
Hi,

man dovecot_selinux doesn't show any booleans and yet I get the following AVC, which in my opinion should be allowed:

----
time->Mon Jul 23 00:10:03 2012
type=SYSCALL msg=audit(1343002203.689:153237): arch=40000003 syscall=33 success=yes exit=0 a0=8a472c0 a1=2 a2=bb2d84 a3=8a73418 items=0 ppid=1265 pid=22329 auid=4294967295 uid=505 gid=505 euid=505 suid=505 fsuid=505 egid=505 sgid=505 fsgid=505 tty=(none) ses=4294967295 comm="imap" exe="/usr/libexec/dovecot/imap" subj=system_u:system_r:dovecot_t:s0 key=(null)
type=AVC msg=audit(1343002203.689:153237): avc: denied { write } for pid=22329 comm="imap" name="cur" dev=xvdb1 ino=1045676 scontext=system_u:system_r:dovecot_t:s0 tcontext=unconfined_u:object_r:mail_home_rw_t:s0 tclass=dir
----
time->Mon Jul 23 00:10:03 2012
type=SYSCALL msg=audit(1343002203.689:153238): arch=40000003 syscall=5 success=yes exit=10 a0=8a8dc90 a1=8002 a2=0 a3=bfe7f998 items=0 ppid=1265 pid=22329 auid=4294967295 uid=505 gid=505 euid=505 suid=505 fsuid=505 egid=505 sgid=505 fsgid=505 tty=(none) ses=4294967295 comm="imap" exe="/usr/libexec/dovecot/imap" subj=system_u:system_r:dovecot_t:s0 key=(null)
type=AVC msg=audit(1343002203.689:153238): avc: denied { open } for pid=22329 comm="imap" name="dovecot.index.log" dev=xvdb1 ino=1046322 scontext=system_u:system_r:dovecot_t:s0 tcontext=system_u:object_r:mail_home_rw_t:s0 tclass=file
type=AVC msg=audit(1343002203.689:153238): avc: denied { read write } for pid=22329 comm="imap" name="dovecot.index.log" dev=xvdb1 ino=1046322 scontext=system_u:system_r:dovecot_t:s0 tcontext=system_u:object_r:mail_home_rw_t:s0 tclass=file
----

selinux-policy-targeted-3.7.19-155.el6_3.noarch

Have I missed something?

Thanks,
Vadym

--
selinux mailing list
selinux@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/selinux

Miroslav Grepl 07-24-2012 02:27 PM

dovecot denials
 
On 07/24/2012 10:54 AM, Vadym Chepkov wrote:

Hi,

man dovecot_selinux doesn't show any booleans and yet I get the following AVC, which in my opinion should be allowed:

----
time->Mon Jul 23 00:10:03 2012
type=SYSCALL msg=audit(1343002203.689:153237): arch=40000003 syscall=33 success=yes exit=0 a0=8a472c0 a1=2 a2=bb2d84 a3=8a73418 items=0 ppid=1265 pid=22329 auid=4294967295 uid=505 gid=505 euid=505 suid=505 fsuid=505 egid=505 sgid=505 fsgid=505 tty=(none) ses=4294967295 comm="imap" exe="/usr/libexec/dovecot/imap" subj=system_u:system_r:dovecot_t:s0 key=(null)
type=AVC msg=audit(1343002203.689:153237): avc: denied { write } for pid=22329 comm="imap" name="cur" dev=xvdb1 ino=1045676 scontext=system_u:system_r:dovecot_t:s0 tcontext=unconfined_u:object_r:mail_home_rw_t:s0 tclass=dir
----
time->Mon Jul 23 00:10:03 2012
type=SYSCALL msg=audit(1343002203.689:153238): arch=40000003 syscall=5 success=yes exit=10 a0=8a8dc90 a1=8002 a2=0 a3=bfe7f998 items=0 ppid=1265 pid=22329 auid=4294967295 uid=505 gid=505 euid=505 suid=505 fsuid=505 egid=505 sgid=505 fsgid=505 tty=(none) ses=4294967295 comm="imap" exe="/usr/libexec/dovecot/imap" subj=system_u:system_r:dovecot_t:s0 key=(null)
type=AVC msg=audit(1343002203.689:153238): avc: denied { open } for pid=22329 comm="imap" name="dovecot.index.log" dev=xvdb1 ino=1046322 scontext=system_u:system_r:dovecot_t:s0 tcontext=system_u:object_r:mail_home_rw_t:s0 tclass=file
type=AVC msg=audit(1343002203.689:153238): avc: denied { read write } for pid=22329 comm="imap" name="dovecot.index.log" dev=xvdb1 ino=1046322 scontext=system_u:system_r:dovecot_t:s0 tcontext=system_u:object_r:mail_home_rw_t:s0 tclass=file
----

selinux-policy-targeted-3.7.19-155.el6_3.noarch

Have I missed something?

Thanks,
Vadym




--
selinux mailing list
selinux@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/selinux

Try the latest RHEL6 policy from



http://people.redhat.com/dwalsh/SELinux/RHEL6/noarch/



--
selinux mailing list
selinux@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/selinux


All times are GMT. The time now is 05:33 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.