Bug 441428
| Summary: | SELinux is preventing cups-pdf (cups_pdf_t) "write" to ./cups (cupsd_log_t). | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Andrew Farris <lordmorgul> |
| Component: | cups-pdf | Assignee: | Remi Collet <fedora> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | rawhide | CC: | dwalsh |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | SELinux | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2008-04-08 14:08:20 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
Andrew Farris
2008-04-08 01:34:34 UTC
Can you try to create the log before the test : touch /var/log/cups/cups-pdf_log With the file already there it does succeed. I think either the file needs to be created blank by the spec (%post?) or better yet, just access given to cups-pdf to write to the directory. Context after being touched by root. -rw-r--r-- 0 0 unconfined_u:object_r:cupsd_log_t:s0 cups-pdf_log You can allow this for now by executing # audit2allow -M mypol -i /var/log/audit/audit.log # semodule -i mypol.pp Fixed in selinux-policy-3.3.1-29.fc9 |