[Bug 2006589] Re: Anacron service and timer disabled after upgrading from 2.3-33
Michael Hudson-Doyle
2006589 at bugs.launchpad.net
Fri Feb 10 03:24:35 UTC 2023
Ugh what a mess. Well done on fighting to a solution! I have some peanut
gallery level observations:
1) can you explain in a bit more detail what happens without the
systemctl show calls in preinst? "goes wrong" is a bit ambiguous
2) Did you consider recording the results of systemctl show
--property=UnitFileState anacron.{timer,service} in preinst (guarded by
checks on $1 and $2) into /run or something and then acting on that in
postinst? It feels like it might be a bit less delicate than the
solution you have here. But maybe I'm missing something.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to anacron in Ubuntu.
https://bugs.launchpad.net/bugs/2006589
Title:
Anacron service and timer disabled after upgrading from 2.3-33
Status in anacron package in Ubuntu:
Confirmed
Bug description:
As hinted by https://lists.debian.org/debian-devel-
announce/2022/11/msg00001.html , anacron 2.3-33's packaging has a bug
which disables both the timer and service when its postrm script is
invoked and that includes upgrades from this package.
We need to work-around this issue since it is the version in kinetic.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/anacron/+bug/2006589/+subscriptions
More information about the foundations-bugs
mailing list