From owner-freebsd-python@freebsd.org Tue Apr 30 14:40:46 2019 Return-Path: Delivered-To: freebsd-python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E999E1593D30 for ; Tue, 30 Apr 2019 14:40:45 +0000 (UTC) (envelope-from rainer@ultra-secure.de) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 3D39E74E4F for ; Tue, 30 Apr 2019 14:40:45 +0000 (UTC) (envelope-from rainer@ultra-secure.de) Received: by mailman.ysv.freebsd.org (Postfix) id EEB241593D2F; Tue, 30 Apr 2019 14:40:44 +0000 (UTC) Delivered-To: python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DC3E31593D2E for ; Tue, 30 Apr 2019 14:40:44 +0000 (UTC) (envelope-from rainer@ultra-secure.de) Received: from connect.ultra-secure.de (connect.ultra-secure.de [88.198.71.201]) by mx1.freebsd.org (Postfix) with ESMTP id 44FF174E4C for ; Tue, 30 Apr 2019 14:40:44 +0000 (UTC) (envelope-from rainer@ultra-secure.de) Received: (Haraka outbound); Tue, 30 Apr 2019 16:40:42 +0200 Received-SPF: None (connect.ultra-secure.de: domain of ultra-secure.de does not designate 127.0.0.10 as permitted sender) receiver=connect.ultra-secure.de; identity=mailfrom; client-ip=127.0.0.10; helo=connect.ultra-secure.de; envelope-from= Received: from connect.ultra-secure.de (webmail [127.0.0.10]) by connect.ultra-secure.de (Haraka/2.6.2-toaster) with ESMTPSA id 4483CAE5-D1FA-47AA-8BBA-921A17E75103.1 envelope-from (authenticated bits=0) (version=TLSv1/SSLv3 cipher=AES256-SHA verify=NO); Tue, 30 Apr 2019 16:40:39 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 30 Apr 2019 16:40:39 +0200 From: rainer@ultra-secure.de To: Jason de Cordoba Cc: python@freebsd.org Subject: Re: FreeBSD Port: security/py-certbot In-Reply-To: <96abaf81-363a-6a9b-8ae1-680110ac8d31@aventia.pw> References: <96abaf81-363a-6a9b-8ae1-680110ac8d31@aventia.pw> Message-ID: <09cfe957e63f72768f2379b159afb5b9@ultra-secure.de> X-Sender: rainer@ultra-secure.de User-Agent: Roundcube Webmail/1.2.0 X-Haraka-GeoIP: --, , NaNkm X-Haraka-GeoIP-Received: X-Haraka-p0f: os="undefined undefined" link_type="undefined" distance=undefined total_conn=undefined shared_ip=Y X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on spamassassin X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 X-Haraka-Karma: score: 6, good: 929, bad: 0, connections: 935, history: 929, pass:all_good, relaying X-Rspamd-Queue-Id: 44FF174E4C X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.99 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.99)[-0.992,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Apr 2019 14:40:46 -0000 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.