Bug 551652 - SELinux is preventing /usr/bin/kdm "remove_name" access on .Xauthority-n.
Summary: SELinux is preventing /usr/bin/kdm "remove_name" access on .Xauthority-n.
Keywords:
Status: CLOSED DUPLICATE of bug 543970
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:59bc59d9fe7...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-01-01 02:09 UTC by adrian1h
Modified: 2010-01-04 11:00 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-01-04 11:00:26 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description adrian1h 2010-01-01 02:09:53 UTC
Summary:

SELinux is preventing /usr/bin/kdm "remove_name" access on .Xauthority-n.

Detailed Description:

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

SELinux denied access requested by kdm. It is not expected that this access is
required by kdm 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://fedora.redhat.com/docs/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                .Xauthority-n [ dir ]
Source                        kdm
Source Path                   /usr/bin/kdm
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           kdm-4.3.3-7.fc12.1
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.32-59.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.31.9-174.fc12.i686.PAE #1
                              SMP Mon Dec 21 06:04:56 UTC 2009 i686 athlon
Alert Count                   1
First Seen                    Thu 31 Dec 2009 09:08:09 PM EST
Last Seen                     Thu 31 Dec 2009 09:08:09 PM EST
Local ID                      e9f2e4a0-9cdc-46a3-b551-7269e3ea8a84
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1262311689.601:22084): avc:  denied  { remove_name } for  pid=17879 comm="kdm" name=".Xauthority-n" dev=dm-1 ino=15983 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:admin_home_t:s0 tclass=dir

node=(removed) type=SYSCALL msg=audit(1262311689.601:22084): arch=40000003 syscall=10 success=yes exit=0 a0=bfa713fa a1=bfa717fc a2=bfa717fc a3=bfa713fa items=0 ppid=17246 pid=17879 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=125 comm="kdm" exe="/usr/bin/kdm" subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  selinux-policy-3.6.32-59.fc12,catchall,kdm,xdm_t,admin_home_t,dir,remove_name
audit2allow suggests:

#============= xdm_t ==============
allow xdm_t admin_home_t:dir remove_name;

Comment 1 Miroslav Grepl 2010-01-04 11:00:26 UTC

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


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