Package: certbot
Version: 1.12.0-2
Severity: normal

Dear Maintainer,

on systemd-based systems, certificate renewal is run via combination
of systemd timer and service. When the service fails, the systemd
service is marked as failed, but the administrator is not notified
about that. I'd appreciate if the administrator is notified via email
in the same way as with cron.

I'm not sure what is the best way to implement this. The systemd-cron
package provides cron-failure@.service and the services generated by
that package contain "OnFailure=cron-failure@%i.service". Perhaps,
something like this should be implemented even in the certbot package.

-- System Information:
Debian Release: 11.1
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'stable-debug'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-9-amd64 (SMP w/2 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages certbot depends on:
ii  debconf [debconf-2.0]  1.5.77
ii  python3                3.9.2-3
ii  python3-certbot        1.12.0-2

certbot recommends no packages.

Versions of packages certbot suggests:
ii  python-certbot-doc      1.12.0-2
ii  python3-certbot-apache  1.10.1-1
pn  python3-certbot-nginx   <none>

-- debconf information:
  certbot/remove_live_certs: true

Reply via email to