Control: retitle -1 upgrade frozen on "Setting up anacron (2.3-48) ..." when 
upgrading between midnight and 07:30

On 2026-04-13 13:11:54 +0200, Vincent Lefevre wrote:
> Actually I think that there were no reasons to run the above jobs
> on the other machine. I had (the first two concern both cron.daily
> and cron.weekly):
[...]
> So, cron.daily & cron.weekly jobs are normally run at around 7:30
> (every day for cron.daily, every week for cron.weekly). But on this
> machine, when I upgraded, it did not wait for 7:30.

Note: the 7:30 corresponds to the first hour in

[Timer]
OnCalendar=*-*-* 07..23:30
RandomizedDelaySec=5m
Persistent=true

of the /etc/systemd/system/timers.target.wants/anacron.timer file.

> Or is this forced when the deadline is close enough, e.g. a few hours
> before cron.weekly jobs should be run?

This is indeed the case. The anacron(8) man page says:

    After the command exits, Anacron records the date in a
    special timestamp file for that job, so it can know when
    to execute it again. Only the date is used for the time
    calculations. The hour is not used.

So I got the issue on the first machine because I upgraded
between midnight and about 7:30.

-- 
Vincent Lefèvre <[email protected]> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)

Reply via email to