Bug 550410 - SELinux is preventing /lib/udev/udev-acl "getattr" access on card0.
Summary: SELinux is preventing /lib/udev/udev-acl "getattr" access on card0.
Keywords:
Status: CLOSED NOTABUG
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:7e99c4003c0...
: 550411 550412 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-12-25 02:17 UTC by Randy Cole
Modified: 2009-12-27 13:08 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-12-27 13:08:16 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Randy Cole 2009-12-25 02:17:54 UTC
Summary:

SELinux is pre(removed)enting /lib/ude(removed)/ude(removed)-acl "getattr" access on card0.

Detailed Description:

[SELinux is in permissi(removed)e mode. This access was not denied.]

SELinux denied access requested by ude(removed)-acl.ck. It is not expected that this
access is required by ude(removed)-acl.ck and this access may signal an intrusion
attempt. It is also possible that the specific (removed)ersion 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:consolekit_t:s0-s0:c0.c1023
Target Context                system_u:object_r:dri_de(removed)ice_t:s0
Target Objects                card0 [ chr_file ]
Source                        ude(removed)-acl.ck
Source Path                   /lib/ude(removed)/ude(removed)-acl
Port                          <Unknown>
Host                          (remo(removed)ed)
Source RPM Packages           ude(removed)-145-14.fc12
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.32-56.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissi(removed)e
Plugin Name                   catchall
Host Name                     (remo(removed)ed)
Platform                      Linux (removed) 2.6.31.6-166.fc12.x86_64 #1 SMP Wed Dec 9
                              10:46:22 EST 2009 x86_64 x86_64
Alert Count                   1
First Seen                    Thu 24 Dec 2009 11:58:09 AM EST
Last Seen                     Thu 24 Dec 2009 11:58:09 AM EST
Local ID                      84cbacc5-57bf-4413-8472-f1354ffd05b6
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1261673889.798:12): a(removed)c:  denied  { getattr } for  pid=1956 comm="ude(removed)-acl.ck" name="card0" de(removed)=tmpfs ino=2803 scontext=system_u:system_r:consolekit_t:s0-s0:c0.c1023 tcontext=system_u:object_r:dri_de(removed)ice_t:s0 tclass=chr_file

node=(removed) type=SYSCALL msg=audit(1261673889.798:12): arch=c000003e syscall=191 success=yes exit=4294967424 a0=22dcbe0 a1=3271a05b47 a2=7fff489bbfc0 a3=84 items=0 ppid=1272 pid=1956 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="ude(removed)-acl.ck" exe="/lib/ude(removed)/ude(removed)-acl" subj=system_u:system_r:consolekit_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  selinux-policy-3.6.32-56.fc12,catchall,udev-acl.ck,consolekit_t,dri_device_t,chr_file,getattr
audit2allow suggests:

Comment 1 Daniel Walsh 2009-12-27 13:08:16 UTC
restorecon -v /lib/udev/udev-acl

Should fix the label, for some reason. consolekit did not transition to the correct domain.

Comment 2 Daniel Walsh 2009-12-27 13:08:48 UTC
*** Bug 550412 has been marked as a duplicate of this bug. ***

Comment 3 Daniel Walsh 2009-12-27 13:08:55 UTC
*** Bug 550411 has been marked as a duplicate of this bug. ***


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