Bug 522591

Summary: setroubleshoot: SELinux is preventing udev-acl.ck "getattr" access on /dev/.udev/db/\x2fdevices\x2fvirtual\x2fblock\x2fram7.
Product: [Fedora] Fedora Reporter: Kjartan Maraas <kmaraas>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: dwalsh, jkubin, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:bdcc9be1590aef80da4b8b779dbdd3040ee9aeaa7d1caac8890d045d65ec2ed8
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-10 19:41:08 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 Kjartan Maraas 2009-09-10 19:07:26 UTC
The following was filed automatically by setroubleshoot:

Summary:

SELinux is preventing udev-acl.ck "getattr" access on
/dev/.udev/db/\x2fdevices\x2fvirtual\x2fblock\x2fram7.

Detailed Description:

SELinux denied access requested by udev-acl.ck. It is not expected that this
access is required by udev-acl.ck 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 (http://bugzilla.redhat.com/bugzilla/enter_bug.cgi) against this package.

Additional Information:

Source Context                system_u:system_r:consolekit_t:s0-s0:c0.c1023
Target Context                system_u:object_r:udev_tbl_t:s0
Target Objects                /dev/.udev/db/\x2fdevices\x2fvirtual\x2fblock\x2fr
                              am7 [ file ]
Source                        udev-acl.ck
Source Path                   /lib/udev/udev-acl
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           udev-145-7.fc12
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.28-9.fc12
Selinux Enabled               True
Policy Type                   targeted
MLS Enabled                   True
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed)
                              2.6.31-0.190.rc8.fc12.i686.PAE #1 SMP Fri Aug 28
                              18:51:47 EDT 2009 i686 i686
Alert Count                   2
First Seen                    ma. 31. aug. 2009 kl. 22.20 +0000
Last Seen                     ma. 31. aug. 2009 kl. 22.22 +0000
Local ID                      103a525a-cc94-4001-948a-0dd17976b683
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1251750142.609:104): avc:  denied  { getattr } for  pid=1366 comm="udev-acl.ck" path="/dev/.udev/db/\x2fdevices\x2fvirtual\x2fblock\x2fram7" dev=tmpfs ino=8637 scontext=system_u:system_r:consolekit_t:s0-s0:c0.c1023 tcontext=system_u:object_r:udev_tbl_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1251750142.609:104): arch=40000003 syscall=196 success=no exit=-13 a0=bff780cc a1=bff76c68 a2=72aff4 a3=83946f4 items=0 ppid=999 pid=1366 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="udev-acl.ck" exe="/lib/udev/udev-acl" subj=system_u:system_r:consolekit_t:s0-s0:c0.c1023 key=(null)


audit2allow suggests:

#============= consolekit_t ==============
allow consolekit_t udev_tbl_t:file getattr;

Comment 1 Daniel Walsh 2009-09-10 19:41:08 UTC
Fixed in selinux-policy-3.6.31-2.fc12.noarch