Hide Forgot
SELinux is preventing /usr/libexec/polkit-1/polkitd from 'getattr' accesses on the file /var/run/ConsoleKit/database. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that polkitd should be allowed getattr 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 45 First Seen Tue 24 May 2011 12:08:58 PM CDT Last Seen Tue 24 May 2011 12:19:43 PM CDT Local ID f04fc1df-9e58-4489-bd14-8e149b2f7047 Raw Audit Messages type=AVC msg=audit(1306257583.468:180): avc: denied { getattr } for pid=1334 comm="polkitd" path="/var/run/ConsoleKit/database" dev=sda6 ino=10407 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(1306257583.468:180): arch=x86_64 syscall=stat success=no exit=EACCES a0=33bd213595 a1=7fff4847d910 a2=7fff4847d910 a3=656c6f736e6f432f items=0 ppid=1 pid=1334 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,getattr audit2allow #============= policykit_t ============== allow policykit_t consolekit_var_run_t:file getattr; audit2allow -R #============= policykit_t ============== allow policykit_t consolekit_var_run_t:file getattr;
This is allowed in F15/Rawhide.
Should be fixed in the latest F14 policy build. selinux-policy-3.9.7-41.fc14 You can download it from Koji for now http://koji.fedoraproject.org/koji/buildinfo?buildID=243234
selinux-policy-3.9.7-42.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/selinux-policy-3.9.7-42.fc14
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).
selinux-policy-3.9.7-42.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.