[pkg-go] Bug#1060297: acmetool's systemd timer is stopped when the package is upgraded

Timothy Allen thristian at gmail.com
Tue Jan 9 00:44:47 GMT 2024


Package: acmetool
Version: 0.2.2-2+b1
Severity: normal

Dear Maintainer,

I installed acmetool a while ago, with the systemd timer unit to keep my
certificates refreshed, and I've generally been very happy with it.
However, sometimes Let's Encrypt emails me that my certificates are
about to expire, and when I check, the systemd timer unit is stopped,
and I have been unable to figure out why.

Today there was an updated acmetool package, and I caught it in the act.

Before I ran "apt upgrade", acmetool was scheduled:

```
$ sudo systemctl list-timers --all
NEXT                             LEFT LAST                          PASSED UNIT
---------------------------- -------- ---------------------------- ------- --------------
Tue 2024-01-09 12:27:46 AEDT 1h 18min Tue 2024-01-09 00:21:01 AEDT 10h ago acmetool.timer
```

I then ran "apt upgrade", which completed successfully without errors or
warnings. Suddenly, the timer unit had been deactivated:

```
$ sudo systemctl list-timers --all
NEXT   LEFT LAST                          PASSED UNIT
---- ------ ---------------------------- ------- --------------
-         - Tue 2024-01-09 00:21:01 AEDT 10h ago acmetool.timer
```

And sure enough, although the unit was still loaded and "enabled" (which
I understand means "automatically activated") it was now inactive:

```
$ sudo systemctl status acmetool.timer
○ acmetool.timer - Reconcile Let's Encrypt certificates twice daily
     Loaded: loaded (/usr/lib/systemd/system/acmetool.timer; enabled; preset: enabled)
     Active: inactive (dead) since Tue 2024-01-09 11:09:26 AEDT; 1min 59s ago
   Duration: 3d 22h 57min 44.320s
    Trigger: n/a
   Triggers: ● acmetool.service

Jan 05 12:11:41 boombah systemd[1]: Started acmetool.timer - Reconcile Let's Encrypt certificates twice daily.
Jan 09 11:09:26 boombah systemd[1]: acmetool.timer: Deactivated successfully.
Jan 09 11:09:26 boombah systemd[1]: Stopped acmetool.timer - Reconcile Let's Encrypt certificates twice daily.
```

I'm open to the possibility that I have somehow misconfigured systemd in
a way that causes this unit (and no others) to be deactivated, but I did
follow the instructions in the README.Debian.gz file to set it up.

Thank you for packaging such a useful tool!

-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.4.0-3-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages acmetool depends on:
ii  libc6    2.37-13
ii  libcap2  1:2.66-4+b2

Versions of packages acmetool recommends:
ii  dialog  1.3-20231002-1

acmetool suggests no packages.

-- no debconf information


More information about the Pkg-go-maintainers mailing list