| Summary: | SELinux is preventing /usr/sbin/abrtd from 'unlink' accesses on the sock_file abrt.socket. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Nikola Pajkovsky <npajkovs> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 16 | CC: | dhoward, dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:fb2975c0c38ae99814cddaa95e5f21c33bf29c396dfc4831d3b615a174a4bdc9 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-12-13 08:57:36 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Where is this socket placed? |
libreport version: 2.0.7.49.g9038 executable: /usr/bin/python hashmarkername: setroubleshoot kernel: 3.1.4-1.fc16.x86_64 reason: SELinux is preventing /usr/sbin/abrtd from 'unlink' accesses on the sock_file abrt.socket. time: Wed 07 Dec 2011 06:59:50 PM CET description: :SELinux is preventing /usr/sbin/abrtd from 'unlink' accesses on the sock_file abrt.socket. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that abrtd should be allowed unlink access on the abrt.socket sock_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 abrtd /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context system_u:system_r:abrt_t:s0-s0:c0.c1023 :Target Context unconfined_u:object_r:var_run_t:s0 :Target Objects abrt.socket [ sock_file ] :Source abrtd :Source Path /usr/sbin/abrtd :Port <Unknown> :Host (removed) :Source RPM Packages abrt-2.0.6-1.fc16 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-64.fc16 :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) 3.1.4-1.fc16.x86_64 #1 SMP Tue Nov : 29 11:37:53 UTC 2011 x86_64 x86_64 :Alert Count 1 :First Seen Wed 07 Dec 2011 06:59:04 PM CET :Last Seen Wed 07 Dec 2011 06:59:04 PM CET :Local ID 1f60ea15-1f1b-483f-93fd-3e8886d96f78 : :Raw Audit Messages :type=AVC msg=audit(1323280744.751:256): avc: denied { unlink } for pid=6138 comm="abrtd" name="abrt.socket" dev=tmpfs ino=82276 scontext=system_u:system_r:abrt_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:var_run_t:s0 tclass=sock_file : : :type=SYSCALL msg=audit(1323280744.751:256): arch=x86_64 syscall=unlink success=no exit=EACCES a0=403e02 a1=5 a2=5 a3=7fff40456330 items=0 ppid=1 pid=6138 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=abrtd exe=/usr/sbin/abrtd subj=system_u:system_r:abrt_t:s0-s0:c0.c1023 key=(null) : :Hash: abrtd,abrt_t,var_run_t,sock_file,unlink : :audit2allow : :#============= abrt_t ============== :allow abrt_t var_run_t:sock_file unlink; : :audit2allow -R : :#============= abrt_t ============== :allow abrt_t var_run_t:sock_file unlink; :