From nobody Fri Sep 23 07:24:50 2022 X-Original-To: desktop@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 4MYkDy3XVfz4dWZ8 for ; Fri, 23 Sep 2022 07:24:50 +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 4MYkDy1r6nz3XDM for ; Fri, 23 Sep 2022 07:24:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 4MYkDy0ddNzgGV for ; Fri, 23 Sep 2022 07:24:50 +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 28N7OnHk015151 for ; Fri, 23 Sep 2022 07:24:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 28N7OnO4015150 for desktop@FreeBSD.org; Fri, 23 Sep 2022 07:24:49 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: desktop@FreeBSD.org Subject: [Bug 266532] x11/lightdm: Login sessions do not respect login.conf Date: Fri, 23 Sep 2022 07:24:50 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed 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 Only Me X-Bugzilla-Who: madpilot@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: desktop@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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: Using and improving FreeBSD on the desktop List-Archive: https://lists.freebsd.org/archives/freebsd-desktop List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-desktop@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663917890; 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: in-reply-to:in-reply-to:references:references; bh=qGYgyD+3l/UyK78DiJsy3EJ2lkwbriU783JIi3uuOOo=; b=NDpIRrbRkngHDBWU2FIdYX1BjBSo97S2qcaWfV8m+wFjV/fypBEs2+H+nKtZKQaLA48zNf HzQnegPYSatFLfVlK52BWsMdkU4pLhtmFaObRxMxpTNf2cWVVsVGcgkVSLUCHL+HR+vjqA DuRE92DLPVTWg2V190OrFORAtYINTBCmrhcDTwz3rxsd5feR+5RRvatLC6aXqqX7OGaXoq 7zq1Lrw0taT4ScdS2rk1iyuZgAusosaq/XrJp26hHu5gupYbZsMpKiV8ME81li4849GHGG MDgx24qFnaeHDHxZFbIQfTlM5GS/f5Sdt/KgH70SVU3crbh0WmKD1XZJ6rcXaw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1663917890; a=rsa-sha256; cv=none; b=iwCF7bGpJtcUSE8+gzwhWVLtuuxa4hBfsSKHYxAePGkVC8yluuwbNxaEGHkNXalTYfwBN6 00MdU6H48JSXI+MSXC1DHTsWXOr80feA4NLMabsWHMYPQc4tYnsnQXqmH+77nhhMdXcOlU W3rhuwolfRE9HR+Qai4DHTWhFgpmGDhzq7h3kEmIyANqPdCBtRq+Xyg4OMc9AkpcOqLeg7 SJ47EPWRKHond/kO6ypGtSmJdH6SfmXHg1cm8/OlX08wXtwO9vS+0nIbKw4m7mXHarFZAa riytoNPQ/ZvQ7li+5k/EfV+AtXoDmlOUWai9HOYs6m7Z4/j47o6DBfVrSgXaEw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266532 --- Comment #3 from Guido Falsi --- (In reply to Daniel O'Connor from comment #2) Looking at it, I suspect the line you suggest for adding the call to setusercontext() is actually running elevated, not in the context of the us= er being logged in, so that environment is discarded when the session is actua= lly started dropping to user privilege. This is just a quick guess, not an educated comment though. --=20 You are receiving this mail because: You are the assignee for the bug.=