Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 119842

Summary: s-c-p cannot print testpage.ps
Product: [Fedora] Fedora Reporter: Gene Czarcinski <gczarcinski>
Component: policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED RAWHIDE QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: leonard-rh-bugzilla, pgraner, twaugh
Target Milestone: ---Keywords: SELinux
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: triage|leonardjo|closed|rawhide
Fixed In Version: 1.9.2-12 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-05-10 17:44:51 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:
Bug Depends On:    
Bug Blocks: 122683    

Description Gene Czarcinski 2004-04-02 15:44:29 UTC
Description of problem:
system-config-printer cannot print the test page at
/usr/share/printconf/tests/testpage.ps .. permission denied.

This is similar to (may be a dup of) 119840 but deals with a files
owned by another package.

Comment 1 Gene Czarcinski 2004-04-03 09:12:10 UTC
Apr  3 04:11:58 chaos kernel: audit(1080983518.692:0): avc:  denied  {
getattr } for  pid=21922 exe=/usr/bin/lpr.cups
path=/usr/share/printconf/tests/testpage.ps dev=hda7 ino=931705
scontext=root:sysadm_r:sysadm_lpr_t
tcontext=system_u:object_r:printconf_t tclass=file

Comment 2 Daniel Walsh 2004-04-03 13:00:40 UTC
Fixed in policy-1.9.2-10 

Comment 3 Tim Waugh 2004-04-04 21:46:05 UTC
Doesn't work as user_r.  This was from policy-1.9.2-10:

audit(1081115389.224:0): avc:  denied  { read } for  pid=2969
exe=/usr/bin/lpr.cups name=testpage-a4.ps dev=hdb1 ino=100446
scontext=tim:user_r:user_lpr_t tcontext=system_u:object_r:printconf_t
tclass=file

Comment 4 Daniel Walsh 2004-04-06 10:17:26 UTC
Fixed in policy-1.9.2-12