Bug 904665 - SELinux is preventing /usr/lib64/libreoffice/program/soffice.bin from 'write' accesses on the file /home/hywel/.grl-podcasts.
Summary: SELinux is preventing /usr/lib64/libreoffice/program/soffice.bin from 'write'...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 17
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:e2c78c8cb2ea35a99b8a2341853...
: 910650 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-26 22:59 UTC by hywel
Modified: 2013-02-13 10:00 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-02-12 05:09:10 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: type (9 bytes, text/plain)
2013-01-26 22:59 UTC, hywel
no flags Details
File: hashmarkername (14 bytes, text/plain)
2013-01-26 22:59 UTC, hywel
no flags Details

Description hywel 2013-01-26 22:59:40 UTC
Additional info:
libreport version: 2.0.18
kernel:         3.7.3-101.fc17.x86_64

description:
:SELinux is preventing /usr/lib64/libreoffice/program/soffice.bin from 'write' accesses on the file /home/hywel/.grl-podcasts.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that soffice.bin should be allowed write access on the .grl-podcasts 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 soffice.bin /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                /home/hywel/.grl-podcasts [ file ]
:Source                        soffice.bin
:Source Path                   /usr/lib64/libreoffice/program/soffice.bin
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           totem-3.4.3-1.fc17.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-166.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.6.11-5.fc17.x86_64 #1 SMP Tue
:                              Jan 8 21:40:51 UTC 2013 x86_64 x86_64
:Alert Count                   4
:First Seen                    2013-01-17 19:09:08 EST
:Last Seen                     2013-01-19 13:23:55 EST
:Local ID                      c1c30245-f302-4c40-bad0-46e4b2318a63
:
:Raw Audit Messages
:type=AVC msg=audit(1358619835.483:67): avc:  denied  { write } for  pid=2428 comm="totem" name=".grl-podcasts" dev="dm-2" ino=7353916 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(1358619835.483:67): arch=x86_64 syscall=open success=no exit=EACCES a0=20ba668 a1=42 a2=1a4 a3=18 items=0 ppid=1 pid=2428 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=2 comm=totem exe=/usr/bin/totem subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null)
:
:Hash: soffice.bin,mozilla_plugin_t,user_home_t,file,write
:
:audit2allow
:
:#============= mozilla_plugin_t ==============
:allow mozilla_plugin_t user_home_t:file write;
:
:audit2allow -R
:
:#============= mozilla_plugin_t ==============
:allow mozilla_plugin_t user_home_t:file write;
:

Comment 1 hywel 2013-01-26 22:59:43 UTC
Created attachment 688183 [details]
File: type

Comment 2 hywel 2013-01-26 22:59:45 UTC
Created attachment 688184 [details]
File: hashmarkername

Comment 3 Miroslav Grepl 2013-01-28 11:27:48 UTC
Execute for now

# chcon -R -t mozilla_home_t /home/hywel/.grl-podcasts


I am adding fixes.

Comment 4 Daniel Walsh 2013-01-28 17:29:28 UTC
This looks like mozplugger?

Openoffice should not run within mozilla as  a plugin if you have confinement turned on.

Comment 5 Fedora Update System 2013-02-04 22:04:44 UTC
selinux-policy-3.10.0-167.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-167.fc17

Comment 6 Fedora Update System 2013-02-05 17:02:27 UTC
Package selinux-policy-3.10.0-167.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.10.0-167.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-1971/selinux-policy-3.10.0-167.fc17
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2013-02-12 05:09:12 UTC
selinux-policy-3.10.0-167.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Miroslav Grepl 2013-02-13 10:00:00 UTC
*** Bug 910650 has been marked as a duplicate of this bug. ***


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