🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
1 messages
1 total messages Started by Wolfgang Karall-Ahlborn Sun, 18 Oct 2026 11:40
Bug#1151023: Add systemd unit to run logcheck at boot
#1261
Author: Wolfgang Karall-Ahlborn
Date: Sun, 18 Oct 2026 11:40
57 lines
3796 bytes
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads