Package: logcheck
Version: 1.4.4
Severity: normal
After the latest upgrade, I receive reports every hour rather than every day as
usual. I changed the /etc/cron.d/logcheck crontab to revert to the previous
behaviour, but nothing apparently changed.
I read in the Changelog that
* Add a basic systemd timer/service for logcheck (See: #1020328)
* d/control:
- Prefer systemd-sysv over cron
however, this change is not mentioned in any of the README files in the doc dir
nor in the man page. Also one of the REDME files explicitely mentions that
changing the frequency involves changing the crontab file.
Please add instructions on how to manage cron / systemd to change the frequency
--
Francesco Potortì (ricercatore) Mobile: +39.348.8283.107
ISTI - Area della ricerca CNR Teams: wnlabisti
via G. Moruzzi 1, I-56124 Pisa Web: http://fly.isti.cnr.it
(gate 20, 1st floor, room C71) ISPIN: https://ieee-jispin.org/
-- System Information:
Debian Release: 13.0
APT prefers testing
APT policy: (990, 'testing'), (101, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.12.27-amd64 (SMP w/24 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE,
TAINT_UNSIGNED_MODULE
Locale: LANG=C.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE not set
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 anacron 2.3-42
ii cron [cron-daemon] 3.0pl1-196
ii exim4-daemon-light [mail-transport-agent] 4.98.2-1
ii lockfile-progs 0.2.0
ii logtail 1.4.4
ii mime-construct 1.12+really1.11-1
ii systemd-sysv 257.5-2
Versions of packages logcheck recommends:
ii logcheck-database 1.4.4
Versions of packages logcheck suggests:
ii rsyslog [system-log-daemon] 8.2504.0-1
-- Configuration Files:
/etc/cron.d/logcheck changed:
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
@reboot logcheck if [ ! -d /run/systemd/system ] && [ -x
/usr/sbin/logcheck ]; then nice -n10 /usr/sbin/logcheck -R; fi
2 4 * * * logcheck if [ ! -d /run/systemd/system ] && [ -x
/usr/sbin/logcheck ]; then nice -n10 /usr/sbin/logcheck -t -T; fi
/etc/logcheck/header.txt [Errno 13] Permission denied:
'/etc/logcheck/header.txt'
/etc/logcheck/logcheck.conf [Errno 13] Permission denied:
'/etc/logcheck/logcheck.conf'
/etc/logcheck/logcheck.logfiles [Errno 13] Permission denied:
'/etc/logcheck/logcheck.logfiles'
/etc/logcheck/logcheck.logfiles.d/journal.logfiles [Errno 13] Permission
denied: '/etc/logcheck/logcheck.logfiles.d/journal.logfiles'
/etc/logcheck/logcheck.logfiles.d/syslog.logfiles [Errno 13] Permission denied:
'/etc/logcheck/logcheck.logfiles.d/syslog.logfiles'
-- no debconf information