Bug 617579
| Summary: | SELinux is preventing /usr/bin/python "getattr" access on /etc/rc.d/init.d/cobblerd. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Adam Goode <adam> | ||||
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 13 | CC: | dwalsh, mgrepl | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | setroubleshoot_trace_hash:0eb885a55de65062a89722c3e092765bdb6d49416ed990da8fe865531cf643e0 | ||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2010-11-03 16:01:15 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: | |||||||
| Attachments: |
|
||||||
|
Description
Adam Goode
2010-07-23 13:22:17 UTC
Can you execute # semanage permissive -a cobblerd_t cobbler check # semanage permissive -d cobblerd_t Then grab the output from ausearch -m avc -ts recent So we can get all of the AVC messages. Are you doing 'cobbler check' via cobbler web interface? No, at the command line. This is cobbler-2.0.5-1.fc13.noarch from updates-testing, by the way. Ok, I updated policy. selinux-policy-3.7.19-39.fc13.noarch cobbler-2.0.5-1.fc13.noarch I'm attaching cobbler check AVC messages. Also, cobbler check suggests that I do this: 1 : you need to set some SELinux content rules to ensure cobbler serves content correctly in your SELinux environment, run the following: /usr/sbin/semanage fcontext -a -t public_content_t "/var/lib/tftpboot/.*" && /usr/sbin/semanage fcontext -a -t public_content_t "/var/www/cobbler/images/.*" 2 : you need to set some SELinux rules if you want to use cobbler-web (an optional package), run the following: /usr/sbin/semanage fcontext -a -t httpd_sys_content_rw_t "/var/lib/cobbler/webui_sessions/.*" Created attachment 433966 [details]
cobbler check AVC
Rawhide cobbler has domain_dontaudit_exec_all_entry_files(cobblerd_t) domain_dontaudit_read_all_domains_state(cobblerd_t) Which would eliminate most of these avc messages. Miroslav can you update F13 policy to whats in Rawhide. Adam, are you still getting AVC messages with the latest F13 selinux-policy? If so, please reopen the bug. Thanks. |