Date: Wed, 08 Nov 2023 21:57:25 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 274975] sysutils/py-salt external_auth pam module points to non-existing python Message-ID: <bug-274975-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274975 Bug ID: 274975 Summary: sysutils/py-salt external_auth pam module points to non-existing python Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: krion@FreeBSD.org Reporter: michele@possamai.nl Flags: maintainer-feedback?(krion@FreeBSD.org) Assignee: krion@FreeBSD.org External_auth is broken when you want to use pam as the authentication mechanism. The problem lies in /usr/local/lib/python3.9/site-packages/salt/auth/pam.py where line 240 is this: pyexe =3D pathlib.Path(__opts__.get("auth.pam.python", "/usr/bin/python3")).resolve() But that python location doesn't exist. That's a linux location.=20 When you change the path to the actual python location then it all works fi= ne. pyexe =3D pathlib.Path(__opts__.get("auth.pam.python", "/usr/local/bin/python3.9")).resolve() --=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-274975-7788>