| Summary: | SELinux is preventing /usr/libexec/dovecot/dovecot-lda from 'use' accesses on the fd fd. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Nicolas Mailhot <nicolas.mailhot> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:99d15c2eea155f6fbb7f77f8453bb964f4a65982f805f7081c68a523d720921b | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-02-10 08:48:39 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
I think these are the legit ones where path="pipe"? added this to master. If i am wrong please let me know and i will revert: http://git.fedorahosted.org/git/?p=selinux-policy.git;a=commitdiff;h=2265b98c1681f49bd1426bd9221ed1346d971d15 Fixed in selinux-policy-3.9.16-29.fc16 |
SELinux is preventing /usr/libexec/dovecot/dovecot-lda from 'use' accesses on the fd fd. ***** Plugin catchall_boolean (80.5 confidence) suggests ******************* If you want to allow all domains to use other domains file descriptors Then you must tell SELinux about this by enabling the 'allow_domain_fd_use' boolean. Do setsebool -P allow_domain_fd_use 1 ***** Plugin leaks (10.5 confidence) suggests ****************************** If you want to ignore dovecot-lda trying to use access the fd fd, because you believe it should not need this access. Then you should report this as a bug. You can generate a local policy module to dontaudit this access. Do # grep /usr/libexec/dovecot/dovecot-lda /var/log/audit/audit.log | audit2allow -D -M mypol # semodule -i mypol.pp ***** Plugin catchall (10.5 confidence) suggests *************************** If you believe that dovecot-lda should be allowed use access on the fd fd by default. Then you should report this as a bug. You can generate a local policy module to allow this access. Do allow this access for now by executing: # grep deliver /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:dovecot_deliver_t:s0 Target Context system_u:system_r:postfix_master_t:s0 Target Objects fd [ fd ] Source deliver Source Path /usr/libexec/dovecot/dovecot-lda Port <Inconnu> Host (removed) Source RPM Packages dovecot-2.0.13-1.fc16 Target RPM Packages Policy RPM selinux-policy-3.9.16-28.fc16 Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 3.0-0.rc3.git0.3.fc16.x86_64 #1 SMP Tue Jun 14 17:13:27 UTC 2011 x86_64 x86_64 Alert Count 2 First Seen mer. 15 juin 2011 21:30:10 CEST Last Seen mer. 15 juin 2011 21:30:20 CEST Local ID eb7412d5-8a29-49ec-9dc9-1618748e2790 Raw Audit Messages type=AVC msg=audit(1308166220.592:150): avc: denied { use } for pid=3699 comm="deliver" path="pipe:[18652]" dev=pipefs ino=18652 scontext=system_u:system_r:dovecot_deliver_t:s0 tcontext=system_u:system_r:postfix_master_t:s0 tclass=fd type=SYSCALL msg=audit(1308166220.592:150): arch=x86_64 syscall=execve success=yes exit=0 a0=7f1edb5f2b20 a1=7f1edb5f2ab0 a2=7f1edb5f2910 a3=7fffd8f20600 items=0 ppid=3647 pid=3699 auid=4294967295 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=4294967295 comm=deliver exe=/usr/libexec/dovecot/dovecot-lda subj=system_u:system_r:dovecot_deliver_t:s0 key=(null) Hash: deliver,dovecot_deliver_t,postfix_master_t,fd,use audit2allow #============= dovecot_deliver_t ============== #!!!! This avc can be allowed using the boolean 'allow_domain_fd_use' allow dovecot_deliver_t postfix_master_t:fd use; audit2allow -R #============= dovecot_deliver_t ============== #!!!! This avc can be allowed using the boolean 'allow_domain_fd_use' allow dovecot_deliver_t postfix_master_t:fd use;