From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id kLryOvr8JWfHNwAAqHPOHw:P1 (envelope-from ) for ; Sat, 02 Nov 2024 10:20:43 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id kLryOvr8JWfHNwAAqHPOHw (envelope-from ) for ; Sat, 02 Nov 2024 11:20:43 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=JFVSmVQN; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b="os/59IbW"; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (strict), DKIM not aligned (strict)" header.from=posteo.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1730542842; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=j2WZl1H8wF/E6tuQMMNvIimzEGgOGSCTf4Y0yGZejRg=; b=Jkj304cm8AVFsGuRWkRlTRK7pDHPUJmcQF5bg061ggHAkYUUTQcRoj+uxvEOZlDbcmPLql nYr3LiNQRX6F9nYJ0s6cFn1LXRlh12gahsEjDvoKN303fl9J3BCvyrJoI3VVzSemdFmIPJ G1n5K2rU8UxasFJOWuozWDhC7Qao9zlq+VHR/77d7p0j50n1k7Kgs0jDUOkuTjnW0Jp3Si 9NkHyM1L7eg1FUuc4TlI4gm+hZpWW1YjcLIHdej/Ulr2M2BYAhOy6w1WTae61KpfczWFDj QEii12GGNjDhEvW8rWvFnOla0y6auKveaAdl63klNcCAijM0h8+KqR+jBwfIVw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1730542842; a=rsa-sha256; cv=none; b=iebfpDnoz1rxYZ0XEog+qLe3vEnLm/UNz63fI5ebh4OQApcZDLC1l8H626oJ/9Kp59mlUD GhiQGukniXlAcLpz1HmYddeBbr/7D0PCYp1mt/xdUsxJmlyD50mI6LQ4yi13tLelS2TUEa 0IT4AKAl0FvsACM33WVUw+pd6F/IVTN2OfIT3NVKQSm43397t0qPO9TWqkzrfCBz2R9NYr i7T9BBj7lJ48rtrtUJEr6twsFTCCPmSamKxL7y4kCy4oO3oPsVDwJXehtlRpuDRWIzC7UT qsWimusPzQxkIlOS1Crmmfij4uVhKXnXxBKDIBXTqvWOdGTf58UCmS/27pg9bA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=JFVSmVQN; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b="os/59IbW"; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (strict), DKIM not aligned (strict)" header.from=posteo.net (policy=none) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6772E59FBA for ; Sat, 02 Nov 2024 11:20:42 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t7BEx-0005zv-Uu; Sat, 02 Nov 2024 06:20:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t7BEh-0005tW-PG for bug-guix@gnu.org; Sat, 02 Nov 2024 06:20:05 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t7BEh-0006eu-3V for bug-guix@gnu.org; Sat, 02 Nov 2024 06:20:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:In-Reply-To:References:Subject; bh=j2WZl1H8wF/E6tuQMMNvIimzEGgOGSCTf4Y0yGZejRg=; b=JFVSmVQNKWevbwFxN7HrQMzZutHA8d0MVR5onm2VmEACrWecMomTeZzTYlq34jj1gpZp2MaeOBfaDdY1J6c2uOith/MjdvPUKUvgL3j6RxFILJoOw1pNT0K3BKMCninw4xEbeI9iHUXQ42+pVLS+d4XdpqYj4e88oFuqRMqYtphjClNyIx5GncI8grX8eqiVLeI6kHe9R9wNxR4mVHGAC7EkEY42dGet8vMmYq8dOE1DMVxGcK40LXNEG9Slzml60Ff4SJVph8YfVJA2iBMh2VS2/iKKbbYqwspCRhlzBQy0B3kMzOgjEV55E3sBjyJYERxEA621+kYzMOMq0pVsDw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t7BEg-0005a2-Ty for bug-guix@gnu.org; Sat, 02 Nov 2024 06:20:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#73859: [PATCH 0/2] lightdm: Fix empty session list. References: <8fe9bf90-158c-4e03-a257-6ebf9da5ad54@posteo.net> In-Reply-To: <8fe9bf90-158c-4e03-a257-6ebf9da5ad54@posteo.net> Resent-From: Dariqq Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 02 Nov 2024 10:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73859 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 73859@debbugs.gnu.org Cc: Dariqq , Maxim Cournoyer Received: via spool by 73859-submit@debbugs.gnu.org id=B73859.173054279121416 (code B ref 73859); Sat, 02 Nov 2024 10:20:02 +0000 Received: (at 73859) by debbugs.gnu.org; 2 Nov 2024 10:19:51 +0000 Received: from localhost ([127.0.0.1]:53173 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t7BEV-0005ZM-Gz for submit@debbugs.gnu.org; Sat, 02 Nov 2024 06:19:51 -0400 Received: from mout02.posteo.de ([185.67.36.66]:33595) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t7BER-0005Z0-9x for 73859@debbugs.gnu.org; Sat, 02 Nov 2024 06:19:50 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id CA4FE240101 for <73859@debbugs.gnu.org>; Sat, 2 Nov 2024 11:19:40 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1730542780; bh=u60P+tRakziv9RC53dzPU5MaVKif93Nlvia1y2I7E44=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=os/59IbW06QLjJDQhqkm7aMXTZw1iSLQqm90p+jJ8yVOVpHahSeJjt6HlxodRPPZM 9fbnf/hf25b8pP5d/4uLTo95D7/XQl17Uba8pLpDhjcXEVDlbeRmS7mB/ZHCI4+eUp MsLW5SwfEiTz64InJYrIU+9vkN52efhPQHi6iOB5IYLYyNK/Dva0zs4DaipC3BgmCz vVfxo9LdEkWCoJFbOMVb7/QdZUdMEIzZ4GNsbht9wFRYT8lUhn5kIT1V5WEMVTP+Y2 hwzwqVDpwYHUt3sGilwq9au2NtJKWtMJNFqcLULGxJ0xZ0nWduwtt/+doxKOtJiBuF v6sgV1/HfThfQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4XgYcr0X1qz6tx1; Sat, 2 Nov 2024 11:19:39 +0100 (CET) From: Dariqq Date: Sat, 2 Nov 2024 10:18:31 +0000 Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 1.70 X-Spam-Score: 1.70 X-Migadu-Queue-Id: 6772E59FBA X-Migadu-Scanner: mx13.migadu.com X-TUID: lFhvkNG89PRM This changes lightdm and the service to use the config file from a well-known location in /etc/lightdm/lightdm.conf s.t. the gtk-greeter knows about our custom "sessions-directory". I then removed the custom config file from the lightdm servcice and removed passing XDG_CONFIG_DIRS which are no longer neccesary. Renamed lightdm-configuration->greeters-config-dir to just lightdm-configuration-directory (inspired by how the dbus-service names its directory) and also moved the etc-extension into a seperate procedure for consistency with other services. I tested this on my i686 pc and ran 'make check-system TESTS=lightdm' successfully This is also the approach done on NixOS, see * https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/applications/display-managers/lightdm/default.nix#L93 *https://github.com/NixOS/nixpkgs/blob/nixos-unstable/nixos/modules/services/x11/display-managers/lightdm.nix#L259 Fixes https://issues.guix.gnu.org/68055 Dariqq (2): gnu: lightdm: Use global sysconfdir. gnu: lightdm-service-type: Add lightdm.conf to /etc/lightdm. gnu/packages/display-managers.scm | 7 ++++- gnu/services/lightdm.scm | 48 ++++++++++++++----------------- 2 files changed, 27 insertions(+), 28 deletions(-) base-commit: ea11d3608566174c4bae70faa4f9d0c67748d2db -- 2.46.0