FreeBSD Port: security/py-certbot

rainer at ultra-secure.de rainer at ultra-secure.de
Tue Apr 30 14:40:46 UTC 2019


Am 2019-04-30 16:04, schrieb Jason de Cordoba:
> Hi there,
> 
> I have been running the following command in roots cron for a very long 
> time
> 0 0,12 * * * python2.7 -c 'import random; import time;
> time.sleep(random.random() * 3600)' && certbot -q renew --renew-hook
> "service nginx restart"
> 
> now my crontab sends root back an email that
> "/bin/sh: certbot: not found"
> 
> Did you guys rename the executable?
> why?
> 
> Did you update the docs on the certbot website as well?
> Why did letsencrypt not notify users of their solution of this change?
> Why is this not added to UPDATING?
> 
> https://github.com/certbot/certbot/issues/7006
> 
> 
> Thank you for your support for FreeBSD!
> Jason


Usually, this happens when $PATH does not contain the necessary paths.

I don't know if this is because I run zsh, but I think with 11.2, a lot 
of paths were removed when running cron.
Even very basic ones in the base-system.

Had to add them back in crontab.


More information about the freebsd-python mailing list