Bug 539449 - SELinux is preventing gdm-session-wor (xdm_t) "write" to /home/james/.dmrc.29712U (user_home_t).
Summary: SELinux is preventing gdm-session-wor (xdm_t) "write" to /home/james/.dmrc.29...
Keywords:
Status: CLOSED DUPLICATE of bug 538428
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:9f1163ad6a5...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-11-20 08:25 UTC by James Heather
Modified: 2010-01-30 10:18 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-11-20 09:08:21 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description James Heather 2009-11-20 08:25:05 UTC
Summary:

SELinux is preventing gdm-session-wor (xdm_t) "write" to
/home/james/.dmrc.29712U (user_home_t).

Detailed Description:

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

SELinux denied access requested by gdm-session-wor. The current boolean settings
do not allow this access. If you have not setup gdm-session-wor to require this
access this may signal an intrusion attempt. If you do intend this access you
need to change the booleans on this system to allow the access.

Allowing Access:

Confined processes can be configured to to run requiring different access,
SELinux provides booleans to allow you to turn on/off access as needed. The
boolean allow_polyinstantiation is set incorrectly.
Boolean Description:
Enable polyinstantiated directory support.


Fix Command:

# setsebool -P allow_polyinstantiation 1

Additional Information:

Source Context                system_u:system_r:xdm_t:s0-s0:c0.c1023
Target Context                unconfined_u:object_r:user_home_t:s0
Target Objects                /home/james/.dmrc.29712U [ file ]
Source                        gdm-session-wor
Source Path                   /usr/libexec/gdm-session-worker
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           gdm-2.26.1-13.fc11
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.12-86.fc11
Selinux Enabled               True
Policy Type                   targeted
MLS Enabled                   True
Enforcing Mode                Permissive
Plugin Name                   catchall_boolean
Host Name                     (removed)
Platform                      Linux (removed)
                              2.6.30.9-96.fc11.x86_64 #1 SMP Wed Nov 4 00:02:04
                              EST 2009 x86_64 x86_64
Alert Count                   1
First Seen                    Fri 13 Nov 2009 08:18:36 GMT
Last Seen                     Fri 13 Nov 2009 08:18:36 GMT
Local ID                      736a40a6-aa6b-4985-8c8d-59fe9f5fa0bf
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1258100316.741:177): avc:  denied  { write } for  pid=7281 comm="gdm-session-wor" path="/home/james/.dmrc.29712U" dev=dm-0 ino=25789083 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1258100316.741:177): arch=c000003e syscall=1 success=yes exit=55 a0=9 a1=7f1cc4d01000 a2=37 a3=7fff21853eb0 items=0 ppid=6377 pid=7281 auid=500 uid=500 gid=500 euid=500 suid=500 fsuid=500 egid=500 sgid=500 fsgid=500 tty=(none) ses=24 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  selinux-policy-3.6.12-86.fc11,catchall_boolean,gdm-session-wor,xdm_t,user_home_t,file,write
audit2allow suggests:

#============= xdm_t ==============
allow xdm_t user_home_t:file write;

Comment 1 Miroslav Grepl 2009-11-20 09:08:21 UTC

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


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