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

17 lines
770 B
Plaintext
Raw Normal View History

2005-07-18 14:25:05 +00:00
/etc/cron\.(daily|weekly)/sysklogd -- context_template(system_u:object_r:logrotate_exec_t,s0)
2005-06-28 20:54:49 +00:00
2005-07-18 14:25:05 +00:00
/usr/sbin/logcheck -- context_template(system_u:object_r:logrotate_exec_t,s0)
/usr/sbin/logrotate -- context_template(system_u:object_r:logrotate_exec_t,s0)
2005-06-28 20:54:49 +00:00
2005-07-18 14:25:05 +00:00
/var/lib/logcheck(/.*)? context_template(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-07-18 14:25:05 +00:00
/var/tmp/logcheck -d context_template(system_u:object_r:logrotate_tmp_t,s0)
2005-06-28 20:54:49 +00:00
ifdef(`distro_debian', `
2005-07-18 14:25:05 +00:00
/usr/bin/savelog -- context_template(system_u:object_r:logrotate_exec_t,s0)
/var/lib/logrotate(/.*)? context_template(system_u:object_r:logrotate_var_lib_t,s0)
2005-06-28 20:54:49 +00:00
', `
2005-07-18 14:25:05 +00:00
/var/lib/logrotate\.status -- context_template(system_u:object_r:logrotate_var_lib_t,s0)
2005-06-28 20:54:49 +00:00
')