| Summary: | SELinux is preventing /usr/lib64/nspluginwrapper/plugin-config from read, write access on the file /root/.execoootaJt4y (deleted). | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Vaclav Zbranek <orangesunny> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 15 | CC: | dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:da67833c7c47b59ca5e4d869a6cee803055f7a580fa45798a64541bc5f8d00cd | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-04-17 09:21:41 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Did you run libreoffice as root? remove /root/.libraoffice and this should go away. |
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 };