can't print to cups-pdf
Chuck Anderson
cra at WPI.EDU
Tue Apr 8 16:27:12 UTC 2008
Trying to print to Cups-PDF from firefox generates this AVC:
Summary:
SELinux is preventing cups-pdf (cups_pdf_t) "write" to ./cups (cupsd_log_t).
Detailed Description:
SELinux denied access requested by cups-pdf. It is not expected that this access
is required by cups-pdf and this access may signal an intrusion attempt. It is
also possible that the specific version or configuration of the application is
causing it to require additional access.
Allowing Access:
Sometimes labeling problems can cause SELinux denials. You could try to restore
the default system file context for ./cups,
restorecon -v './cups'
If this does not work, there is currently no automatic way to allow this access.
Instead, you can generate a local policy module to allow this access - see FAQ
(http://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385) Or you can disable
SELinux protection altogether. Disabling SELinux protection is not recommended.
Please file a bug report (http://bugzilla.redhat.com/bugzilla/enter_bug.cgi)
against this package.
Additional Information:
Source Context system_u:system_r:cups_pdf_t:s0-s0:c0.c1023
Target Context system_u:object_r:cupsd_log_t:s0
Target Objects ./cups [ dir ]
Source cups-pdf
Source Path /usr/lib/cups/backend/cups-pdf
Port <Unknown>
Host foo
Source RPM Packages cups-pdf-2.4.7-1.fc9
Target RPM Packages
Policy RPM selinux-policy-3.3.1-29.fc9
Selinux Enabled True
Policy Type targeted
MLS Enabled True
Enforcing Mode Enforcing
Plugin Name catchall_file
Host Name foo
Platform Linux foo
2.6.25-0.204.rc8.git4.fc9.i686 #1 SMP Mon Apr 7
11:33:46 EDT 2008 i686 i686
Alert Count 1
First Seen Tue 08 Apr 2008 12:24:18 PM EDT
Last Seen Tue 08 Apr 2008 12:24:18 PM EDT
Local ID 4eded59e-c154-4e5b-b62c-d9dbf0a482cd
Line Numbers
Raw Audit Messages
host=foo type=AVC msg=audit(1207671858.666:72): avc: denied { write } for pid=6315 comm="cups-pdf" name="cups" dev=dm-1 ino=565527 scontext=system_u:system_r:cups_pdf_t:s0-s0:c0.c1023 tcontext=system_u:object_r:cupsd_log_t:s0 tclass=dir
host=foo type=SYSCALL msg=audit(1207671858.666:72): arch=40000003 syscall=5 success=no exit=-13 a0=bfb9f674 a1=441 a2=1b6 a3=440 items=0 ppid=2232 pid=6315 auid=4294967295 uid=0 gid=7 euid=0 suid=0 fsuid=0 egid=7 sgid=7 fsgid=7 tty=(none) ses=4294967295 comm="cups-pdf" exe="/usr/lib/cups/backend/cups-pdf" subj=system_u:system_r:cups_pdf_t:s0-s0:c0.c1023 key=(null)
More information about the fedora-selinux-list
mailing list