Re: Nagios installation problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Sat, 6 Nov 2010, Ben McGinnes wrote:

> Hello,
> 	Has anyone managed a successful installation of Nagios using 
> the RPMForge packages on CentOS 5.5? [....]
>
> The SELinux policies look fine (I tend to ignore instructions to 
> permanently disable SELinux, if I'm not using SELinux then there's 
> no reason not to return to Slackware):

I've had trouble getting Nagios runtime files to work and play well 
with SELinux. In particular, the pid file, /var/nagios/nagios.pid, is 
created with a generic var_t type rather than the necessary 
nagios_var_run_t type, so I've tweaked system policy a bit:

semanage fcontext -a -t nagios_var_run_t "/var/nagios/nagios\.pid"

-- 
Paul Heinlein <> heinlein@xxxxxxxxxx <> http://www.madboa.com/
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux