We have been using Nagios for a very long time, I have been running it
under an older rev for a bit because everything has worked, and there
have been no new features that my install has needed. However for
various reasons we are now looking to upgrade to current.
I would like some opinions of wh
Jim Perrin wrote:
> On 7/4/06, Bernardo Ortega <[EMAIL PROTECTED]> wrote:
>> Create this file in /etc/yum.repos.d/nagios.repo
>
> Unless we're talking about a true RHEL4 box, which won't have yum.
>
>
RHEL4 (and even RHEL3's) up2date supports YUM... edit your
/etc/sysconfig/rhn/sources
Add wit
Miguel Fernandes wrote:
> It worked!
>
> I ran the following command:
>
> chcon -R system_u:object_r:httpd_sys_script_rw_t /var/log/nagios/
>
>
> And it's working fine now. Thank you Chris and Jim for your help!
>
> MFC
>
Glad to be of help...
Just keep in mind that you have now given
Miguel Fernandes wrote:
>
> These are the results:
>
> [EMAIL PROTECTED] nagios]# ls --context /var/log/nagios/
> drwxr-xr-x nagios nagios system_u:object_r:var_log_t archives
> -rw-rw-r-- nagios nagios root:object_r:var_log_t comments.dat
> -rw-rw-r-- nagios nagi
> audit(1151073510.912:1650): avc: denied { read } for pid=7942
> comm="status.cgi" name="objects.cache" dev=dm-0 ino=98630
> scontext=root:system_r:httpd_sys_script_t:s0
> tcontext=root:object_r:var_log_t:s0 tclass=file
> audit(1151073601.054:1651): avc: denied { read } f
Jim Perrin wrote:
> On 6/23/06, Miguel Fernandes <[EMAIL PROTECTED]> wrote:
>> Thanks for your quick response Jim,
>>
>> I have checked all the selinux related packages on yum repositories
>> and almost all of them are installed (including selinux-policy,
>> checkpolicy, libselinux and libselinux-d
It's not the *best* solution but a work around to this is to manually
edit the configure file before doing your ./configure as the configure
file has /usr/lib hard-coded and won't figure out /usr/lib64 without
some help
*note* all this is from a Red Hat point of view, may require some
modification