Bug 439123
Summary: | selinux prevents cups for creating or deleting printer printer definition file | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Subhendu Ghosh <sghosh> |
Component: | selinux-policy-targeted | Assignee: | Daniel Walsh <dwalsh> |
Status: | CLOSED NOTABUG | QA Contact: | |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 5.2 | CC: | dwalsh, ghelleks, twaugh |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-04-21 13:36:10 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
Subhendu Ghosh
2008-03-27 03:57:00 UTC
Tim what is cups trying to do? Is there a directory where cups creates printers with system-config-printer? When cupsd is asked (by system-config-printer, or lpadmin, or any CUPS management tool) to create or modify a printer it needs to create or modify a file in /etc/cups/ppd/. Each file in that directory represents a print queue, and the correct context for those files is cupsd_rw_etc_t. It looks like something has altered those files and left them with context cupsd_etc_t -- I don't know why that would happen. Perhaps as a result of adding CSB cups selector? I will try to reproduce on a virgin system. So restorecon -R -v /etc/cups/ppd/ Should fix. Perhaps a tool is creating the files in a different directory and then renaming or moving them there. Closing as NOT A Bug, if it happens again, please reopen bugzilla. |