Bug 118384 - printing from mozilla fails with enforcing on
printing from mozilla fails with enforcing on
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: policy (Show other bugs)
rawhide
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Daniel Walsh
:
Depends On:
Blocks: FC2Blocker
  Show dependency treegraph
 
Reported: 2004-03-16 01:12 EST by Warren Lewis
Modified: 2007-11-30 17:10 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-04-11 19:11:07 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
new set of avc errors as of policy-1.9-6 printing from mozilla (727 bytes, text/plain)
2004-03-22 15:56 EST, Warren Lewis
no flags Details
Printing happens to wrong printer, avc errors. (486 bytes, text/plain)
2004-04-01 23:11 EST, Warren Lewis
no flags Details

  None (edit)
Description Warren Lewis 2004-03-16 01:12:02 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040217

Description of problem:
with Selinux in enforcing mode printing from mozilla fails with avc
messages. 

Mar 15 22:10:27 localhost kernel: audit(1079417427.200:0): avc: 
denied  { search } for  pid=32088 exe=/usr/bin/lpr.cups name=cups
dev=hda7 ino=459690 scontext=root:staff_r:staff_mozilla_t
tcontext=system_u:object_r:cupsd_etc_t tclass=dir
Mar 15 22:10:27 localhost kernel: audit(1079417427.250:0): avc: 
denied  { search } for  pid=32088 exe=/usr/bin/lpr.cups name=cups
dev=hda7 ino=459690 scontext=root:staff_r:staff_mozilla_t
tcontext=system_u:object_r:cupsd_etc_t tclass=dir
Mar 15 22:10:27 localhost kernel: audit(1079417427.266:0): avc: 
denied  { search } for  pid=32088 exe=/usr/bin/lpr.cups name=cups
dev=hda7 ino=459690 scontext=root:staff_r:staff_mozilla_t
tcontext=system_u:object_r:cupsd_etc_t tclass=dir
Mar 15 22:10:27 localhost kernel: audit(1079417427.268:0): avc: 
denied  { search } for  pid=32088 exe=/usr/bin/lpr.cups name=spool
dev=hda7 ino=344101 scontext=root:staff_r:staff_mozilla_t
tcontext=system_u:object_r:var_spool_t tclass=dir


Version-Release number of selected component (if applicable):
policy-1.8-10 mozilla-1.6-1 cups-1.1.20-5.1

How reproducible:
Always

Steps to Reproduce:
1. boot with enforcing=1
2. click mozilla icon on task bar
3. click mozilla print button.
    

Actual Results:  printing doesn't work.  generates avc messages.

Expected Results:  printing works.

Additional info:
Comment 1 Warren Lewis 2004-03-16 01:40:07 EST
Changed platform to i386 as this is what I am using.  I suspect this
would occur on all platforms, but I don't know that for sure.
Comment 2 Daniel Walsh 2004-03-17 23:53:17 EST
Fixed in policy-1.9-1
Comment 3 Warren Lewis 2004-03-22 15:56:37 EST
Created attachment 98756 [details]
new set of avc errors as of policy-1.9-6 printing from mozilla
Comment 4 Warren Lewis 2004-03-22 15:58:08 EST
As of policy-1.9-6 there are still problems, the errors are different
though.  See attachment for the new errors.
Comment 5 Daniel Walsh 2004-03-25 00:35:36 EST
Fixed in policy-1.9-15
Comment 6 Warren Lewis 2004-04-01 23:11:45 EST
Created attachment 99062 [details]
Printing happens to wrong printer, avc errors.

Printing happens now, but it goes to the wrong printer.  It looks like it can't
read the default printer setting.  avc errors attached.
Comment 7 Daniel Walsh 2004-04-02 08:52:51 EST
Added fix for your avc messages in policy 1.9.2-6
Comment 8 Warren Lewis 2004-04-11 19:08:35 EDT
Printing seems to work fine now, thanks Daniel!

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