Summary: SELinux is preventing /usr/libexec/polkit-1/polkit-agent-helper-1 "getattr" access on /root/.pam-face-authentication/config/mace.xml. Detailed Description: [SELinux is in permissive mode. This access was not denied.] SELinux denied access requested by polkit-agent-he. It is not expected that this access is required by polkit-agent-he and this access may signal an intrusion attempt. It is also possible that the specific version or configuration of the application is causing it to require additional access. Allowing Access: You can generate a local policy module to allow this access - see FAQ (http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug report. Additional Information: Source Context unconfined_u:unconfined_r:policykit_auth_t:s0-s0:c 0.c1023 Target Context unconfined_u:object_r:admin_home_t:s0 Target Objects /root/.pam-face-authentication/config/mace.xml [ file ] Source polkit-agent-he Source Path /usr/libexec/polkit-1/polkit-agent-helper-1 Port <Unknown> Host (removed) Source RPM Packages polkit-0.95-0.git20090913.3.fc12 Target RPM Packages Policy RPM selinux-policy-3.6.32-78.fc12 Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Plugin Name catchall Host Name (removed) Platform Linux (removed) 2.6.31.12-174.2.3.fc12.x86_64 #1 SMP Mon Jan 18 19:52:07 UTC 2010 x86_64 x86_64 Alert Count 2 First Seen IST 12:24:58 2010 ינו 31 א' Last Seen IST 14:49:50 2010 ינו 31 א' Local ID 3bf91f79-acbd-4e2b-8b8b-638b9bc397fe Line Numbers Raw Audit Messages node=(removed) type=AVC msg=audit(1264942190.614:166): avc: denied { getattr } for pid=7713 comm="polkit-agent-he" path="/root/.pam-face-authentication/config/mace.xml" dev=sda6 ino=1835041 scontext=unconfined_u:unconfined_r:policykit_auth_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:admin_home_t:s0 tclass=file node=(removed) type=SYSCALL msg=audit(1264942190.614:166): arch=c000003e syscall=5 success=yes exit=4294967424 a0=e a1=7fff70d00400 a2=7fff70d00400 a3=0 items=0 ppid=1658 pid=7713 auid=500 uid=500 gid=500 euid=0 suid=0 fsuid=0 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 comm="polkit-agent-he" exe="/usr/libexec/polkit-1/polkit-agent-helper-1" subj=unconfined_u:unconfined_r:policykit_auth_t:s0-s0:c0.c1023 key=(null) Hash String generated from selinux-policy-3.6.32-78.fc12,catchall,polkit-agent-he,policykit_auth_t,admin_home_t,file,getattr audit2allow suggests: #============= policykit_auth_t ============== allow policykit_auth_t admin_home_t:file getattr;
selinux does not allow you to login as root. If you want to login as root you will need to customize the policy. If you do not want to login as root remove this directory form /root and the avc should go away. rm -rf /root/.pam-face-authentication
I didn't try to login as root. I tried to use pam-face-authentication with beesu in order to start gedit as root (to edit a configuration file).
Did it work? What gets put in /root/.pam-face-authentication
Miroslav, lets add userdom_read_admin_home_files(policykit_auth_t)
Added to selinux-policy-3.6.32-81.fc12
selinux-policy-3.6.32-82.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-82.fc12
selinux-policy-3.6.32-84.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update selinux-policy'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-1492
selinux-policy-3.6.32-84.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.