Bug 557536 - SELinux is preventing /sbin/setfiles "read" access on /var/spool/gdm/force-display-on-active-vt (deleted).
Summary: SELinux is preventing /sbin/setfiles "read" access on /var/spool/gdm/force-di...
Keywords:
Status: CLOSED DUPLICATE of bug 556643
Alias: None
Product: Fedora
Classification: Fedora
Component: kdebase
Version: 12
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Than Ngo
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:e63e6a22386...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-01-21 18:39 UTC by Daniel Scott
Modified: 2010-02-06 23:43 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-01-21 19:16:05 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Daniel Scott 2010-01-21 18:39:53 UTC
Summary:

SELinux is preventing /sbin/setfiles "read" access on
/var/spool/gdm/force-display-on-active-vt (deleted).

Detailed Description:

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

SELinux denied access requested by restorecon. It is not expected that this
access is required by restorecon 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                unconfined_u:unconfined_r:setfiles_t:s0-s0:c0.c102
                              3
Target Context                system_u:object_r:xdm_spool_t:s0
Target Objects                /var/spool/gdm/force-display-on-active-vt
                              (deleted) [ file ]
Source                        restorecon
Source Path                   /sbin/setfiles
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           policycoreutils-2.0.78-10.fc12
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.32-69.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed)
                              2.6.31.12-174.2.3.fc12.x86_64 #1 SMP Mon Jan 18
                              19:52:07 UTC 2010 x86_64 x86_64
Alert Count                   4
First Seen                    Wed 20 Jan 2010 10:30:52 AM EST
Last Seen                     Thu 21 Jan 2010 01:32:22 PM EST
Local ID                      0c8b9e99-3d73-44d9-bbbf-256c02c2d503
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1264098742.312:24): avc:  denied  { read } for  pid=2669 comm="restorecon" path=2F7661722F73706F6F6C2F67646D2F666F7263652D646973706C61792D6F6E2D6163746976652D7674202864656C6574656429 dev=dm-1 ino=262794 scontext=unconfined_u:unconfined_r:setfiles_t:s0-s0:c0.c1023 tcontext=system_u:object_r:xdm_spool_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1264098742.312:24): arch=c000003e syscall=59 success=yes exit=0 a0=21751a0 a1=2175100 a2=2170ec0 a3=18 items=0 ppid=2664 pid=2669 auid=768 uid=768 gid=1002 euid=768 suid=768 fsuid=768 egid=1002 sgid=1002 fsgid=1002 tty=(none) ses=1 comm="restorecon" exe="/sbin/setfiles" subj=unconfined_u:unconfined_r:setfiles_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  selinux-policy-3.6.32-69.fc12,catchall,restorecon,setfiles_t,xdm_spool_t,file,read
audit2allow suggests:

#============= setfiles_t ==============
allow setfiles_t xdm_spool_t:file read;

Comment 1 Daniel Walsh 2010-01-21 18:47:07 UTC
Leaked file descriptor

Comment 2 Rex Dieter 2010-01-21 19:16:05 UTC

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


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