Bug 605926 - SELinux is preventing /usr/libexec/gdm-session-worker "remove_name" access on .xsession-errors.
Summary: SELinux is preventing /usr/libexec/gdm-session-worker "remove_name" access ...
Keywords:
Status: CLOSED DUPLICATE of bug 605919
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 13
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:ca95cc2830a...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-06-19 12:40 UTC by John Margaritopoulos
Modified: 2010-06-21 10:48 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-06-21 10:48:36 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description John Margaritopoulos 2010-06-19 12:40:29 UTC
Summary:

SELinux is preventing /usr/libexec/gdm-session-worker "remove_name" access on
.xsession-errors.

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:default_t:s0
Target Objects                .xsession-errors [ dir ]
Source                        gdm-session-wor
Source Path                   /usr/libexec/gdm-session-worker
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           gdm-2.30.2-1.fc13
Target RPM Packages           
Policy RPM                    selinux-policy-3.7.19-23.fc13
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.33.5-124.fc13.i686 #1
                              SMP Fri Jun 11 09:48:40 UTC 2010 i686 i686
Alert Count                   106
First Seen                    Sat 24 Apr 2010 10:41:20 AM EEST
Last Seen                     Fri 18 Jun 2010 07:29:41 PM EEST
Local ID                      92da57fd-baec-4363-badd-2251e316b107
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1276878581.937:23): avc:  denied  { remove_name } for  pid=8178 comm="gdm-session-wor" name=".xsession-errors" dev=sda3 ino=14214071 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:default_t:s0 tclass=dir

node=(removed) type=AVC msg=audit(1276878581.937:23): avc:  denied  { add_name } for  pid=8178 comm="gdm-session-wor" name=".xsession-errors.old" dev=sda3 ino=14213430 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:default_t:s0 tclass=dir

node=(removed) type=SYSCALL msg=audit(1276878581.937:23): arch=40000003 syscall=38 success=yes exit=0 a0=91581c0 a1=91581e8 a2=91581e8 a3=91581c0 items=0 ppid=1870 pid=8178 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 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,default_t,dir,remove_name
audit2allow suggests:

#============= xdm_t ==============
allow xdm_t default_t:dir { remove_name add_name };

Comment 1 Miroslav Grepl 2010-06-21 10:48:36 UTC

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


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