Bug 565321 - SELinux is preventing /usr/libexec/gdm-session-worker "getattr" access on /tmp/.X11-unix/X0.
Summary: SELinux is preventing /usr/libexec/gdm-session-worker "getattr" access on /tm...
Keywords:
Status: CLOSED DUPLICATE of bug 561905
Alias: None
Product: Fedora
Classification: Fedora
Component: freenx
Version: 12
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Orphan Owner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:33955f53d54...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-02-14 18:42 UTC by toon
Modified: 2010-06-02 13:09 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-06-02 13:09:59 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description toon 2010-02-14 18:42:54 UTC
Summary:

SELinux is preventing /usr/libexec/gdm-session-worker "getattr" access on
/tmp/.X11-unix/X0.

Detailed Description:

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

SELinux denied access requested by gdm-session-wor. It is not expected that this
access is required by gdm-session-wor 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:xdm_t:s0-s0:c0.c1023
Target Context                system_u:object_r:initrc_tmp_t:s0
Target Objects                /tmp/.X11-unix/X0 [ sock_file ]
Source                        gdm-session-wor
Source Path                   /usr/libexec/gdm-session-worker
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           gdm-2.28.2-1.fc12
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.32-84.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux fedora 2.6.31.12-174.2.3.fc12.i686 #1 SMP
                              Mon Jan 18 20:22:46 UTC 2010 i686 i686
Alert Count                   1
First Seen                    Sun 14 Feb 2010 01:44:42 PM CET
Last Seen                     Sun 14 Feb 2010 01:44:42 PM CET
Local ID                      7bd4102e-bc7c-471c-b9e1-136bb39c13df
Line Numbers                  

Raw Audit Messages            

node=fedora type=AVC msg=audit(1266151482.927:24126): avc:  denied  { getattr } for  pid=1923 comm="gdm-session-wor" path="/tmp/.X11-unix/X0" dev=dm-0 ino=269379 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:initrc_tmp_t:s0 tclass=sock_file

node=fedora type=SYSCALL msg=audit(1266151482.927:24126): arch=40000003 syscall=196 success=yes exit=0 a0=bf97464c a1=bf9745cc a2=497ff4 a3=289530 items=0 ppid=1833 pid=1923 auid=500 uid=0 gid=500 euid=0 suid=0 fsuid=0 egid=500 sgid=500 fsgid=500 tty=(none) ses=1 comm="gdm-session-wor" exe="/usr/libexec/gdm-session-worker" subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  catchall,gdm-session-wor,xdm_t,initrc_tmp_t,sock_file,getattr
audit2allow suggests:

#============= xdm_t ==============
allow xdm_t initrc_tmp_t:sock_file getattr;

Comment 1 Benjamín Valero Espinosa 2010-06-02 13:09:59 UTC

-- 
Fedora Bugzappers volunteer triage team
https://fedoraproject.org/wiki/BugZappers

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


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