Bug 907017 - SELinux is preventing /usr/lib/libreoffice/program/soffice.bin from 'create' accesses on the file .execooodLyTzH.
Summary: SELinux is preventing /usr/lib/libreoffice/program/soffice.bin from 'create' ...
Keywords:
Status: CLOSED DUPLICATE of bug 834864
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 18
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:a8b09735db73c2088872cfa334d...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-02 17:10 UTC by antonio montagnani
Modified: 2013-02-04 11:22 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-02-04 11:22:17 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description antonio montagnani 2013-02-02 17:10:46 UTC
Description of problem:
just opning a file
SELinux is preventing /usr/lib/libreoffice/program/soffice.bin from 'create' accesses on the file .execooodLyTzH.

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

If si crede che soffice.bin dovrebbe avere possibilità di accesso create sui .execooodLyTzH file in modo predefinito.
Then si dovrebbe riportare il problema come bug.
E' possibile generare un modulo di politica locale per consentire questo accesso.
Do
consentire questo accesso per il momento eseguendo:
# 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_dir_t:s0
Target Objects                .execooodLyTzH [ file ]
Source                        soffice.bin
Source Path                   /usr/lib/libreoffice/program/soffice.bin
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           libreoffice-core-3.6.5.2-1.fc18.i686
Target RPM Packages           
Policy RPM                    selinux-policy-3.11.1-73.fc18.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.7.4-204.fc18.i686.PAE #1 SMP Wed
                              Jan 23 16:58:41 UTC 2013 i686 i686
Alert Count                   21
First Seen                    2013-02-02 18:09:27 CET
Last Seen                     2013-02-02 18:09:40 CET
Local ID                      7b88a537-4c75-4cae-95a1-57f5098dd484

Raw Audit Messages
type=AVC msg=audit(1359824980.243:745): avc:  denied  { create } for  pid=8854 comm="nsplugin" name=".execooodLyTzH" scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_dir_t:s0 tclass=file


type=SYSCALL msg=audit(1359824980.243:745): arch=i386 syscall=open success=no exit=EACCES a0=9bd7bb0 a1=c2 a2=180 a3=1eb52f7 items=0 ppid=8852 pid=8854 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 ses=2 tty=(none) comm=nsplugin exe=/usr/lib/libreoffice/program/nsplugin subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null)

Hash: soffice.bin,mozilla_plugin_t,user_home_dir_t,file,create

audit2allow

#============= mozilla_plugin_t ==============
allow mozilla_plugin_t user_home_dir_t:file create;

audit2allow -R

#============= mozilla_plugin_t ==============
allow mozilla_plugin_t user_home_dir_t:file create;


Additional info:
hashmarkername: setroubleshoot
kernel:         3.7.4-204.fc18.i686.PAE
type:           libreport

Potential duplicate: bug 834864

Comment 1 Miroslav Grepl 2013-02-04 11:22:17 UTC

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


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