From nobody Wed Nov 08 21:57:25 2023 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SQf8603L3z50S1F for ; Wed, 8 Nov 2023 21:57:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SQf855vgqz4cvF for ; Wed, 8 Nov 2023 21:57:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699480645; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=+7f7/E+6fE/MCkifVfDjDgS+B7jCTXIy2Clps0PJnh0=; b=yThy6Lbp3tbRCZT1SWBIsgo/us/Q4H63jkFqSgHwATyn1mEJ5ngbDoeipOOS7ftPw5lupW m++VjheJQHrgYuVjwguHDofRw3Fa79CCzfPhZogARbywZzzWGnV2FKuStou0LDLzu+C5Vi e7wyBYrVF8J1XTm7J5zA2VD/RXAKosDnDlGziTnfxgJnN6QwHWXPwJRKBr/8iMHLThd35t lfSEJ+65P0m2S4oNxDjVekxlRHxucyZSTIZuWLUdqRclegCw/+c6g/m1g7JNL13By9+ZK4 z6A6IJ3TkPVxf80ZdL3xam8vCJfgEaO1kDtbogBJE13oEbhOzHTT4Hi4mPG6ug== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1699480645; a=rsa-sha256; cv=none; b=h/owhv85RJbuayUbFSDsPl0rirnon5WImnB729+vsCWwYzp1aKis0D+Og3fAGPaPYfqVhA Zkz6Y9pQ49kEtyEu87kdGRaDEDWN6uVPOpdE/V71Fo8QVUYzfztEp9c8aMKOYawaclmW9Y /lh+M24T5vA4p7S0EE0uCzkSFcJghoO3UT+ZG+j8Rt2HsPrsTryH9yIDIvsiAGovbcTKdR nu1xrRyZS4ch/mHfWe+CLXD1QBZrx3MFvh2pl52E/cd4DjmZEAZWdOGMyGOkSSI4U3WVxv g9sqGB2HJbi/oyTSjOP/W6pRcztcrZ2yjci51dlOHOy9k7ELZnmZvSY5ooiiAg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SQf854ykYzqCj for ; Wed, 8 Nov 2023 21:57:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3A8LvPrb067338 for ; Wed, 8 Nov 2023 21:57:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3A8LvPEr067337 for ports-bugs@FreeBSD.org; Wed, 8 Nov 2023 21:57:25 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f 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 Date: Wed, 08 Nov 2023 21:57:25 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: michele@possamai.nl X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: krion@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 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.=