Bug 562704 - SELinux is preventing /usr/sbin/nagios "write" access on nagios.pid.
Summary: SELinux is preventing /usr/sbin/nagios "write" access on nagios.pid.
Keywords:
Status: CLOSED DUPLICATE of bug 539963
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:7b67b6194b3...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-02-08 04:09 UTC by J. David Beutel
Modified: 2010-02-08 09:52 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-02-08 09:52:22 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description J. David Beutel 2010-02-08 04:09:21 UTC
Summary:

SELinux is preventing /usr/sbin/nagios "write" access on nagios.pid.

Detailed Description:

SELinux denied access requested by nagios. It is not expected that this access
is required by nagios 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:nagios_t:s0
Target Context                unconfined_u:object_r:initrc_var_run_t:s0
Target Objects                nagios.pid [ file ]
Source                        nagios
Source Path                   /usr/sbin/nagios
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           nagios-3.2.0-2.fc12
Target RPM Packages           
Policy RPM                    selinux-policy-3.6.32-78.fc12
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed)
                              2.6.31.12-174.2.3.fc12.x86_64 #1 SMP Mon Jan 18
                              19:52:07 UTC 2010 x86_64 x86_64
Alert Count                   1
First Seen                    Sun 07 Feb 2010 06:05:36 PM HST
Last Seen                     Sun 07 Feb 2010 06:05:36 PM HST
Local ID                      a7ec32bd-1bd5-4f3e-b893-3c1b738132ce
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1265601936.964:29609): avc:  denied  { write } for  pid=8433 comm="nagios" name="nagios.pid" dev=md2 ino=524529 scontext=unconfined_u:system_r:nagios_t:s0 tcontext=unconfined_u:object_r:initrc_var_run_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1265601936.964:29609): arch=c000003e syscall=2 success=no exit=-13 a0=6ab110 a1=42 a2=1a4 a3=7fffd0d296f0 items=0 ppid=8424 pid=8433 auid=500 uid=490 gid=472 euid=490 suid=490 fsuid=490 egid=472 sgid=472 fsgid=472 tty=pts0 ses=1 comm="nagios" exe="/usr/sbin/nagios" subj=unconfined_u:system_r:nagios_t:s0 key=(null)



Hash String generated from  selinux-policy-3.6.32-78.fc12,catchall,nagios,nagios_t,initrc_var_run_t,file,write
audit2allow suggests:
audit2allow is not installed.

Comment 1 Miroslav Grepl 2010-02-08 09:52:22 UTC

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


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