Bug 593446 - SELinux is preventing /usr/bin/perl "getattr" access on /dev/mapper/control.
Summary: SELinux is preventing /usr/bin/perl "getattr" access on /dev/mapper/cont...
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: x86_64
OS: Linux
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
Whiteboard: setroubleshoot_trace_hash:8f12e3db421...
Depends On:
TreeView+ depends on / blocked
Reported: 2010-05-18 19:24 UTC by Brian Whitehead
Modified: 2010-08-19 11:28 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2010-08-19 11:28:56 UTC
Type: ---

Attachments (Terms of Use)

Description Brian Whitehead 2010-05-18 19:24:39 UTC

SELinux is preventing /usr/bin/perl "getattr" access on /dev/mapper/control.

Detailed Description:

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

SELinux denied access requested by diskstats. It is not expected that this
access is required by diskstats 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://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug

Additional Information:

Source Context                system_u:system_r:munin_t:s0
Target Context                system_u:object_r:lvm_control_t:s0
Target Objects                /dev/mapper/control [ chr_file ]
Source                        diskstats
Source Path                   /usr/bin/perl
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           perl-5.10.0-87.fc12
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.32-113.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed)
                     #1 SMP Mon Apr 5 19:59:38
                              UTC 2010 x86_64 x86_64
Alert Count                   15
First Seen                    Tue 18 May 2010 01:18:21 PM CDT
Last Seen                     Tue 18 May 2010 02:20:04 PM CDT
Local ID                      24a168a1-c120-48b9-b9bf-1586b40704b5
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1274210404.940:1228): avc:  denied  { getattr } for  pid=19153 comm="diskstats" path="/dev/mapper/control" dev=devtmpfs ino=5254 scontext=system_u:system_r:munin_t:s0 tcontext=system_u:object_r:lvm_control_t:s0 tclass=chr_file

node=(removed) type=SYSCALL msg=audit(1274210404.940:1228): arch=c000003e syscall=6 success=yes exit=73014444160 a0=7fffff608c70 a1=7fffff609cc0 a2=7fffff609cc0 a3=37 items=0 ppid=18942 pid=19153 auid=4294967295 uid=485 gid=468 euid=485 suid=485 fsuid=485 egid=468 sgid=468 fsgid=468 tty=(none) ses=4294967295 comm="diskstats" exe="/usr/bin/perl" subj=system_u:system_r:munin_t:s0 key=(null)

Hash String generated from  catchall,diskstats,munin_t,lvm_control_t,chr_file,getattr
audit2allow suggests:
audit2allow is not installed.

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