Bug 119840 - s-c-p cannot print CUPS testprint.ps
Summary: s-c-p cannot print CUPS testprint.ps
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: policy
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Ben Levenson
URL:
Whiteboard: triage|leonardjo|closed|rawhide
: 120003 (view as bug list)
Depends On:
Blocks: 122683
TreeView+ depends on / blocked
 
Reported: 2004-04-02 15:42 UTC by Gene Czarcinski
Modified: 2007-11-30 22:10 UTC (History)
3 users (show)

Fixed In Version: 1.10.1-5
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-05-10 17:44:55 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
/var/log/messages relating to a test print from s-c-p (5.45 KB, text/plain)
2004-04-07 17:45 UTC, Fred New
no flags Details

Description Gene Czarcinski 2004-04-02 15:42:29 UTC
Description of problem:
system-config-printer cannot print the CUPS test at
/usr/share/cups/data/testprint.ps .. permission denied.

Comment 1 Daniel Walsh 2004-04-03 04:09:54 UTC
Please attach the avc messages from /var/log/messages.

Comment 2 Gene Czarcinski 2004-04-03 09:11:36 UTC
Apr  3 04:11:24 chaos kernel: audit(1080983484.796:0): avc:  denied  {
getattr } for  pid=21839 exe=/usr/bin/lpr.cups
path=/usr/share/cups/data/testprint.ps dev=hda7 ino=930374
scontext=root:sysadm_r:sysadm_lpr_t tcontext=system_u:object_r:usr_t
tclass=file

Be sure to look at
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=119842

Comment 3 Tim Waugh 2004-04-05 07:29:31 UTC
*** Bug 120003 has been marked as a duplicate of this bug. ***

Comment 4 Fred New 2004-04-07 17:45:28 UTC
Created attachment 99202 [details]
/var/log/messages relating to a test print from s-c-p

I'm assuming this is the same problem, but my printer is a non-postscript
LaserJet 4L (HP-PCL3) printer on a Windows XP system.  Steps to produce these
messages:

su -
setenforce 0
/etc/cron.daily/logrotate (fruitless attempt to  reduce messages in
/var/log/messages)
system-config-printer
highlight printer, select CUPS test page (first line) from Test menu.
setenforce 1
tail -200 /var/log/message > messages-print-test
further editing with vi to remove unrelated messages from the top.

Package versions:
  policy-1.9.2-12
  policy-sources-1.9.2-12
  system-config-printer-0.6.98-1

Comment 5 Daniel Walsh 2004-04-08 14:00:55 UTC
Added some rules to fix you messages.

Policy-1.10.1-5



Note You need to log in before you can comment on or make changes to this bug.