Bug 550411

Summary: SELinux is preventing /lib/udev/udev-acl "setattr" access on card0.
Product: [Fedora] Fedora Reporter: Randy Cole <randyokc>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:888dfc8e176a868d9514fa810b1f39b44ae82ffff71fac656b362c4a11dfe0eb
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-12-27 13:08:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Randy Cole 2009-12-25 02:20:02 UTC
Summary:

SELinux is pre(removed)enting /lib/ude(removed)/ude(removed)-acl "setattr" 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                      a59b1b1a-0869-42bb-9c1f-9c4368b96cf3
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1261673889.798:13): a(removed)c:  denied  { setattr } 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:13): arch=c000003e syscall=188 success=yes exit=0 a0=22dcbe0 a1=3271a05b47 a2=22dc920 a3=2c 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,setattr
audit2allow suggests:

Comment 1 Daniel Walsh 2009-12-27 13:08:54 UTC

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