Bug 631565 - SELinux is preventing /usr/lib64/xulrunner-1.9.2/plugin-container "getattr" access on /dev/shm.
Summary: SELinux is preventing /usr/lib64/xulrunner-1.9.2/plugin-container "getattr" a...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 14
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:e34d9f5dbad...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-09-07 21:28 UTC by Jan Dvořák
Modified: 2010-09-11 03:43 UTC (History)
2 users (show)

Fixed In Version: selinux-policy-3.9.3-1.fc14
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-09-11 03:43:25 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jan Dvořák 2010-09-07 21:28:41 UTC
Summary:

SELinux is preventing /usr/lib64/xulrunner-1.9.2/plugin-container "getattr"
access on /dev/shm.

Detailed Description:

[SELinux is in permissive mode. This access was not denied.]

SELinux denied access requested by plugin-containe. It is not expected that this
access is required by plugin-containe and this access may signal an intrusion
attempt. It is also possible that the specific version or configuration of the
application is causing it to require additional access.

Allowing Access:

You can generate a local policy module to allow this access - see FAQ
(http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug
report.

Additional Information:

Source Context                unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c
                              0.c1023
Target Context                system_u:object_r:tmpfs_t:s0
Target Objects                /dev/shm [ filesystem ]
Source                        plugin-containe
Source Path                   /usr/lib64/xulrunner-1.9.2/plugin-container
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           xulrunner-1.9.2.7-2.fc14
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.0-2.fc14
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux obluda 2.6.35.4-12.fc14.x86_64 #1 SMP Fri
                              Aug 27 07:45:05 UTC 2010 x86_64 x86_64
Alert Count                   1
First Seen                    Sun 05 Sep 2010 06:14:07 PM CEST
Last Seen                     Sun 05 Sep 2010 06:14:07 PM CEST
Local ID                      dc1b711f-6339-4ec4-9b75-dbd5a03900ca
Line Numbers                  

Raw Audit Messages            

node=obluda type=AVC msg=audit(1283703247.329:43): avc:  denied  { getattr } for  pid=2725 comm="plugin-containe" name="/" dev=tmpfs ino=5860 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=system_u:object_r:tmpfs_t:s0 tclass=filesystem

node=obluda type=SYSCALL msg=audit(1283703247.329:43): arch=c000003e syscall=137 success=yes exit=0 a0=3369605b26 a1=7fa5a722cf50 a2=1 a3=7fa5a722cab0 items=0 ppid=2700 pid=2725 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 comm="plugin-containe" exe="/usr/lib64/xulrunner-1.9.2/plugin-container" subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  catchall,plugin-containe,mozilla_plugin_t,tmpfs_t,filesystem,getattr
audit2allow suggests:

#============= mozilla_plugin_t ==============
allow mozilla_plugin_t tmpfs_t:filesystem getattr;

Comment 1 Daniel Walsh 2010-09-08 15:35:18 UTC
Fixed in selinux-policy-3.9.3-1.fc14

Comment 2 Fedora Update System 2010-09-08 18:42:20 UTC
selinux-policy-3.9.3-1.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/selinux-policy-3.9.3-1.fc14

Comment 3 Fedora Update System 2010-09-09 04:12:59 UTC
selinux-policy-3.9.3-1.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update selinux-policy'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/selinux-policy-3.9.3-1.fc14

Comment 4 Fedora Update System 2010-09-11 03:41:43 UTC
selinux-policy-3.9.3-1.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.


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