Dimitris T.
2025-01-03 21:10:01 UTC
Reply
PermalinkVersion: 0.8.1
Severity: normal
Hey,
not sure exactly when, but probably sometime in the last 2 versions of the package, a new /etc/logrotote.d/aa-rsyslog-runit file was introduced.
logrotate cron outputs some errors since. messages :
"/etc/cron.daily/logrotate:
error: rsyslog:1 duplicate log entry for /var/log/syslog
error: rsyslog:1 duplicate log entry for /var/log/mail.log
error: rsyslog:1 duplicate log entry for /var/log/kern.log
error: rsyslog:1 duplicate log entry for /var/log/auth.log
error: rsyslog:1 duplicate log entry for /var/log/user.log
error: rsyslog:1 duplicate log entry for /var/log/cron.log
error: found error in file rsyslog, skipping
run-parts: /etc/cron.daily/logrotate exited with return code 1"
there is also /etc/logrotate.d/rsyslog with the same logs to rotate, provided by rsyslog package.
probably related to bug #1079268 and this: https://salsa.debian.org/debian/runit-services/-/commit/6d5b38ff9eb15ee838da078a12a67dc15f9d3bca (?)
maybe this check is missing in .postinst?
thanks in advance,
d.
-- System Information:
Distributor ID: Devuan
Description: Devuan GNU/Linux 6 (excalibur/ceres)
Release: 6
Codename: excalibur ceres
Architecture: x86_64
Kernel: Linux 6.12.6-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=el_GR.UTF-8, LC_CTYPE=el_GR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: runit (via /run/runit.stopit)
LSM: AppArmor: enabled
Versions of packages runit-services depends on:
ii runit 2.1.2-60
ii runit-helper 2.16.4
Versions of packages runit-services recommends:
ii runit-init 2.1.2-60
Versions of packages runit-services suggests:
pn socklog <none>
-- no debconf information