On 2026-04-13 21:20:13 +0700, Lin Qigang wrote: > On 4/13/26 8:53 PM, Fiona Klute wrote: > > But why is anacron.service started during installation at all? Shouldn't > > only the timer unit be started, which can then start the service unit in > > turn if needed (in the background)? > > > > If my understanding is correct and the service unit should be started > > only via the timer, the actual problem is likely the [Install] section > > (which makes the service run independently of the timer). None of the > > other service units started via timer on my system have it. > > Anacron is unique. Please look at the source file debian/README.debian: > > ``` > Anacron itself however is not a daemon, so it will either be called at > startup, on APM power status change, on systemd timer or by cron. > Disabling those will result in some jobs not being executed on time. > ```
Precisely. This does *not* include install time. So the current behavior to run anacron at installation time (which includes upgrades) seems buggy. -- 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)

