Bug 694314 - SELinux is preventing /usr/lib64/nspluginwrapper/plugin-config from read, write access on the file /root/.execoootaJt4y (deleted).
Summary: SELinux is preventing /usr/lib64/nspluginwrapper/plugin-config from read, wri...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 15
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:da67833c7c4...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-06 23:53 UTC by Vaclav Zbranek
Modified: 2011-04-17 09:21 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-04-17 09:21:41 UTC
Type: ---


Attachments (Terms of Use)

Description Vaclav Zbranek 2011-04-06 23:53:25 UTC
SELinux is preventing /usr/lib64/nspluginwrapper/plugin-config from read, write access on the file /root/.execoootaJt4y (deleted).

*****  Plugin catchall (50.5 confidence) suggests  ***************************

If you believe that plugin-config should be allowed read write access on the .execoootaJt4y (deleted) 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 plugin-config /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

*****  Plugin leaks (50.5 confidence) suggests  ******************************

If you want to ignore plugin-config trying to read write access the .execoootaJt4y (deleted) file, because you believe it should not need this access.
Then you should report this as a bug.  
You can generate a local policy module to dontaudit this access.
Do
# grep /usr/lib64/nspluginwrapper/plugin-config /var/log/audit/audit.log | audit2allow -D -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                unconfined_u:unconfined_r:nsplugin_config_t:s0-s0:
                              c0.c1023
Target Context                unconfined_u:object_r:admin_home_t:s0
Target Objects                /root/.execoootaJt4y (deleted) [ file ]
Source                        plugin-config
Source Path                   /usr/lib64/nspluginwrapper/plugin-config
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           nspluginwrapper-1.3.0-17.fc15
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.14-2.fc15
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 2.6.38-0.rc5.git1.1.fc15.x86_64 #1
                              SMP Thu Feb 17 01:49:02 UTC 2011 x86_64 x86_64
Alert Count                   1
First Seen                    Thu 07 Apr 2011 03:47:33 AM CEST
Last Seen                     Thu 07 Apr 2011 03:47:33 AM CEST
Local ID                      8111bc42-f137-41d5-8741-aa732d8b6853

Raw Audit Messages
type=AVC msg=audit(1302140853.949:538): avc:  denied  { read write } for  pid=4271 comm="plugin-config" path=2F726F6F742F2E657865636F6F6F74614A743479202864656C6574656429 dev=sda1 ino=86301 scontext=unconfined_u:unconfined_r:nsplugin_config_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:admin_home_t:s0 tclass=file


type=AVC msg=audit(1302140853.949:538): avc:  denied  { read write } for  pid=4271 comm="plugin-config" path="/root/.libreoffice/3/user/uno_packages/cache/log.txt" dev=sda1 ino=267281 scontext=unconfined_u:unconfined_r:nsplugin_config_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:admin_home_t:s0 tclass=file


type=AVC msg=audit(1302140853.949:538): avc:  denied  { read write } for  pid=4271 comm="plugin-config" path="/root/.libreoffice/3/user/extensions/shared/log.txt" dev=sda1 ino=267298 scontext=unconfined_u:unconfined_r:nsplugin_config_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:admin_home_t:s0 tclass=file


type=SYSCALL msg=audit(1302140853.949:538): arch=x86_64 syscall=execve success=yes exit=0 a0=2182c30 a1=217eb60 a2=2182c70 a3=7fff36486250 items=0 ppid=4269 pid=4271 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts0 ses=1 comm=plugin-config exe=/usr/lib64/nspluginwrapper/plugin-config subj=unconfined_u:unconfined_r:nsplugin_config_t:s0-s0:c0.c1023 key=(null)

Hash: plugin-config,nsplugin_config_t,admin_home_t,file,read,write

audit2allow

#============= nsplugin_config_t ==============
allow nsplugin_config_t admin_home_t:file { read write };

audit2allow -R

#============= nsplugin_config_t ==============
allow nsplugin_config_t admin_home_t:file { read write };

Comment 1 Miroslav Grepl 2011-04-07 12:17:22 UTC
Did you run libreoffice as root?

Comment 2 Daniel Walsh 2011-04-17 09:21:41 UTC
remove /root/.libraoffice and this should go away.


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