need to be var_log_t or the /etc/cron.daily/logrotate will fail
# ls -laZ /usr/local/nagiosxi/var/
drwxr-xr-x. nagios nagios unconfined_u:object_r:usr_t:s0 .
drwxr-xr-x. nagios nagios unconfined_u:object_r:usr_t:s0 ..
-rw-r--r--. nagios nagios system_u:object_r:var_log_t:s0 cleaner.log
-rw-r--r--. nagios nagios system_u:object_r:var_log_t:s0 cmdsubsys.log
drwsrwsr-x. apache nagios unconfined_u:object_r:usr_t:s0 components
-rw-r--r--. nagios nagios system_u:object_r:usr_t:s0 corelog.data
-rw-r--r--. nagios nagios system_u:object_r:usr_t:s0 corelog.diff
-rwxrwxr-x. nagios nagios system_u:object_r:usr_t:s0 corelog.newobjects
-rw-r--r--. nagios nagios system_u:object_r:var_log_t:s0 dbmaint.log
-rw-r--r--. nagios nagios system_u:object_r:usr_t:s0 event_handler.lock
-rw-r--r--. nagios nagios system_u:object_r:var_log_t:s0 event_handler.log
-rw-r--r--. nagios nagios system_u:object_r:var_log_t:s0 eventman.log
-rw-r--r--. nagios nagios system_u:object_r:var_log_t:s0 feedproc.log
-rw-r--r--. nagios nagios system_u:object_r:var_log_t:s0 load_url.log
-rw-r--r--. nagios nagios system_u:object_r:var_log_t:s0 nom.log
-rw-r--r--. nagios nagios system_u:object_r:var_log_t:s0 perfdataproc.log
-rw-r--r--. nagios nagios system_u:object_r:var_log_t:s0 recurringdowntime.log
-rw-r--r--. nagios nagios system_u:object_r:var_log_t:s0 reportengine.log
drwxr-xr-x. nagios nagios unconfined_u:object_r:usr_t:s0 subsys
-rw-r--r--. nagios nagios system_u:object_r:var_log_t:s0 sysstat.log
drwxr-xr-x. nagios nagios unconfined_u:object_r:usr_t:s0 upgrades
-rw-r--r--. nagios nagios unconfined_u:object_r:usr_t:s0 xi-itype
-rw-r--r--. nagios nagios unconfined_u:object_r:usr_t:s0 xi-sys.cfg
-rw-r--r--. nagios nagios unconfined_u:object_r:usr_t:s0 xi-uuid
-rw-r--r--. nagios nagios unconfined_u:object_r:usr_t:s0 xiversion
improper permissions on nagiosxi/var/*.log
Re: improper permissions on nagiosxi/var/*.log
I'm a bit confused. Are you posting an issue you are having or a solution to an issue you solved?
Former Nagios employee
Re: improper permissions on nagiosxi/var/*.log
solution to issue found
Re: improper permissions on nagiosxi/var/*.log
Ahh. I'm going to lock this since we have a dashboard of things to answer, but thanks for the fix!
Former Nagios employee