Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Aug 2019 14:54:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 239992] security/py27-certbot: script crashes with traceback
Message-ID:  <bug-239992-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239992

            Bug ID: 239992
           Summary: security/py27-certbot: script crashes with traceback
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: jsmith@resonatingmedia.com

I recently discovered that two changes to the py27-certbot port cause the L=
et's
Encrypt renewal script to break. The first issue is the name of the executa=
ble
changed from /usr/local/bin/certbot to /usr/local/bin/certbot-2.7. This res=
ults
in scripts and crontabs that call the script to not find the certbot
executable.

The second, more serious, issue is running the new path of the script resul=
ts
in a Python traceback error and no certificates being fetched. This can be
reproduced on each of my FreeBSD 11.2 machines by running "certbot renew".

The output from the crashed script indicates the error happens here:

"from pkg_resources import load_entry_point"

I found that the bug can be worked around by removing the Python 2.7 versio=
n of
the Let's Encrypt certbot tool and installing the Python 3.6 version. With =
the
updated version installed running "/usr/local/bin/certbot renew" works.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-239992-7788>