-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
In commit 325b603 several log file names were removed from default /etc/logrotate.d/rsyslog config file.
325b603#diff-5e2bda9fa3f8e4f724aceb9e715ee71778ddd65c8d7940cbd94b629db19955cb
We have noticed the issue with /var/log/daemon.log growing without rotation on several Ubuntu Noble servers running rsyslog 8.2312.0-3ubuntu9.1.
Was that a mistake or is there a reason those log names were removed from the default logrotate config?
git show 325b603f700d7943ce0df1ce260e0b35a1b4071b rsyslog/noble/v8-stable/debian/rsyslog.logrotate
commit 325b603f700d7943ce0df1ce260e0b35a1b4071b
Author: Andre lorbach <alorbach@adiscon.com>
Date: Mon Nov 4 12:52:17 2024 +0100
Replaced Ubuntu 24 (noble) debian files.
- Used original debian files from Ubuntu disttribution
- Added Adiscon specific packages
- updated uploadppa.sh script to generate changelog entry automatically
closes: https://github.com/rsyslog/rsyslog-pkg-ubuntu/issues/168
diff --git a/rsyslog/noble/v8-stable/debian/rsyslog.logrotate b/rsyslog/noble/v8-stable/debian/rsyslog.logrotate
index 1e90111..b145324 100644
--- a/rsyslog/noble/v8-stable/debian/rsyslog.logrotate
+++ b/rsyslog/noble/v8-stable/debian/rsyslog.logrotate
@@ -1,29 +1,9 @@
/var/log/syslog
-{
- rotate 7
- daily
- missingok
- notifempty
- delaycompress
- compress
- postrotate
- invoke-rc.d rsyslog rotate >/dev/null
- endscript
-}
-
-/var/log/mail.info
-/var/log/mail.warn
-/var/log/mail.err
/var/log/mail.log
-/var/log/daemon.log
/var/log/kern.log
/var/log/auth.log
/var/log/user.log
-/var/log/lpr.log
/var/log/cron.log
-/var/log/rsyslog.log
-/var/log/debug
-/var/log/messages
{
rotate 4
weekly
@@ -33,6 +13,6 @@
delaycompress
sharedscripts
postrotate
- invoke-rc.d rsyslog rotate >/dev/null
+ /usr/lib/rsyslog/rsyslog-rotate
endscript
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels