Bug 749075

Summary: SELinux is preventing /usr/libexec/gdm-session-worker "create" access on
Product: Red Hat Enterprise Linux 6 Reporter: liyongchun8888 <liyongchun8888>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED WONTFIX QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.1CC: dwalsh, mmalik
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-26 07:38:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description liyongchun8888 2011-10-26 04:12:35 UTC
Description of problem:
ummary:

SELinux is preventing /usr/libexec/gdm-session-worker "create" access on
.dmrc.9SBR3V.

Detailed Description:

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:admin_home_t:s0
Target Objects                .dmrc.9SBR3V [ file ]
Source                        gdm-session-wor
Source Path                   /usr/libexec/gdm-session-worker
Port                          <Unknown>
Host                          localhost.localdomain
Source RPM Packages           gdm-2.30.4-21.el6_0.1
Target RPM Packages           
Policy RPM                    selinux-policy-3.7.19-93.el6
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     localhost.localdomain
Platform                      Linux localhost.localdomain
                              2.6.32-131.0.15.el6.x86_64 #1 SMP Tue May 10
                              15:42:40 EDT 2011 x86_64 x86_64
Alert Count                   3
First Seen                    Wed 26 Oct 2011 06:02:08 AM EDT
Last Seen                     Wed 26 Oct 2011 06:02:08 AM EDT
Local ID                      5c19b937-6934-4436-9541-92546266c6e4
Line Numbers                  

Raw Audit Messages            

node=localhost.localdomain type=AVC msg=audit(1319623328.329:104260): avc:  denied  { create } for  pid=4996 comm="gdm-session-wor" name=".dmrc.9SBR3V" scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:admin_home_t:s0 tclass=file

node=localhost.localdomain type=SYSCALL msg=audit(1319623328.329:104260): arch=c000003e syscall=2 success=no exit=-13 a0=154d040 a1=c2 a2=1b6 a3=13 items=0 ppid=4962 pid=4996 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=7 comm="gdm-session-wor" exe="/usr/libexec/gdm-session-worker" subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 key=(null)





Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 2 Miroslav Grepl 2011-10-26 07:38:56 UTC
Are you trying to login as root, correct?

This is not supported by SELinux.