| Summary: | SELinux is preventing /usr/libexec/postfix/local from 'write' accesses on the file till.lock. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Till Maas <opensource> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 14 | CC: | dwalsh, mgrepl, opensource |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:3180fd5b41479b0dadd2c7f381df8ba09cfff3ac64594e25ffa82dced3356340 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-02-21 09:09:33 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
*** This bug has been marked as a duplicate of bug 677015 *** |
SELinux is preventing /usr/libexec/postfix/local from 'write' accesses on the file till.lock. ***** Plugin catchall_boolean (89.3 confidence) suggests ******************* If you want to allow postfix_local domain full write access to mail_spool directories Then you must tell SELinux about this by enabling the 'allow_postfix_local_write_mail_spool' boolean. Do setsebool -P allow_postfix_local_write_mail_spool 1 ***** Plugin catchall (11.6 confidence) suggests *************************** If you believe that local should be allowed write access on the till.lock file 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 local /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:postfix_local_t:s0 Target Context system_u:object_r:mail_spool_t:s0 Target Objects till.lock [ file ] Source local Source Path /usr/libexec/postfix/local Port <Unbekannt> Host (removed) Source RPM Packages postfix-2.7.1-1.fc14 Target RPM Packages Policy RPM selinux-policy-3.9.7-20.fc14 Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 2.6.35.10-74.fc14.x86_64 #1 SMP Thu Dec 23 16:04:50 UTC 2010 x86_64 x86_64 Alert Count 2 First Seen Fr 21 Jan 2011 08:33:06 CET Last Seen Fr 28 Jan 2011 08:49:01 CET Local ID 63c4f628-4639-42c8-b3de-07fe116440b2 Raw Audit Messages type=AVC msg=audit(1296200941.323:9): avc: denied { write } for pid=2698 comm="local" name="till.lock" dev=dm-2 ino=1496 scontext=system_u:system_r:postfix_local_t:s0 tcontext=system_u:object_r:mail_spool_t:s0 tclass=file type=SYSCALL msg=audit(1296200941.323:9): arch=x86_64 syscall=open success=yes exit=EFAULT a0=7fdede570e60 a1=c1 a2=0 a3=24 items=0 ppid=2641 pid=2698 auid=4294967295 uid=0 gid=0 euid=500 suid=0 fsuid=500 egid=12 sgid=0 fsgid=12 tty=(none) ses=4294967295 comm=local exe=/usr/libexec/postfix/local subj=system_u:system_r:postfix_local_t:s0 key=(null) Hash: local,postfix_local_t,mail_spool_t,file,write audit2allow #============= postfix_local_t ============== #!!!! This avc can be allowed using the boolean 'allow_postfix_local_write_mail_spool' allow postfix_local_t mail_spool_t:file write; audit2allow -R #============= postfix_local_t ============== #!!!! This avc can be allowed using the boolean 'allow_postfix_local_write_mail_spool' allow postfix_local_t mail_spool_t:file write;