[Bug 266532] x11/lightdm: Login sessions do not respect login.conf
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 266532] x11/lightdm: Login sessions do not respect login.conf"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 29 Dec 2023 18:26:18 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266532 --- Comment #49 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=23a47f28de20c42fb2c3a7286c815797013df6ea commit 23a47f28de20c42fb2c3a7286c815797013df6ea Author: Guido Falsi <madpilot@FreeBSD.org> AuthorDate: 2023-12-29 18:23:10 +0000 Commit: Guido Falsi <madpilot@FreeBSD.org> 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 <rozhuk.im@gmail.com>, Daniel Tameling <tamelingdaniel@gmail.com> (provided setusercontext patch), Anton Saietskii <vsasjason@gmail.com> 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(-) -- You are receiving this mail because: You are the assignee for the bug.