Hide Forgot
Got an denial on login via GDM or ssh. The system uses LDAP / Kerberos for authentication/authorization. type=AVC msg=audit(1319461916.455:122): avc: denied { getattr } for pid=2729 comm="gdm-session-wor" path="/var/tmp/ldapmap1_0" dev=sda6 ino=3147959 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:local_login_tmp_t:s0 tclass=file type=AVC msg=audit(1319461916.455:123): avc: denied { unlink } for pid=2729 comm="gdm-session-wor" name="ldapmap1_0" dev=sda6 ino=3147959 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:local_login_tmp_t:s0 tclass=file type=AVC msg=audit(1319463721.173:234): avc: denied { getattr } for pid=4405 comm="sshd" path="/var/tmp/ldapmap1_0" dev=sda6 ino=3147959 scontext=system_u:system_r:sshd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:local_login_tmp_t:s0 tclass=file type=AVC msg=audit(1319463721.173:235): avc: denied { unlink } for pid=4405 comm="sshd" name="ldapmap1_0" dev=sda6 ino=3147959 scontext=system_u:system_r:sshd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:local_login_tmp_t:s0 tclass=file
Fixed in selinux-policy-3.10.0-48.fc16 chcon -t krb5_host_rcache_t /var/tmp/ldapmap1_0 Should fix the problem for now.
A user with the user context staff_t cannot do sudo as staff_sudo_t is not allowed to access krb5_host_rcache_t.
mgrepl lets add optional_policy(` kerberos_manage_host_rcache(sudodomain) kerberos_read_config(sudodomain) ')
Fixed in selinux-policy-3.10.0-125.fc17
selinux-policy-3.10.0-125.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/FEDORA-2012-7953/selinux-policy-3.10.0-125.fc17
Package selinux-policy-3.10.0-125.fc17: * should fix your issue, * was pushed to the Fedora 17 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.10.0-125.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-7953/selinux-policy-3.10.0-125.fc17 then log in and leave karma (feedback).
Could you please also backport this fix to F16?
(In reply to comment #7) > Could you please also backport this fix to F16? Added.
selinux-policy-3.10.0-125.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.