[Letsencrypt-devel] Bug#843561: certbot: Skip use perl in cron-script, just use shell

Hans Schou chlor at schou.dk
Mon Nov 7 18:50:27 UTC 2016

Package: certbot
Version: 0.9.3-1
Severity: wishlist

Dear Maintainer,

In /etc/cron.d/certbot perl is the only place used. It could be solved with
just shell evaluation and sleep. A more simple script.

-0 */12 * * * root test -x /usr/bin/certbot -a \! -d /run/systemd/system && perl -e 'sleep int(rand(3600))' && certbot -q renew
+0 */12 * * * root test -x /usr/bin/certbot -a \! -d /run/systemd/system && /bin/sleep $((RANDOM\%3600)) && certbot -q renew

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

Kernel: Linux 4.7.0-1-amd64 (SMP w/6 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages certbot depends on:
ii  dialog               1.3-20160828-1
ii  init-system-helpers  1.45
ii  python-certbot       0.9.3-1
pn  python:any           <none>

certbot recommends no packages.

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

-- debconf-show failed

More information about the Letsencrypt-devel mailing list