Bug 849567
| Summary: | Need update of selinux policy related to SSSD | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Miroslav Grepl <mgrepl> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 17 | CC: | dominick.grift, dwalsh, jhrozek, jzeleny, mgrepl, spoore |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 843730 | Environment: | |
| Last Closed: | 2012-08-27 23:04:10 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 843730 | ||
| Bug Blocks: | 843814, 848751 | ||
|
Description
Miroslav Grepl
2012-08-20 08:31:44 UTC
selinux-policy-3.10.0-146.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-146.fc17 FYI, this is what I was seeing when I ran into this failure during FreeIPA Replica installs (from ipa-replica-conncheck's ssh check):
[root@vm1 pam.d]# ausearch -m avc -ts 22:03
----
time->Wed Aug 15 22:03:11 2012
type=SYSCALL msg=audit(1345082591.538:444): arch=c000003e syscall=2 success=no exit=-13 a0=18f3550 a1=c2 a2=180 a3=350286760de items=0 ppid=3409 pid=3413 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="sssd_pam" exe="/usr/libexec/sssd/sssd_pam" subj=system_u:system_r:sssd_t:s0 key=(null)
type=AVC msg=audit(1345082591.538:444): avc: denied { write } for pid=3413 comm="sssd_pam" name="logins" dev="dm-1" ino=155142 scontext=system_u:system_r:sssd_t:s0 tcontext=system_u:object_r:selinux_config_t:s0 tclass=dir
[root@vm1 pam.d]# find / -inum 155142
/etc/selinux/targeted/logins
[root@vm1 pam.d]# matchpathcon /etc/selinux/targeted/logins
/etc/selinux/targeted/logins system_u:object_r:selinux_config_t:s0
[root@vm1 pam.d]# sesearch -s sssd_t -t selinux_config_t --allow
Found 2 semantic av rules:
allow sssd_t selinux_config_t : dir { getattr search open } ;
allow sssd_t selinux_config_t : dir { getattr search open } ;
After the update provided, I'm no longer seeing AVC denials during FreeIPA Replica installs.
Package selinux-policy-3.10.0-146.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-146.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-12355/selinux-policy-3.10.0-146.fc17 then log in and leave karma (feedback). selinux-policy-3.10.0-146.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report. |