Hi Simon, Simon Streit <si...@netpanic.org> skribis:
> On inspection of the default settings for Rot[t]logs service, and > reading through /var/log/mcron.log, rottlog always exits with the > following error: > > 2024-08-07 12:00:00 3408 > /gnu/store/scligrs2fwpsy6jvffraa274k7ipbg81-rottlog-0.72.2/sbin/rottlog: > running... > 2024-08-07 12:00:01 3408 > /gnu/store/scligrs2fwpsy6jvffraa274k7ipbg81-rottlog-0.72.2/sbin/rottlog: > failed after 0.199s with: (misc-error #f unclean exit status ~S (1) #f) > > > Checking directly: > > root@host ~# > /gnu/store/scligrs2fwpsy6jvffraa274k7ipbg81-rottlog-0.72.2/sbin/rottlog -v > read_custom: Config file 'custom' does not exist > read_daily: Config file 'daily' does not exist > check_last_rotate: Checking for week(ly) config file > check_last_rotate: Old date : 1722810339 > check_last_rotate: New date : 1723125091 > check_last_rotate: Next date : Thu 15 Aug 16:51:31 CEST 2024 > check_last_rotate: Rotation not needed: 314752 < 604800 > read_monthly: Config file 'monthly' does not exist > root@host ~# echo $? > 1 FWIW I would recommend not investing too much time in Rottlog: well hopefully be able to migrate to the Shepherds log rotation service in the coming months. https://lists.gnu.org/archive/html/guix-devel/2024-05/msg00159.html Ludo’.