Bug 858969 - SELinux is preventing /usr/bin/kdeinit4 from 'create' accesses on the file contratto_di_natura_transitoria.pdf.
SELinux is preventing /usr/bin/kdeinit4 from 'create' accesses on the file co...
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Miroslav Grepl
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2012-09-20 04:36 EDT by R00b
Modified: 2012-09-20 06:37 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-09-20 06:37:40 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description R00b 2012-09-20 04:36:47 EDT
libreport version: 2.0.10
executable:     /usr/bin/python2.7
hashmarkername: setroubleshoot
kernel:         3.5.2-1.fc17.x86_64
time:           Thu 20 Sep 2012 10:33:25 AM CEST

:SELinux is preventing /usr/bin/kdeinit4 from 'create' accesses on the file contratto_di_natura_transitoria.pdf.
:*****  Plugin catchall (100. confidence) suggests  ***************************
:If you believe that kdeinit4 should be allowed create access on the contratto_di_natura_transitoria.pdf file by default.
:Then you should report this as a bug.
:You can generate a local policy module to allow this access.
:allow this access for now by executing:
:# grep kio_file /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                contratto_di_natura_transitoria.pdf [ file ]
:Source                        kio_file
:Source Path                   /usr/bin/kdeinit4
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           kdelibs-4.8.5-1.fc17.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-145.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.5.2-1.fc17.x86_64 #1 SMP Wed Aug
:                              15 16:09:27 UTC 2012 x86_64 x86_64
:Alert Count                   23
:First Seen                    2012-09-16 22:40:30 CEST
:Last Seen                     2012-09-20 10:32:32 CEST
:Local ID                      8149817f-47f2-4d55-b2c3-b609a8c02064
:Raw Audit Messages
:type=AVC msg=audit(1348129952.184:91): avc:  denied  { create } for  pid=6264 comm="kio_file" name="contratto_di_natura_transitoria.pdf" 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(1348129952.184:91): arch=x86_64 syscall=open success=no exit=EACCES a0=1969b18 a1=241 a2=1b6 a3=2 items=0 ppid=3262 pid=6264 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=2 comm=kio_file exe=/usr/bin/kdeinit4 subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null)
:Hash: kio_file,mozilla_plugin_t,user_home_t,file,create
:#============= mozilla_plugin_t ==============
:allow mozilla_plugin_t user_home_t:file create;
:audit2allow -R
:#============= mozilla_plugin_t ==============
:allow mozilla_plugin_t user_home_t:file create;
Comment 1 Miroslav Grepl 2012-09-20 06:37:40 EDT
What is kio_file?

You will need to turn off the unconfined_mozilla_plugin_transition boolean using 

# setsebool -P unconfined_mozilla_plugin_transition 0.

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