selinux-policy/refpolicy/policy/modules/admin/logrotate.fc

17 lines
730 B
Plaintext
Raw Normal View History

/etc/cron\.(daily|weekly)/sysklogd -- gen_context(system_u:object_r:logrotate_exec_t,s0)
2005-06-28 20:54:49 +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
/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
/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', `
/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
', `
/var/lib/logrotate\.status -- gen_context(system_u:object_r:logrotate_var_lib_t,s0)
2005-06-28 20:54:49 +00:00
')