Bug 575563
Summary: | SELinux is preventing /usr/sbin/logrotate "read" access on sssd. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jaroslav Franek <jarin.franek> |
Component: | selinux-policy | Assignee: | Daniel Walsh <dwalsh> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 13 | CC: | carlos.rca185, cse.cem+redhatbugz, dwalsh, inboxacct2, johnlen7, jon.dufresne, justin092470, mgrepl, pszsemus, setuid, twoerner |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | setroubleshoot_trace_hash:a9eace9930765759d9d640ff68911c60639e8f4c1577f8bd123506111110d758 | ||
Fixed In Version: | selinux-policy-3.6.32-106.fc12 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-03-25 22:29:51 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Jaroslav Franek
2010-03-21 13:49:26 UTC
Miroslav add for F12 optional_policy(` sssd_domtrans(logrotate_t) ') You can add these rules for now using # grep avc /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Fixed in selinux-policy-3.7.15-4.fc13.noarch selinux-policy-3.7.15-4.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/selinux-policy-3.7.15-4.fc13 selinux-policy-3.6.32-106.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/selinux-policy-3.6.32-106.fc12 selinux-policy-3.7.15-4.fc13 has been pushed to the Fedora 13 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/selinux-policy-3.7.15-4.fc13 selinux-policy-3.6.32-106.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/selinux-policy-3.6.32-106.fc12 selinux-policy-3.7.15-4.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report. selinux-policy-3.6.32-106.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report. This is still a problem on a fresh installed F-13 (2010-03-30) system containing selinux-policy-3.7.15-4.fc13.noarch. -bash-4.1# sesearch -A -s logrotate_t -t sssd_exec_t Found 4 semantic av rules: allow logrotate_t file_type : dir { getattr search open } ; allow logrotate_t entry_type : file getattr ; allow logrotate_t entry_type : lnk_file { read getattr } ; allow logrotate_t sssd_exec_t : file { read getattr execute open } ; -bash-4.1# sesearch -A -s logrotate_t -t sssd_t Found 8 semantic av rules: allow logrotate_t sssd_t : process transition ; allow logrotate_t sssd_t : unix_stream_socket connectto ; allow logrotate_t domain : process signal ; allow logrotate_t domain : file { ioctl read getattr lock open } ; allow logrotate_t domain : dir { ioctl read getattr lock search open } ; allow logrotate_t domain : lnk_file { read getattr } ; allow domain domain : key { search link } ; allow domain domain : fd use ; Slightly newer policy. rpm -q selinux-policy selinux-policy-3.7.16-2.fc13.noarch |