Bug 655728
Summary: | SELinux block write acces to /var/log/ for cgrulesengd | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Alphonse Steiner <alphsteiner> |
Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 14 | CC: | dwalsh, mgrepl |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | selinux-policy-3.9.7-14.fc14 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-12-05 00:38:00 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
Alphonse Steiner
2010-11-22 10:10:13 UTC
cgred uses syslog by default. I could add a new type for a log file and rules but there would need to be a default location for the log file. So since this is a local customization, you need to add a local policy module using # grep cgred_t /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp There is a default location for the log file: it is written in /etc/sysconfig/cgred.conf. I guess I was not clear: I have not made a real customization, I have just uncommented the line. I think that for consistency, this log file must be allowed. Miroslav I think we should add a type for the log file. Alphonse what is the name of the log file created. (In reply to comment #2) > There is a default location for the log file: it is written in > /etc/sysconfig/cgred.conf. > I guess I was not clear: I have not made a real customization, I have just > uncommented the line. I think that for consistency, this log file must be > allowed. Then also my fault. I have checked the bad config file. The default logfile reported in /etc/sysconfig/cgred.conf is "/var/log/cgrulesengd.log" Fixed in selinux-policy-3.9.7-14.fc14 selinux-policy-3.9.7-14.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/selinux-policy-3.9.7-14.fc14 selinux-policy-3.9.7-14.fc14 has been pushed to the Fedora 14 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: https://admin.fedoraproject.org/updates/selinux-policy-3.9.7-14.fc14 selinux-policy-3.9.7-14.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. |