commit:     da88f8dde868a0fa49d6e786b4296a26ee03d065
Author:     Luis Ressel <aranea <AT> aixah <DOT> de>
AuthorDate: Fri Oct 12 22:23:05 2018 +0000
Commit:     Jason Zaman <perfinion <AT> gentoo <DOT> org>
CommitDate: Sun Nov 11 23:17:31 2018 +0000
URL:        
https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=da88f8dd

Realign logrotate.fc, remove an obvious comment

Signed-off-by: Jason Zaman <jason <AT> perfinion.com>

 policy/modules/admin/logrotate.fc | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/policy/modules/admin/logrotate.fc 
b/policy/modules/admin/logrotate.fc
index cd43ab28..fd5497f3 100644
--- a/policy/modules/admin/logrotate.fc
+++ b/policy/modules/admin/logrotate.fc
@@ -1,12 +1,11 @@
 /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/bin/logrotate     --      
gen_context(system_u:object_r:logrotate_exec_t,s0)
+/usr/bin/logrotate                     --      
gen_context(system_u:object_r:logrotate_exec_t,s0)
 
-# Systemd unit file
-/usr/lib/systemd/system/[^/]*logrotate.*       --      
gen_context(system_u:object_r:logrotate_unit_t,s0)
+/usr/lib/systemd/system/[^/]*logrotate.*  --   
gen_context(system_u:object_r:logrotate_unit_t,s0)
 
-/usr/sbin/logrotate    --      
gen_context(system_u:object_r:logrotate_exec_t,s0)
+/usr/sbin/logrotate                    --      
gen_context(system_u:object_r:logrotate_exec_t,s0)
 
-/var/lib/logrotate(/.*)?       
gen_context(system_u:object_r:logrotate_var_lib_t,s0)
+/var/lib/logrotate(/.*)?                       
gen_context(system_u:object_r:logrotate_var_lib_t,s0)
 /var/lib/(misc/)?logrotate\.status     --      
gen_context(system_u:object_r:logrotate_var_lib_t,s0)

Reply via email to