Bug 636365 - SELinux is preventing /usr/bin/perl "ioctl" access on /usr/share/perl5/NOCpulse/Object.pm.
Summary: SELinux is preventing /usr/bin/perl "ioctl" access on /usr/share/perl5/N...
Keywords:
Status: CLOSED DUPLICATE of bug 619014
Alias: None
Product: Spacewalk
Classification: Community
Component: Server
Version: 1.1
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Michael Mráka
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard: setroubleshoot_trace_hash:7dd6acb2e3e...
: 636366 (view as bug list)
Depends On:
Blocks: space12
TreeView+ depends on / blocked
 
Reported: 2010-09-22 00:23 UTC by Frank Ybanez
Modified: 2010-10-27 13:12 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-10-27 13:12:56 UTC
Embargoed:


Attachments (Terms of Use)

Description Frank Ybanez 2010-09-22 00:23:24 UTC
Summary:

SELinux is preventing /usr/bin/perl "ioctl" 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                   2
First Seen                    Tue 21 Sep 2010 04:54:36 PM MST
Last Seen                     Tue 21 Sep 2010 05:11:34 PM MST
Local ID                      5c1a9754-6797-4e87-ae4d-209cc4fa99a0
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1285114294.332:42): avc:  denied  { ioctl } for  pid=1490 comm="Monitoring" path="/usr/share/perl5/NOCpulse/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:42): arch=40000003 syscall=54 success=no exit=-25 a0=4 a1=5401 a2=bf88b538 a3=bf88b578 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,ioctl
audit2allow suggests:

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

Comment 1 Miroslav Grepl 2010-09-22 07:38:27 UTC
*** Bug 636366 has been marked as a duplicate of this bug. ***

Comment 2 Miroslav Grepl 2010-09-22 14:49:22 UTC
spacewalk_monitoring_t needs 

files_read_usr_files(spacewalk_monitoring_t)

Comment 3 Jan Pazdziora (Red Hat) 2010-10-27 08:32:12 UTC
Mass-aligning under space12, so that we don't lose track of this bugzilla. This however does not mean that we plan (will be able to) address this bug in Spacewalk 1.2.

Comment 4 Jan Pazdziora (Red Hat) 2010-10-27 13:12:56 UTC
This issue was addressed in bug 619014.

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


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