Package: certbot
Version: 0.31.0-1
Severity: minor

While looking at your certbot package, I noticed that in unstable it
uses

override_dh_installsystemd:
       dh_installsystemd --no-start --package=certbot
       dh_installsystemd --package=certbot certbot.timer


The first call
"dh_installsystemd --no-start --package=certbot"
will act on all systemd unit files, including certbot.timer.
Then you add a second call
"dh_installsystemd --packaaptge=certbot certbot.timer"
which will generate a lot of duplicated code.

Just have a look at /var/lib/dpkg/info/certbot.postinst or
debian/certbot/DEBIAN/postinst.

I assume you want something like this instead:


override_dh_installsystemd:
       dh_installsystemd --package=certbot --no-start certbot.service
       dh_installsystemd --package=certbot certbot.timer

The first call will act on certbot.service, the second on certbot.timer
This was broken in
https://salsa.debian.org/letsencrypt-team/certbot/certbot/commit/0410bde34cefb73263a9754d57d224badbfcce1c
afaics

Regards,
Michael

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages certbot depends on:
ii  python3          3.7.2-1
pn  python3-certbot  <none>

certbot recommends no packages.

Versions of packages certbot suggests:
pn  python-certbot-doc      <none>
pn  python3-certbot-apache  <none>
pn  python3-certbot-nginx   <none>

Reply via email to