On 3/4/26 3:58 PM, Harald Dunkel wrote:
I think the problem is, anacron.service is run by the postinst script
at upgrade time. This conflicts with the intention to run it triggered
by the timer only. And since some daily anacron jobs might have a random
delay of a couple of minutes the anacron.service appears to be hung.

So I tried to say already I could not reproduce this issue when I tested with a new install of bookworm upgraded to trixie. anacron.service (triggered by the timer) was running during the upgrade with some jobs completed and some waiting to run. anacron received SIGUSR1 and exited during the upgrade and then the jobs that did not run were started again with a delay.

Since your command output shows systemd-tty-ask-password-agent watching, I think the hang is from daemon-reload initiated from anacron's postinst on upgrade in your environment.

This bug report will close when there is another release of anacron, so please submit a new bug report with more information to reproduce and help debug if it continues to be an issue. Thank you!

--
Lance Lin
GPG Fingerprint: 4A31 DB5A 1EE4 096C 8739 9880 9036 4929 4C33 F9B7

Attachment: OpenPGP_0x903649294C33F9B7.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to