[Bug 274975] sysutils/py-salt external_auth pam module points to non-existing python
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 08 Nov 2023 21:57:25 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274975 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 = pathlib.Path(__opts__.get("auth.pam.python", "/usr/bin/python3")).resolve() But that python location doesn't exist. That's a linux location. When you change the path to the actual python location then it all works fine. pyexe = pathlib.Path(__opts__.get("auth.pam.python", "/usr/local/bin/python3.9")).resolve() -- You are receiving this mail because: You are the assignee for the bug.