Bug 636366

Summary: SELinux is preventing /usr/bin/perl "open" access on /usr/share/perl5/NOCpulse/Object.pm.
Product: [Fedora] Fedora Reporter: Frank Ybanez <fybanez>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:e9a231b383be7ce81e69efe989b09b67756270d35757d448a3960afdbe699920
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-09-22 07:38:27 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 Frank Ybanez 2010-09-22 00:23:47 UTC
Summary:

SELinux is preventing /usr/bin/perl "open" access on
/usr/share/perl5/NOCpulse/Object.pm.

Detailed Description:

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

SELinux denied access requested by Monitoring. It is not expected that this
access is required by Monitoring 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                system_u:system_r:spacewalk_monitoring_t:s0
Target Context                system_u:object_r:usr_t:s0
Target Objects                /usr/share/perl5/NOCpulse/Object.pm [ file ]
Source                        Monitoring
Source Path                   /usr/bin/perl
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           perl-5.10.1-116.fc13
Target RPM Packages           perl-NOCpulse-Object-1.26.10-4.fc13
Policy RPM                    selinux-policy-3.7.19-54.fc13
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.34.7-56.fc13.i686.PAE #1 SMP
                              Wed Sep 15 03:27:15 UTC 2010 i686 i686
Alert Count                   8
First Seen                    Tue 21 Sep 2010 02:11:16 PM MST
Last Seen                     Tue 21 Sep 2010 05:11:34 PM MST
Local ID                      af11dd8b-e688-4e83-88c8-3f348430aa37
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1285114294.332:41): avc:  denied  { open } for  pid=1490 comm="Monitoring" name="Object.pm" dev=dm-0 ino=5246007 scontext=system_u:system_r:spacewalk_monitoring_t:s0 tcontext=system_u:object_r:usr_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1285114294.332:41): arch=40000003 syscall=5 success=yes exit=4 a0=9d6a700 a1=8000 a2=0 a3=0 items=0 ppid=1489 pid=1490 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="Monitoring" exe="/usr/bin/perl" subj=system_u:system_r:spacewalk_monitoring_t:s0 key=(null)



Hash String generated from  catchall,Monitoring,spacewalk_monitoring_t,usr_t,file,open
audit2allow suggests:

#============= spacewalk_monitoring_t ==============
allow spacewalk_monitoring_t usr_t:file open;

Comment 1 Miroslav Grepl 2010-09-22 07:38:27 UTC

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