Skip to contentSkip to conversation

Label /etc/cron.daily/logrotate correctly.

PATCH New Luis Ressel 1 participant 1 message Nov 17, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Label /etc/cron.daily/logrotate correctly.

This is used at least on Gentoo, but I could imagine this also exists on other distros.

---
 logrotate.fc | 1 +
 1 file changed, 1 insertion(+)
logrotate.fc +1 -0
index a11d5be..207ec10 100644
@@ -1,3 +1,4 @@
+/etc/cron\.(daily|weekly)/logrotate	--	gen_context(system_u:object_r:logrotate_exec_t,s0)
 /etc/cron\.(daily|weekly)/sysklogd	--	gen_context(system_u:object_r:logrotate_exec_t,s0)
 
 /usr/sbin/logrotate	--	gen_context(system_u:object_r:logrotate_exec_t,s0)
Signature · 1 line
1.8.4.3