Bug 616594 - SELinux is preventing /usr/bin/perl "read" access on /usr/share/perl5/strict.pm.
Summary: SELinux is preventing /usr/bin/perl "read" access on /usr/share/perl5/st...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 13
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:944546f9c27...
: 616593 619323 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-07-20 21:22 UTC by Pierre-YvesChibon
Modified: 2010-07-29 17:10 UTC (History)
3 users (show)

Fixed In Version: selinux-policy-3.7.19-39.fc13
Clone Of:
Environment:
Last Closed: 2010-07-23 02:27:08 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Pierre-YvesChibon 2010-07-20 21:22:14 UTC
Summary:

SELinux is preventing /usr/bin/perl "read" access on /usr/share/perl5/strict.pm.

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
report.

Additional Information:

Source Context                unconfined_u:system_r:munin_disk_plugin_t:s0
Target Context                system_u:object_r:usr_t:s0
Target Objects                /usr/share/perl5/strict.pm [ file ]
Source                        diskstats
Source Path                   /usr/bin/perl
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           perl-5.10.1-114.fc13
Target RPM Packages           perl-5.10.1-114.fc13
Policy RPM                    selinux-policy-3.7.19-33.fc13
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.33.6-147.fc13.i686 #1
                              SMP Tue Jul 6 22:30:55 UTC 2010 i686 i686
Alert Count                   4
First Seen                    Tue 20 Jul 2010 11:18:36 PM CEST
Last Seen                     Tue 20 Jul 2010 11:20:04 PM CEST
Local ID                      6acb4d35-ff0c-4a31-a6dd-6c75b8805eb9
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1279660804.557:27018): avc:  denied  { read } for  pid=12520 comm="diskstats" name="strict.pm" dev=sdb2 ino=10621 scontext=unconfined_u:system_r:munin_disk_plugin_t:s0 tcontext=system_u:object_r:usr_t:s0 tclass=file

node=(removed) type=AVC msg=audit(1279660804.557:27018): avc:  denied  { open } for  pid=12520 comm="diskstats" name="strict.pm" dev=sdb2 ino=10621 scontext=unconfined_u:system_r:munin_disk_plugin_t:s0 tcontext=system_u:object_r:usr_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1279660804.557:27018): arch=40000003 syscall=5 success=yes exit=4 a0=93954d8 a1=8000 a2=0 a3=0 items=0 ppid=12354 pid=12520 auid=500 uid=490 gid=477 euid=490 suid=490 fsuid=490 egid=477 sgid=477 fsgid=477 tty=(none) ses=1 comm="diskstats" exe="/usr/bin/perl" subj=unconfined_u:system_r:munin_disk_plugin_t:s0 key=(null)



Hash String generated from  catchall,diskstats,munin_disk_plugin_t,usr_t,file,read
audit2allow suggests:

#============= munin_disk_plugin_t ==============
allow munin_disk_plugin_t usr_t:file { read open };

Comment 1 Miroslav Grepl 2010-07-21 07:06:52 UTC
*** Bug 616593 has been marked as a duplicate of this bug. ***

Comment 2 Miroslav Grepl 2010-07-21 07:12:37 UTC
Fixed in selinux-policy-3.7.19-39.fc13

Comment 3 Fedora Update System 2010-07-21 15:33:51 UTC
selinux-policy-3.7.19-39.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/selinux-policy-3.7.19-39.fc13

Comment 4 Fedora Update System 2010-07-23 02:26:40 UTC
selinux-policy-3.7.19-39.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Daniel Walsh 2010-07-29 17:10:40 UTC
*** Bug 619323 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.