Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1289405

Bug#1133304: anacron: upgrade frozen on "Setting up anacron (2.3-48) ..."

From Vincent Lefevre <vincent@vinc17.net>
Newsgroups linux.debian.bugs.dist
Subject Bug#1133304: anacron: upgrade frozen on "Setting up anacron (2.3-48) ..."
Date 2026-04-13 16:20 +0200
Message-ID <MJqiR-eQGe-3@gated-at.bofh.it> (permalink)
References (7 earlier) <MIPMl-erHq-3@gated-at.bofh.it> <MJqiR-eQGe-5@gated-at.bofh.it> <MJqiR-eQGe-7@gated-at.bofh.it> <MIPMl-erHq-3@gated-at.bofh.it> <MJqiR-eQGe-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 2026-04-13 15:53:23 +0200, Fiona Klute wrote:
> Am 13.04.26 um 15:29 schrieb Lin Qigang:
> > So anacron 2.3-49 is now in experimental for testing that Type=oneshot
> > is the issue. After some testing this is the issue, I will upload
> > anacron 2.3-50 to unstable and close this bug. Thank you again for
> > testing!
> This makes sense: If Type is unset systemd assumes "simple", which considers
> the service up as soon as the process has been forked off, while "oneshot"
> waits for it to exit.

This is also what I understand from the systemd.service(5) man page.

> 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)?

I'm wondering the same thing. The cron jobs would have probably been
run already (without anacron installed). This would mean that the jobs
would be run again, and this seems incorrect (not tested).

> 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.

I agree that this would make more sense.

-- 
Vincent Lefèvre <vincent@vinc17.net> - 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)

Back to linux.debian.bugs.dist | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Bug#1133304: anacron: upgrade frozen on "Setting up anacron (2.3-48) ..." Vincent Lefevre <vincent@vinc17.net> - 2026-04-13 14:10 +0200
  Bug#1133304: anacron: upgrade frozen on "Setting up anacron (2.3-48) ..." Vincent Lefevre <vincent@vinc17.net> - 2026-04-13 14:40 +0200
  Bug#1133304: anacron: upgrade frozen on "Setting up anacron (2.3-48) ..." Vincent Lefevre <vincent@vinc17.net> - 2026-04-13 15:20 +0200
    Bug#1133304: anacron: upgrade frozen on "Setting up anacron (2.3-48) ..." Vincent Lefevre <vincent@vinc17.net> - 2026-04-13 16:20 +0200
    Bug#1133304: anacron: upgrade frozen on "Setting up anacron (2.3-48) ..." Vincent Lefevre <vincent@vinc17.net> - 2026-04-13 17:20 +0200

csiph-web