From nobody Wed Sep 21 12:01:04 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 4MXcSc6c3Xz4cD9N for ; Wed, 21 Sep 2022 12:01:04 +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 4MXcSc3BPGz3yk2 for ; Wed, 21 Sep 2022 12:01:04 +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 4MXcSc2FJcz13Pj for ; Wed, 21 Sep 2022 12:01:04 +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 28LC146E067307 for ; Wed, 21 Sep 2022 12:01:04 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 28LC14qK067306 for desktop@FreeBSD.org; Wed, 21 Sep 2022 12:01:04 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: desktop@FreeBSD.org Subject: maintainer-feedback requested: [Bug 266532] x11/lightdm: Login sessions do not respect login.conf Date: Wed, 21 Sep 2022 12:01:04 +0000 X-Bugzilla-Type: request 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: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: desktop@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: 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=1663761664; 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=nZHSP9h4Kt1Z/gYa+ZV6qfTaHcD0Mwc2jvPEAXFe7/c=; b=ehgcDnkQ/h9wW3PN7PmgGPKJ67J5lqRdmgE/QoiRE2xrnPcWzT796JZxxXGkPAhmh4xHzw eqdvRU9cmlI9uG87keKTfk51oCXjm4kTb/3ZNTITgys4babpyExbUN5kWtcc/ExuJcQBVl xHBYinAXbA7Utx7QW5PM/p0ksMpKt5ntVanFCIL4/RjvIIGN8EBu5dhhkSo8TY43PRavgj zTdFRVWGNQjJ6A0XKolUJJlrGqIwviWnTlhXZookj3EiEju383hHUxM3K7nzQqJaQPzBCH SmvtLnS+2or3lFyl4111hJrRybCrFK7BLTFmKr5naMSzD8ufVUdfQNDWgn7LXQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1663761664; a=rsa-sha256; cv=none; b=End6apVfq6e+F8UL0CqQQXfzfJBK/Xm3srGWPEOEnxFY4wtl1YMbFm1F61f4rpLDVSp4P/ 1XCvPoETNDoA5wvaJxrt4U8pWcZrl5zqhIoJRE46sPPBt2+dN9K5M+Z+FkesMyHPLfpWHb 2mjAk7lHO29MvR8ImvxfWY5p+RoqvxSZimRSw6UREL8UO0d+hmmyh7fDzK99jDBts8hNbP WhDEhRI++h5ae9rIo/C1yEz8OH1Kb1MAjn4+awuAQ6yIAQk9Ks7pSQ6B59rUdrpbaHc2Ei oVd6rPzgdlFFCeZfYp+fupFsch1Y7WXProY6ccAmMr3e/pN7N6wrrrPzvQVgcg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N Bugzilla Automation has asked freebsd-desktop (Team) for maintainer-feedback: Bug 266532: x11/lightdm: Login sessions do not respect login.conf https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266532 --- Description --- I have created a ~/.login.conf to set LANG but when I login via lightdm it = has no effect (works on SSH though). I think this could be fixed by patching lightdm to add a call to setusercontext(), ie graft the code from xdm: https://github.com/freedesktop/xorg-xdm/blob/master/xdm/session.c#L669 into session-child.c around line 540: https://github.com/canonical/lightdm/blob/653809c387c0a4e4d96f7999db3106d89= 970d 4c7/src/session-child.c#L540 I plan on trying it soon but would appreciate some feedback since it's secu= rity related.