From nobody Fri Dec 29 18:26:18 2023 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 4T1v2y3M9lz54vyT for ; Fri, 29 Dec 2023 18:26:18 +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 4T1v2y0khVz3F4t for ; Fri, 29 Dec 2023 18:26:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1703874378; a=rsa-sha256; cv=none; b=lJljlo4wv+qXVpIza8NYgERMubGsHxnPSLUPGIaRztjBOSUZc0iY+xEb8L6fCWcDMv4EKY SqD3bGu8WfVCk5rhj7YALcaZdp+PGOw7oyX6QudUc64nkepPE6nJ5GChDhtfVFsEz6QyNi rShl+ikz3jaYtzA2L1pfJLr5Vt86EP0eG9PPh6Osg46+GWwol6leov99r3Dz02S/CH9wI6 w9mVQwezkPP5ED7kETfhMMlK2RvGxAVo1APJQWMQseDXoYGJywTJizHpDuSN/uNEAly5Yk 9vK1VFrDr/Ev+O5yacCvJk3ko3dccSWjeXfMuH+Ie0bqXpQ89wzS+oc8o+za4Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1703874378; 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=wvyyIIsm3CcpODCha9MV6W9KZmUvi7TXbVK3flqfqOo=; b=WHw9v0GbNcpDj/gWxfwBpKbUJB7qig56b5KM76K/Zj+F7UsiBl8r5UWmdRyoz6pmwHXBUi aZOA4URQQ48vgyS3QGe+VQvV7mx45kOc8mV1ET8w9SirPR6TSElymMNFOkJOT5cdzy3LOV bMAYo6CtOS4LJv5fko7Dw9nCMAsGc5/4LJcnVuh5wtkhG2s9CsYhQqWTcNTuSldoQvDvUf MQ7sRVl6JYVOiBj7EIzaAIt8sQtHxbBc69+ZsklwDN5ynbkWhOIKAPmfeYdGz3OJlithba kRFxklPGrDpmemZotsbo5KuNjmdlHgy+XokXQ2dlz6Nlt1GptrquGrAaryi3NQ== 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 4T1v2x6xVBz27L for ; Fri, 29 Dec 2023 18:26:17 +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 3BTIQHGn031726 for ; Fri, 29 Dec 2023 18:26:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3BTIQHDj031725 for desktop@FreeBSD.org; Fri, 29 Dec 2023 18:26:17 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla 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, 29 Dec 2023 18:26:18 +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: needs-patch, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266532 --- Comment #49 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3D23a47f28de20c42fb2c3a7286c81579= 7013df6ea commit 23a47f28de20c42fb2c3a7286c815797013df6ea Author: Guido Falsi AuthorDate: 2023-12-29 18:23:10 +0000 Commit: Guido Falsi CommitDate: 2023-12-29 18:25:15 +0000 x11/lightdm: Fix login.conf issues, import various improvements - Add patch to use setusercontext(3) to setup user environment, so it respects login.conf among other things [1] - Use autoreconf, since patch requires regenerating configure script to check for setusercontext(3) [2] - Explicitly disable libaudit support, not supported in FreeBSD [3] - Add QT5 options, disabled by default, to control linking against qt5 = [4] - Import patch adding option to enable alternative location for .xsession-errors file [5] - Correctly define runtime dependencies - Forcibly disable installation of apparmor files - Install PAM configuration files as samples, so in the future they are= not overwritten if customized - Pet portclippy/portfmt - Regenerate patches Upstreaming: [1] https://github.com/canonical/lightdm/pull/334 [5] https://github.com/canonical/lightdm/pull/335 Many thanks to all people involved! PR: 266532 [1] [2], 273720 [1], 275885 [3] [4] [5] Tested by: Ivan Rozhuk , Daniel Tameling (provided setusercontext patch), Anton Saietskii x11/lightdm/Makefile | 71 ++++++++++++------= -- .../files/patch-common_configuration.c (new) | 10 +++ x11/lightdm/files/patch-configure.ac (new) | 11 ++++ x11/lightdm/files/patch-data_Makefile.am (new) | 29 +++++++++ x11/lightdm/files/patch-data_lightdm.conf | 23 +++++-- x11/lightdm/files/patch-data_users.conf | 4 +- .../files/patch-liblightdm-gobject_language.c | 10 +-- x11/lightdm/files/patch-src_lightdm.c | 11 +++- x11/lightdm/files/patch-src_session-child.c | 75 ++++++++++++++++++= +--- x11/lightdm/files/patch-src_session.c (new) | 21 ++++++ x11/lightdm/pkg-plist | 19 +++++- 11 files changed, 235 insertions(+), 49 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.=