2005-10-06 19:33:06 +00:00
|
|
|
/etc/cron\.(daily|weekly)/sysklogd -- gen_context(system_u:object_r:logrotate_exec_t,s0)
|
2005-06-28 20:54:49 +00:00
|
|
|
|
2005-10-06 19:33:06 +00:00
|
|
|
/usr/sbin/logcheck -- gen_context(system_u:object_r:logrotate_exec_t,s0)
|
|
|
|
/usr/sbin/logrotate -- gen_context(system_u:object_r:logrotate_exec_t,s0)
|
2005-06-28 20:54:49 +00:00
|
|
|
|
2005-10-06 19:33:06 +00:00
|
|
|
/var/lib/logcheck(/.*)? gen_context(system_u:object_r:logrotate_var_lib_t,s0)
|
2005-06-28 20:54:49 +00:00
|
|
|
|
|
|
|
# using a hard-coded name under /var/tmp is a bug - new version fixes it
|
2005-10-06 19:33:06 +00:00
|
|
|
/var/tmp/logcheck -d gen_context(system_u:object_r:logrotate_tmp_t,s0)
|
2005-06-28 20:54:49 +00:00
|
|
|
|
|
|
|
ifdef(`distro_debian', `
|
2005-10-06 19:33:06 +00:00
|
|
|
/usr/bin/savelog -- gen_context(system_u:object_r:logrotate_exec_t,s0)
|
|
|
|
/var/lib/logrotate(/.*)? gen_context(system_u:object_r:logrotate_var_lib_t,s0)
|
2005-06-28 20:54:49 +00:00
|
|
|
', `
|
2005-10-06 19:33:06 +00:00
|
|
|
/var/lib/logrotate\.status -- gen_context(system_u:object_r:logrotate_var_lib_t,s0)
|
2005-06-28 20:54:49 +00:00
|
|
|
')
|