| Summary: | Running ipa-server-install --setup-dns produces AVC denials about sssd_t and fs_t | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jan Pazdziora <jpazdziora> |
| Component: | selinux-policy | Assignee: | Lukas Vrabec <lvrabec> |
| Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 23 | CC: | abokovoy, dominick.grift, dwalsh, ipa-maint, jcholast, jhrozek, jpazdziora, lslebodn, lvrabec, mgrepl, mkosek, mzidek, pbrezina, plautrba, pmoore, preichl, pspacek, pvoborni, rcritten, rharwood, sbose, ssorce |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-12-20 21:37:02 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: | |
This AVC is really weird ... Given it mentions SSSD and nothing IPA-specific, I changed the component to SSSD. Feel free to move it to selinux-policy if you find out what is going on. Looks like the AVC as in https://bugzilla.redhat.com/show_bug.cgi?id=1350535#c2 And on fedora:25 I get sh$ audit2why < pok.avc type=AVC msg=audit(1475496686.173:297): avc: denied { getattr } for pid=17838 comm="sssd" name="/" dev="dm-0" ino=96 scontext=system_u:system_r:sssd_t:s0 tcontext=system_u:object_r:fs_t:s0 tclass=filesystem permissive=0 Was caused by: Unknown - would be allowed by active policy So it looks like it was not backported to fedora:23 This message is a reminder that Fedora 23 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 23. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '23'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 23 is 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 change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. 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. Fedora 23 changed to end-of-life (EOL) status on 2016-12-20. Fedora 23 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. |
Description of problem: When ipa-server-install --setup-dns ... is run, AVC denial like type=AVC msg=audit(1475496686.173:297): avc: denied { getattr } for pid=17838 comm="sssd" name="/" dev="dm-0" ino=96 scontext=system_u:system_r:sssd_t:s0 tcontext=system_u:object_r:fs_t:s0 tclass=filesystem permissive=0 is logged. Version-Release number of selected component (if applicable): freeipa-server-4.2.4-2.fc23.x86_64 selinux-policy-3.13.1-158.24.fc23.noarch sssd-1.14.1-2.fc23.x86_64 How reproducible: Deterministic. Steps to Reproduce: 1. Have Fedora 23 machine with freeipa-server-dns installed. 2. Run ipa-server-install --setup-dns --forwarder=10.11.12.13 --hostname=$(hostname) -r EXAMPLE.TEST -n example.test -p Secret123 -a Secret123 -U 3. Check /var/log/audit/audit.log. Actual results: type=AVC msg=audit(1475496686.173:297): avc: denied { getattr } for pid=17838 comm="sssd" name="/" dev="dm-0" ino=96 scontext=system_u:system_r:sssd_t:s0 tcontext=system_u:object_r:fs_t:s0 tclass=filesystem permissive=0 Expected results: No AVC denial. Additional info: