Package: logcheck-database
Version: 1.4.3
Severity: normal

The logcheck rule for system CPU time misses the new memory peak part.

Current line in ignore.d.server/systemd:
# possibly 
https://sources.debian.org/src/systemd/252.4-1/src/core/unit.c/#L2307 (line 
2474 converts the "consumed"->"Consumed")?
^([[:alpha:]]{3} [ :[:digit:]]{11}|[0-9T:.+-]{32}) [._[:alnum:]-]+ 
systemd\[[0-9]+\]: [^ ]+: Consumed .+ CPU time\.$

However logcheck prints things like:
Oct 30 00:00:09 elmo systemd[1]: debci-update.service: Consumed 1.107s CPU 
time, 46.7M memory peak.

Suggested change:
^([[:alpha:]]{3} [ :[:digit:]]{11}|[0-9T:.+-]{32}) [._[:alnum:]-]+ 
systemd\[[0-9]+\]: [^ ]+: Consumed .+ CPU time(, .+ memory peak)?\.$


-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.10.11-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_AU:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Reply via email to