Saturday, September 16, 2017

After this failure I (partly) futurized Lino Welfare by applying the following:

$ futurize -nw1 .
$ futurize -nw -f libfuturize.fixes.fix_unicode_keep_u -f libfuturize.fixes.fix_future_builtins .

I added Python 3 to the .travis.xml of Lino Voga. And then also ran a limited futurize on it.

We received the following warning mail every day:

/etc/cron.daily/certbot:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Cert not yet due for renewal
Cert not yet due for renewal

-------------------------------------------------------------------------------
Processing /etc/letsencrypt/renewal/ff.example.conf
-------------------------------------------------------------------------------

-------------------------------------------------------------------------------
Processing /etc/letsencrypt/renewal/example.org.conf
-------------------------------------------------------------------------------

The following certs are not due for renewal yet:
  /etc/letsencrypt/live/foo.example/fullchain.pem (skipped)
  /etc/letsencrypt/live/lino-framework.org/fullchain.pem (skipped)
No renewals were attempted.

That’s because a well-behaved daemon should not write to stdout. I changed the /etc/cron.daily/certbot script so that it redirects output to /dev/null:

#!/bin/sh
certbot renew --apache --renew-hook "service apache2 restart" > /dev/null