[Bug 2006589] Re: Anacron service and timer disabled after upgrading from 2.3-33
Michael Hudson-Doyle
2006589 at bugs.launchpad.net
Mon Feb 20 00:03:57 UTC 2023
I think your change looks good.
On the topic of where the units/symlinks are persisted, I don't really
understand quite what you are trying to say (possibly my problem).
I guess the situations where there is an unexpected delay between new-
preinst and new-postinst are when the system crashes or a maintainer
script in a different package fails (I think?). The risk here is that an
explicit systemctl disable anacron.service before "apt install -f" or
whatever gets run will be ignored. I think given the general edge-case-
y-ness of all this I'm OK with this?
The issue of persisting to /run or /var/lib is that the behaviour
depends on if the system is rebooted between preinst and postinst. This
frankly seems a bit surprising -- so I'd prefer you to change to
persisting in /var/lib.
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
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 Ubuntu-sponsors
mailing list