stop rotation of the session database files
authorAlan Buxey <alan.buxey@gmail.com>
Thu, 20 Apr 2017 21:33:33 +0000 (22:33 +0100)
committerAlan Buxey <alan.buxey@gmail.com>
Thu, 20 Apr 2017 21:33:33 +0000 (22:33 +0100)
you really don't want to be rotating these under the server - they are
not normal log files but are stateful session files (used by various
utilities). these were removed from the logrotate some time ago but
appear to have crept back in.

debian/freeradius.logrotate
redhat/freeradius-logrotate
scripts/logrotate/freeradius
suse/radiusd-logrotate

index 02f95c0..676f0c4 100644 (file)
@@ -26,13 +26,6 @@ notifempty
 }
 
 #
-#  Session database modules
-#
-/var/log/freeradius/radutmp /var/log/freeradius/radwtmp {
-       nocreate
-}
-
-#
 #  SQL log files
 #
 /var/log/freeradius/sqllog.sql {
index 6faf336..360765d 100644 (file)
@@ -25,13 +25,6 @@ delaycompress
 }
 
 #
-#  Session database modules
-#
-/var/log/radius/radutmp /var/log/radius/radwtmp {
-       nocreate
-}
-
-#
 #  SQL log files
 #
 /var/log/radius/sqllog.sql {
index cbeeb5f..e8cf706 100644 (file)
@@ -29,13 +29,6 @@ notifempty
 }
 
 #
-#  Session database modules
-#
-/var/log/radius/radutmp /var/log/radius/radwtmp {
-       nocreate
-}
-
-#
 #  SQL log files
 #
 /var/log/radius/sqllog.sql {
index b72267b..24d56be 100644 (file)
@@ -28,14 +28,6 @@ notifempty
 }
 
 #
-#  Session database modules
-#
-/var/log/radius/radutmp /var/log/radius/radwtmp {
-       nocreate
-       size=+2048k
-}
-
-#
 #  SQL log files
 #
 /var/log/radius/sqllog.sql {