Package: logcheck
Version: 1.4.5+deb13u1
Followup-For: Bug #1151023

Dear Maintainer,

Indeed, this change caught us by surprise after the upgrade to Debian
13, as Jeffrey already pointed out the previous behavior made a lot of
sense, so it would be great to see it restored, i.e. by having another
set of logcheck-on-boot.{service,timer} units using OnBootSec and the -R
option when calling logcheck in the ExecStart.

For the time being, as quick fix, removing

 [ ! -d /run/systemd/system ] && 

from the @reboot line /etc/cron.d/logcheck, so it's again as before the
upgrade to Debian 13

@reboot         logcheck    if [ -x /usr/sbin/logcheck ]; then nice -n10 
/usr/sbin/logcheck -R; fi

will also give you back the 'Reboot:'-prefixed mail messages.

Cheers
Wolfgang

-- System Information:
Debian Release: 13.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.113+deb13-amd64 (SMP w/1 CPU thread; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages logcheck depends on:
ii  adduser                         3.152
ii  cron [cron-daemon]              3.0pl1-197
ii  lockfile-progs                  0.2.0
ii  logtail                         1.4.5+deb13u1
ii  mime-construct                  1.12+really1.11-1
ii  postfix [mail-transport-agent]  3.10.13-0+deb13u1
ii  systemd-sysv                    257.13-1~deb13u1

Versions of packages logcheck recommends:
ii  logcheck-database  1.4.5+deb13u1

Versions of packages logcheck suggests:
ii  rsyslog [system-log-daemon]  8.2504.0-1+deb13u2

-- Configuration Files:
/etc/logcheck/logcheck.logfiles.d/journal.logfiles changed [not included]

-- no debconf information

Reply via email to