Bug 751655 - SELinux is preventing /usr/lib64/xulrunner-1.9.2/plugin-container from 'remove_name' accesses on the directory settings.sxx.
Summary: SELinux is preventing /usr/lib64/xulrunner-1.9.2/plugin-container from 'remov...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 14
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:1a249bc7988...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-07 04:02 UTC by Matt Domsch
Modified: 2011-11-27 21:03 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-27 21:03:05 UTC
Type: ---


Attachments (Terms of Use)

Description Matt Domsch 2011-11-07 04:02:40 UTC
May be caused by the Confluence firefox plugin.

SELinux is preventing /usr/lib64/xulrunner-1.9.2/plugin-container from 'remove_name' accesses on the directory settings.sxx.

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

If you believe that plugin-container should be allowed remove_name access on the settings.sxx directory 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-containe /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                xguest_u:xguest_r:mozilla_plugin_t:s0
Target Context                xguest_u:object_r:user_home_dir_t:s0
Target Objects                settings.sxx [ dir ]
Source                        plugin-containe
Source Path                   /usr/lib64/xulrunner-1.9.2/plugin-container
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           xulrunner-1.9.2.23-1.fc14
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.7-44.fc14
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux pws490.domsch.com 2.6.35.14-97.fc14.x86_64
                              #1 SMP Sat Sep 17 00:15:37 UTC 2011 x86_64 x86_64
Alert Count                   7
First Seen                    Wed 18 May 2011 07:53:03 PM CDT
Last Seen                     Mon 31 Oct 2011 09:06:48 AM CDT
Local ID                      5b2b1c14-dfc0-4084-bdf9-2eb7c25ce89a

Raw Audit Messages
type=AVC msg=audit(1320070008.222:16209): avc:  denied  { remove_name } for  pid=9773 comm="plugin-containe" name="settings.sxx" dev=tmpfs ino=42670293 scontext=xguest_u:xguest_r:mozilla_plugin_t:s0 tcontext=xguest_u:object_r:user_home_dir_t:s0 tclass=dir


type=AVC msg=audit(1320070008.222:16209): avc:  denied  { rename } for  pid=9773 comm="plugin-containe" name="settings.sxx" dev=tmpfs ino=42670293 scontext=xguest_u:xguest_r:mozilla_plugin_t:s0 tcontext=xguest_u:object_r:user_home_dir_t:s0 tclass=file


type=SYSCALL msg=audit(1320070008.222:16209): arch=x86_64 syscall=rename success=yes exit=0 a0=7f1e040b97f0 a1=7f1e040ab8c0 a2=7f1e0b4072a0 a3=7f1e0b406fb0 items=0 ppid=9722 pid=9773 auid=1013 uid=1013 gid=1015 euid=1013 suid=1013 fsuid=1013 egid=1015 sgid=1015 fsgid=1015 tty=(none) ses=2290 comm=plugin-containe exe=/usr/lib64/xulrunner-1.9.2/plugin-container subj=xguest_u:xguest_r:mozilla_plugin_t:s0 key=(null)

Hash: plugin-containe,mozilla_plugin_t,user_home_dir_t,dir,remove_name

audit2allow

#============= mozilla_plugin_t ==============
allow mozilla_plugin_t user_home_dir_t:dir remove_name;
allow mozilla_plugin_t user_home_dir_t:file rename;

audit2allow -R

#============= mozilla_plugin_t ==============
allow mozilla_plugin_t user_home_dir_t:dir remove_name;
allow mozilla_plugin_t user_home_dir_t:file rename;

Comment 1 Daniel Walsh 2011-11-07 21:36:14 UTC
This looks like your homedir is mislabeled.

restorecon -R -v ~/

Comment 2 Matt Domsch 2011-11-27 21:03:05 UTC
relabel seems to have resolved it.


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