| Summary: | SELinux is preventing /usr/libexec/polkit-1/polkitd from 'read' accesses on the file /var/run/ConsoleKit/database. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Mijax <mijax.mijax> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 14 | CC: | dominick.grift, dwalsh, jonstewartfanboy, mgrepl, mijax.mijax |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:25574c538bfd1a94aa27db61766b3c5bdb1ff4b031f34ba42f4bcf9ff087ce61 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-08-16 22:37:20 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 did: # grep polkitd /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp But still the alert is shown. Package selinux-policy-3.9.7-42.fc14: * should fix your issue, * was pushed to the Fedora 14 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.9.7-42.fc14' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/selinux-policy-3.9.7-42.fc14 then log in and leave karma (feedback). This message is a notice that Fedora 14 is now at end of life. Fedora has stopped maintaining and issuing updates for Fedora 14. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At this time, all open bugs with a Fedora 'version' of '14' have been closed as WONTFIX. (Please note: Our normal process is to give advanced warning of this occurring, but we forgot to do that. A thousand apologies.) Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, feel free to reopen this bug and simply change the 'version' to a later Fedora version. Bug Reporter: Thank you for reporting this issue and we are sorry that we were unable to fix it before Fedora 14 reached end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged to click on "Clone This Bug" (top right of this page) and open it against that version of Fedora. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping |
SELinux is preventing /usr/libexec/polkit-1/polkitd from 'read' accesses on the file /var/run/ConsoleKit/database. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that polkitd should be allowed read access on the database 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:consolekit_var_run_t:s0 Target Objects /var/run/ConsoleKit/database [ file ] Source polkitd Source Path /usr/libexec/polkit-1/polkitd Port <Unknown> Host (removed) Source RPM Packages polkit-0.98-5.fc14 Target RPM Packages Policy RPM selinux-policy-3.9.7-40.fc14 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 2.6.35.13-91.fc14.x86_64 #1 SMP Tue May 3 13:23:06 UTC 2011 x86_64 x86_64 Alert Count 5 First Seen Thu 26 May 2011 03:38:21 PM IRDT Last Seen Sat 28 May 2011 08:39:49 AM IRDT Local ID c074cca5-b1f1-4c6e-b92c-d7b646d0e5e7 Raw Audit Messages type=AVC msg=audit(1306555789.531:20): avc: denied { read } for pid=1180 comm="polkitd" name="database" dev=sda3 ino=6927 scontext=system_u:system_r:policykit_t:s0-s0:c0.c1023 tcontext=system_u:object_r:consolekit_var_run_t:s0 tclass=file type=SYSCALL msg=audit(1306555789.531:20): arch=x86_64 syscall=open success=no exit=EACCES a0=7f05957c5595 a1=0 a2=0 a3=1 items=0 ppid=1 pid=1180 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,consolekit_var_run_t,file,read audit2allow #============= policykit_t ============== allow policykit_t consolekit_var_run_t:file read; audit2allow -R #============= policykit_t ============== allow policykit_t consolekit_var_run_t:file read;