Public bug reported:

Hi,

/etc/rsyslog.d/50-default.conf
/usr/share/rsyslog/50-default.conf

contains

#
# Logging for the mail system.  Split it up so that
# it is easy to write scripts to parse these files.
#
#mail.info                      -/var/log/mail.info
#mail.warn                      -/var/log/mail.warn
mail.err                        /var/log/mail.err


and thus it creates /var/log/mail.err , and, if admin uncomments as proposed, 
mail.info and mail.warn, but 

/etc/logrotate.d/rsyslog

rotates only /var/log/mail.log

and thus keeps mail.err (and, if uncommented, mail.info and mail.warn)
forever, it never gets rotated.

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: rsyslog 8.2312.0-3ubuntu9.1
ProcVersionSignature: Ubuntu 6.8.0-101.101-generic 6.8.12
Uname: Linux 6.8.0-101-generic aarch64
ApportVersion: 2.28.1-0ubuntu3.8
Architecture: arm64
CasperMD5CheckResult: unknown
CloudArchitecture: aarch64
CloudID: hetzner
CloudName: hetzner
CloudPlatform: hetzner
CloudSubPlatform: unknown
Date: Sun Mar  1 19:41:04 2026
SourcePackage: rsyslog
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: rsyslog (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug arm64 noble

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2142997

Title:
  rsyslog lacks logrotate for /var/log/mail.err

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rsyslog/+bug/2142997/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to