Bug 646731
Summary: | SELinux is preventing admin.cgi (cupsd_t) "create" to 4cc5f04ab180b (print_spool_t). | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Wolfram R. Jarisch <wolfram> |
Component: | selinux-policy-targeted | Assignee: | Miroslav Grepl <mgrepl> |
Status: | CLOSED ERRATA | QA Contact: | Milos Malik <mmalik> |
Severity: | high | Docs Contact: | |
Priority: | low | ||
Version: | 5.5 | CC: | dwalsh, ksrot, mmalik |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | selinux-policy-2.4.6-289.el5 | Doc Type: | Bug Fix |
Doc Text: |
Due to an error in an SELinux policy, the system-config-printer utility could terminate unexpectedly with the following message written to the standard error:
ImportError: /usr/lib64/python2.4/site-packages/cups.so: undefined symbol: _cupsAdminGetServerSettings
To resolve this issue, relevant SELinux rules have been corrected, so that the system-config-printer utility no longer crashes.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2011-01-13 21:50:58 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
Wolfram R. Jarisch
2010-10-26 03:55:31 UTC
Miroslav RHEL6 policy lpd_manage_spool includes manage_lnk_files_pattern($1, print_spool_t, print_spool_t) Wolfram 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-2.4.6-289.el5.noarch Wolfram, could you please describe the action in system-config-printer in more detail? Did you just execute s-c-m? It seems that you were trying to add a printer, could you specify the connection type, printer type, model, URI, s-c-p version. I am unable to reproduce this traceback. Thank you in advance. Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Due to an error in an SELinux policy, the system-config-printer utility could terminate unexpectedly with the following message written to the standard error: ImportError: /usr/lib64/python2.4/site-packages/cups.so: undefined symbol: _cupsAdminGetServerSettings To resolve this issue, relevant SELinux rules have been corrected, so that the system-config-printer utility no longer crashes. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-0026.html |