Bug 841694 - SELinux is preventing /usr/bin/evince from 'write' accesses on the file children_of_mu_churchward_1931.pdf.
SELinux is preventing /usr/bin/evince from 'write' accesses on the file child...
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
17
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Miroslav Grepl
Fedora Extras Quality Assurance
abrt_hash:77b269f2963fa55d5048a2a9f9f...
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-07-19 17:37 EDT by Zoltan Hoppar
Modified: 2012-07-19 18:05 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-07-19 18:05:54 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 Zoltan Hoppar 2012-07-19 17:37:53 EDT
libreport version: 2.0.10
executable:     /usr/bin/python2.7
hashmarkername: setroubleshoot
kernel:         3.4.4-5.fc17.x86_64
time:           2012. júl. 19., csütörtök, 23.37.34 CEST

description:
:SELinux is preventing /usr/bin/evince from 'write' accesses on the file children_of_mu_churchward_1931.pdf.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that evince should be allowed write access on the children_of_mu_churchward_1931.pdf file by default.
:Then you should report this as a bug.
:You can generate a local policy module to allow this access.
:Do
:allow this access for now by executing:
:# grep EvJobScheduler /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c
:                              0.c1023
:Target Context                unconfined_u:object_r:user_home_t:s0
:Target Objects                children_of_mu_churchward_1931.pdf [ file ]
:Source                        EvJobScheduler
:Source Path                   /usr/bin/evince
:Port                          <Ismeretlen>
:Host                          (removed)
:Source RPM Packages           evince-3.4.0-2.fc17.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-134.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.4.4-5.fc17.x86_64 #1
:                              SMP Thu Jul 5 20:20:59 UTC 2012 x86_64 x86_64
:Alert Count                   1
:First Seen                    2012. júl. 17., kedd, 04.18.29 CEST
:Last Seen                     2012. júl. 17., kedd, 04.18.29 CEST
:Local ID                      e3a09fbc-1612-4c89-84bc-f1df552d14c9
:
:Raw Audit Messages
:type=AVC msg=audit(1342491509.479:199): avc:  denied  { write } for  pid=5088 comm="EvJobScheduler" name="children_of_mu_churchward_1931.pdf" dev="dm-2" ino=787084 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file
:
:
:type=SYSCALL msg=audit(1342491509.479:199): arch=x86_64 syscall=open success=no exit=EACCES a0=7fa13c0d18d0 a1=c1 a2=1b6 a3=aaaaaaaaaaaaaaab items=0 ppid=1 pid=5088 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=2 comm=EvJobScheduler exe=/usr/bin/evince subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null)
:
:Hash: EvJobScheduler,mozilla_plugin_t,user_home_t,file,write
:
:audit2allowunable to open /sys/fs/selinux/policy:  Permission denied
:
:
:audit2allow -Runable to open /sys/fs/selinux/policy:  Permission denied
:
:
Comment 1 Miroslav Grepl 2012-07-19 18:05:54 EDT
You need to either remove the mozplugger package or change the unconfined_mozilla_plugin_transition boolean.

yum remove mozplugger

or

setsebool -P unconfined_mozilla_plugin_transition 0

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