--- freeradius-server-3.0.8.orig/suse/radiusd-logrotate 2015-04-22 19:21:34.000000000 +0200 +++ freeradius-server-3.0.8.suse/suse/radiusd-logrotate 2015-04-23 10:15:52.847179845 +0200 @@ -16,13 +16,18 @@ # The main server log # /var/log/radius/radius.log { + su radiusd radiusd copytruncate + postrotate + kill -HUP `cat /run/radiusd/radiusd.pid` || : + endscript } # # Session monitoring utilities # /var/log/radius/checkrad.log /var/log/radius/radwatch.log { + su radiusd radiusd nocreate size=+1024k } @@ -31,6 +36,7 @@ # Session database modules # /var/log/radius/radutmp /var/log/radius/radwtmp { + su radiusd radiusd nocreate size=+2048k } @@ -39,6 +45,7 @@ # SQL log files # /var/log/radius/sqllog.sql { + su radiusd radiusd nocreate size=+2048k } @@ -51,6 +58,7 @@ # second technique, you will need another cron job that removes old # detail files. You do not need to comment out the below for method #2. /var/log/radius/radacct/*/detail { + su radiusd radiusd nocreate }