Bug 227002 - Firefox/Evolution crash when printing under SELinux/strict/enforcing
Firefox/Evolution crash when printing under SELinux/strict/enforcing
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: selinux-policy-strict (Show other bugs)
6
All Linux
medium Severity medium
: ---
: ---
Assigned To: Daniel Walsh
Ben Levenson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-02-02 11:07 EST by Ted Rule
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version: Current
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-08-22 10:13:02 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)

  None (edit)
Description Ted Rule 2007-02-02 11:07:23 EST
Description of problem:

Firefox-2 and Evolution crash when printing is invoked under strict SELinux
poliy [ It is presumed that Firefox-1.5 also crashes, and that the same
problem exists for targeted policy ]

The problem is that both Firefox and Evolution need access to /dev/random -
presumably so as to build a temporary print spool file name. Default policy
allows access to /dev/urandom, but not /dev/random.

A simple workround is to add

dev_read_rand($1_evolution_t) 

  and 

dev_read_rand($1_mozilla_t) 

to evolution.if and mozilla.if respectively.


Version-Release number of selected component (if applicable):

selinux-policy-strict-2.4.6-27


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:
Comment 1 Daniel Walsh 2007-02-05 15:28:18 EST
Fixed in  selinux-policy-2.4.6-36
Comment 2 Daniel Walsh 2007-08-22 10:13:02 EDT
Fixed in current release

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