Bug 631270

Summary: SELinux is preventing /usr/bin/Xorg "getattr associate" access .
Product: [Fedora] Fedora Reporter: Rahul Sundaram <sundaram>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 14CC: dwalsh, mgrepl, smohan
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:9e7c82d12782daaceb242233e339edc4f3697c310d8e4dae3be0c548729b73ac
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-09-07 18:07:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Rahul Sundaram 2010-09-07 17:46:01 UTC
Summary:

SELinux is preventing /usr/bin/Xorg "getattr associate" access .

Detailed Description:

[Xorg has a permissive type (xserver_t). This access was not denied.]

SELinux denied access requested by Xorg. It is not expected that this access is
required by Xorg 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                system_u:system_r:xserver_t:s0-s0:c0.c1023
Target Context                unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c
                              0.c1023
Target Objects                None [ shm ]
Source                        Xorg
Source Path                   /usr/bin/Xorg (deleted)
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           xorg-x11-server-Xorg-1.9.0-4.fc14
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.0-2.fc14
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.35.4-12.fc14.x86_64 #1 SMP
                              Fri Aug 27 07:45:05 UTC 2010 x86_64 x86_64
Alert Count                   80
First Seen                    Fri 03 Sep 2010 04:04:02 AM IST
Last Seen                     Tue 07 Sep 2010 10:38:44 PM IST
Local ID                      0ae0ba22-337b-49e5-9ea0-33fc85e8cc72
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1283879324.345:2130): avc:  denied  { getattr associate } for  pid=1566 comm="Xorg" key=0  scontext=system_u:system_r:xserver_t:s0-s0:c0.c1023 tcontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tclass=shm

node=(removed) type=SYSCALL msg=audit(1283879324.345:2130): arch=c000003e syscall=31 success=yes exit=0 a0=11a802d a1=2 a2=7fffe2fef8f0 a3=0 items=0 ppid=1563 pid=1566 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=tty1 ses=4294967295 comm="Xorg" exe="/usr/bin/Xorg" subj=system_u:system_r:xserver_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  catchall,Xorg,xserver_t,mozilla_plugin_t,shm,getattr,associate
audit2allow suggests:

#============= xserver_t ==============
allow xserver_t mozilla_plugin_t:shm { getattr associate };

Comment 1 Daniel Walsh 2010-09-07 18:07:27 UTC

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