Bug 470657 - evince doesn't list printers when invoked by firefox
Summary: evince doesn't list printers when invoked by firefox
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-11-08 15:08 UTC by Nils Philippsen
Modified: 2008-11-10 16:29 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-11-10 16:29:15 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Output of "ausearch -sv no -ts 15:55" (12.20 KB, text/plain)
2008-11-08 15:08 UTC, Nils Philippsen
no flags Details
Output of "ausearch -sv no -ts 15:58" (which was run after "setenforce 0") (649 bytes, text/plain)
2008-11-08 15:09 UTC, Nils Philippsen
no flags Details

Description Nils Philippsen 2008-11-08 15:08:08 UTC
Created attachment 322944 [details]
Output of "ausearch -sv no -ts 15:55"

Description of problem:

With SELinux targeted policy enforced, evince doesn't list printers when invoked by firefox when displaying a linked PDF document.

Version-Release number of selected component (if applicable):
selinux-policy-targeted-3.5.13-11.fc10.noarch
firefox-3.0.2-1.fc10.x86_64
nspluginwrapper-1.1.2-4.fc10.i386
nspluginwrapper-1.1.2-4.fc10.x86_64
evince-2.24.1-3.fc10.x86_64
poppler-0.8.7-1.fc10.x86_64

How reproducible:
Reproducible.

Steps to Reproduce:
1. setenforce 1
2. Use firefox to display a PDF document (local or remote, doesn't matter)
3. In the evince window, click on File -> Print
  
Actual results:
Only "Print to File" is listed.

Expected results:
Additionally, all accessible printers are listed.

Additional info:
When setting SELinux in permissive mode, the printers are listed and printing works. On a colleagues system, remote CUPS printers where listed nonetheless, so this may be a problem that concerns locally configured printers only. I'll attach audit logs in both enforcing and permissive mode (both up to the point where the print dialog with the list of printers is displayed).

Comment 1 Nils Philippsen 2008-11-08 15:09:06 UTC
Created attachment 322945 [details]
Output of "ausearch -sv no -ts 15:58" (which was run after "setenforce 0")

Comment 2 Nils Philippsen 2008-11-08 15:09:44 UTC
NB: When invoking evince from outside the browser, all printers are listed and printing works.

Comment 3 Daniel Walsh 2008-11-10 16:29:15 UTC
Fixed in selinux-policy-3.5.13-18.fc10


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