| Summary: | SELinux is preventing /usr/libexec/polkit-1/polkitd from 'write' accesses on the sock_file log. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Horst H. von Brand <vonbrand> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 15 | CC: | dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:811c6d40d22888d450e506a0005dcec8fb2638a41a2c7fb1235b392da3dac215 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-03-28 11:31:23 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 691145 *** |
SELinux is preventing /usr/libexec/polkit-1/polkitd from 'write' accesses on the sock_file log. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that polkitd should be allowed write access on the log 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 polkitd /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:policykit_t:s0-s0:c0.c1023 Target Context system_u:object_r:device_t:s0 Target Objects log [ sock_file ] Source polkitd Source Path /usr/libexec/polkit-1/polkitd Port <Unknown> Host (removed) Source RPM Packages polkit-0.101-4.fc15 Target RPM Packages Policy RPM selinux-policy-3.9.16-6.fc15 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 2.6.38.1-6.fc15.x86_64 #1 SMP Wed Mar 23 22:43:31 UTC 2011 x86_64 x86_64 Alert Count 8 First Seen Fri 25 Mar 2011 08:51:52 AM CLST Last Seen Sun 27 Mar 2011 12:01:55 AM CLST Local ID de5e4078-2fcf-4943-b673-df4bf124a6b2 Raw Audit Messages type=AVC msg=audit(1301194915.853:1029): avc: denied { write } for pid=1142 comm="polkitd" name="log" dev=devtmpfs ino=16533 scontext=system_u:system_r:policykit_t:s0-s0:c0.c1023 tcontext=system_u:object_r:device_t:s0 tclass=sock_file type=SYSCALL msg=audit(1301194915.853:1029): arch=x86_64 syscall=connect success=no exit=EACCES a0=b a1=330c1997c0 a2=6e a3=0 items=0 ppid=1 pid=1142 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=polkitd exe=/usr/libexec/polkit-1/polkitd subj=system_u:system_r:policykit_t:s0-s0:c0.c1023 key=(null) Hash: polkitd,policykit_t,device_t,sock_file,write audit2allow #============= policykit_t ============== allow policykit_t device_t:sock_file write; audit2allow -R #============= policykit_t ============== allow policykit_t device_t:sock_file write;