| Summary: | SELinux is preventing /usr/sbin/sendmail.sendmail from 'getattr' accesses on the unix_stream_socket unix_stream_socket. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Michael Brown <michael.brown> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 16 | CC: | dominick.grift, dwalsh, jsimonel, mgrepl, sergei.litvinenko |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:c085ad45b81227a16573e0bf205b87c25f86b35093e7eea0c16067373a4b0c9f | ||
| Fixed In Version: | selinux-policy-3.10.0-56.fc16 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-11-21 00:00:26 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Miroslav backport 3d0af845359aaa4503efddda9b767d4fd6059726 Fixed in selinux-policy-3.10.0-56.fc16 selinux-policy-3.10.0-56.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-56.fc16 Package selinux-policy-3.10.0-56.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing selinux-policy-3.10.0-56.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2011-16003/selinux-policy-3.10.0-56.fc16 then log in and leave karma (feedback). selinux-policy-3.10.0-56.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report. |
libreport version: 2.0.6 executable: /usr/bin/python hashmarkername: setroubleshoot kernel: 3.1.0-7.fc16.x86_64 reason: SELinux is preventing /usr/sbin/sendmail.sendmail from 'getattr' accesses on the unix_stream_socket unix_stream_socket. time: Thu Nov 10 17:50:35 2011 description: :SELinux is preventing /usr/sbin/sendmail.sendmail from 'getattr' accesses on the unix_stream_socket unix_stream_socket. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that sendmail.sendmail should be allowed getattr access on the unix_stream_socket unix_stream_socket 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 sendmail /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context system_u:system_r:system_mail_t:s0-s0:c0.c1023 :Target Context system_u:system_r:init_t:s0 :Target Objects unix_stream_socket [ unix_stream_socket ] :Source sendmail :Source Path /usr/sbin/sendmail.sendmail :Port <Unknown> :Host (removed) :Source RPM Packages sendmail-8.14.5-6.fc16 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-51.fc16 :Selinux Enabled True :Policy Type targeted :Enforcing Mode Permissive :Host Name (removed) :Platform Linux (removed) 3.1.0-7.fc16.x86_64 #1 : SMP Tue Nov 1 21:10:48 UTC 2011 x86_64 x86_64 :Alert Count 1 :First Seen Thu 10 Nov 2011 05:01:02 PM EST :Last Seen Thu 10 Nov 2011 05:01:02 PM EST :Local ID e0d1a5fd-7cdb-471f-8831-b9aeed54dcde : :Raw Audit Messages :type=AVC msg=audit(1320962462.700:508): avc: denied { getattr } for pid=4490 comm="sendmail" path="socket:[16328]" dev=sockfs ino=16328 scontext=system_u:system_r:system_mail_t:s0-s0:c0.c1023 tcontext=system_u:system_r:init_t:s0 tclass=unix_stream_socket : : :type=SYSCALL msg=audit(1320962462.700:508): arch=x86_64 syscall=fstat success=yes exit=0 a0=1 a1=7fffdae45850 a2=7fffdae45850 a3=7fffdae455e0 items=0 ppid=4456 pid=4490 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=51 sgid=51 fsgid=51 tty=(none) ses=60 comm=sendmail exe=/usr/sbin/sendmail.sendmail subj=system_u:system_r:system_mail_t:s0-s0:c0.c1023 key=(null) : :Hash: sendmail,system_mail_t,init_t,unix_stream_socket,getattr : :audit2allow : :#============= system_mail_t ============== :allow system_mail_t init_t:unix_stream_socket getattr; : :audit2allow -R : :#============= system_mail_t ============== :allow system_mail_t init_t:unix_stream_socket getattr; :