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

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-02-13 10:00:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description hywel 2013-02-13 06:23:22 UTC
Description of problem:
SELinux is preventing /usr/lib64/libreoffice/program/soffice.bin from 'write' accesses on the file 50726F6372617374696E616369C3B36E2E6F6474.

*****  Plugin catchall (100. confidence) suggests  ***************************

If you believe that soffice.bin should be allowed write access on the 50726F6372617374696E616369C3B36E2E6F6474 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                50726F6372617374696E616369C3B36E2E6F6474 [ file ]
Source                        soffice.bin
Source Path                   /usr/lib64/libreoffice/program/soffice.bin
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           libreoffice-core-3.6.5.2-2.fc18.x86_64
Target RPM Packages           
Policy RPM                    selinux-policy-3.11.1-76.fc18.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.7.6-201.fc18.x86_64 #1 SMP Mon
                              Feb 4 15:54:08 UTC 2013 x86_64 x86_64
Alert Count                   14
First Seen                    2013-01-17 19:09:08 EST
Last Seen                     2013-02-12 21:39:49 EST
Local ID                      c1c30245-f302-4c40-bad0-46e4b2318a63

Raw Audit Messages
type=AVC msg=audit(1360723189.579:781): avc:  denied  { write } for  pid=7786 comm="soffice.bin" name=50726F6372617374696E616369C3B36E2E6F6474 dev="dm-2" ino=659598 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(1360723189.579:781): arch=x86_64 syscall=open success=no exit=EACCES a0=7ffff77b74f0 a1=82 a2=1b6 a3=7f5f8d40dc82 items=0 ppid=7774 pid=7786 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 ses=2 tty=(none) comm=soffice.bin exe=/usr/lib64/libreoffice/program/soffice.bin 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;


Additional info:
hashmarkername: setroubleshoot
kernel:         3.7.6-201.fc18.x86_64
type:           libreport

Potential duplicate: bug 904665

Comment 1 Miroslav Grepl 2013-02-13 10:00:00 UTC

*** This bug has been marked as a duplicate of bug 904665 ***


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