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 4MXcSc6dKmz4cD9S 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 4MXcSc4j8Dz3yZ1 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 4MXcSc3m3Yz13Pk 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 28LC14sX067316 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 28LC14tC067315 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 From: bugzilla-noreply@freebsd.org To: desktop@FreeBSD.org Subject: [Bug 266532] x11/lightdm: Login sessions do not respect login.conf Date: Wed, 21 Sep 2022 12:01:04 +0000 X-Bugzilla-Reason: CC 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 Only Me X-Bugzilla-Who: darius@dons.net.au X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: desktop@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 cc 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: 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; bh=1Y7ogu+GDCDcoEIPeT3D+wAU7tjjpyzH0JaRJmvgXus=; b=XnSTnMbWAFtmupa9OBcUmh8KaI1nfbTMBF/3Jdr3Z3L9seNYpDAyaRXuGi52kEfSDj0gIL eU8125/g9QpTPWxy/2t04JMlzVHehLsHnqYrwper8T41WHgRxS2fuwVDEWESHk62nSl1Pu S3N/giw29yrkvihzZI8j0K8oiSF24Qq8PhOxSEeX9i3IT4CHy56lIHCE9geXkaGkzy2dYY I/raYBQO7pYIt6EFo6Haf2bU7laZC7f+tYmRst6vEqaL5shcN32LneTk6NWB8urmQT4G+o CPFIS8T/Y5U910Zr++M5rkuBqw1QelA1Eaau1pcR87/NWeumFPBLnETeyzCZcg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1663761664; a=rsa-sha256; cv=none; b=IFvLOpGxz4ScofgXRZEd8erlJNzu9wRr+BoUm9m8a8YP91wtnd0lkCeLZHcEsSIV87I3Q7 XCXIG0tEhWaSxD3fNJ730LYMyih4YpethbgoS4TszIJAEkNbdMCJMdDnYozAaPZEOeSYkG KlxMwKRqcs7TpucwF1D/R9zrAW9j2PFmTGmYhMJgHNqoXAIK4/uIKVyFb5Oxy2kaWt5vWI liryPiJjthbVUsVMQgziR3HiV9b+2da2QilKn1nNiC/ieCMcMqwVat4jVjzCjxLgBWCt5Y fTrGgmqg8mbWtJ2DHT7i+N2RNr0MHyEWNIGx7RrordQ887nJGTmyHP4cmcca2A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266532 Bug ID: 266532 Summary: x11/lightdm: Login sessions do not respect login.conf Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: desktop@FreeBSD.org Reporter: darius@dons.net.au Flags: maintainer-feedback?(desktop@FreeBSD.org) CC: Assignee: desktop@FreeBSD.org 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= 970d4c7/src/session-child.c#L540 I plan on trying it soon but would appreciate some feedback since it's secu= rity related. --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.=