Am 10.03.19 um 17:36 schrieb Harlan Lieberman-Berg:
> On Sun, Mar 10, 2019 at 12:29 PM Michael Biebl <bi...@debian.org> wrote:
>> Can you provide the output of
>> systemctl status certbot.timer
>> journalctl -u certbot.timer
> 
> The output of `systemctl show certbot.timer` is at
> https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=922031;filename=systemctl-show-certbot.timer.txt;msg=20
> .  One of the reporters will have to follow up with the output of
> journalctl -u certbot.timer, as I can't replicate the problem.
> 
>> Is certbot.timer restarted as part of the package update?
> 
> Not unless dh_installsystemd is doing it automagically, no.

I had a quick look, it's a bug in your package.
What happens is roughly this:

0.12 used and older compat level where
dh_systemd_start defaults to stop in old/prerm, and start in
new/postinst. So during the upgrade, certbot.prerm stops certbot.timer.

Your newer certbot package uses a newer compat level which defaults to
restart after upgrade.
If you check /var/lib/dpkg/info/certbot.postinst, you'll see a
systemctl try-restart certbot-timer.
This will only restart systemd if it was started.
Since the old package stopped certbot timer in prerm, your certbot.timer
is not (re)started on upgrades.




Regards,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to