From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id oLW+Nt14WmSuqgAASxT56A (envelope-from ) for ; Tue, 09 May 2023 18:46:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id qPasNt14WmQ/OAEA9RJhRA (envelope-from ) for ; Tue, 09 May 2023 18:46:21 +0200 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 9C1EEE94F for ; Tue, 9 May 2023 18:46:21 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pwQTT-0004bp-UG; Tue, 09 May 2023 12:46:03 -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 1pwQTS-0004ax-Dp for guix-patches@gnu.org; Tue, 09 May 2023 12:46:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pwQTS-000278-4s for guix-patches@gnu.org; Tue, 09 May 2023 12:46:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pwQTR-00072W-Sb for guix-patches@gnu.org; Tue, 09 May 2023 12:46:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63314] [PATCH v2 0/2] Add PAM shepherd requirements Resent-From: Josselin Poiret Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 09 May 2023 16:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63314 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Josselin Poiret Cc: 63314@debbugs.gnu.org Received: via spool by 63314-submit@debbugs.gnu.org id=B63314.168365071526975 (code B ref 63314); Tue, 09 May 2023 16:46:01 +0000 Received: (at 63314) by debbugs.gnu.org; 9 May 2023 16:45:15 +0000 Received: from localhost ([127.0.0.1]:44288 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pwQSg-000710-UJ for submit@debbugs.gnu.org; Tue, 09 May 2023 12:45:15 -0400 Received: from jpoiret.xyz ([206.189.101.64]:55532) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pwQSd-00070e-Tg for 63314@debbugs.gnu.org; Tue, 09 May 2023 12:45:13 -0400 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id 6359D184F1E; Tue, 9 May 2023 16:45:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1683650710; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=CtyjQNHpqmRTr92t8wLVA+XnEn/ZGbTCz3G1VzjbLAQ=; b=B123YAUCgmk8vBxU4H0Ra+VkitIfnBH9YYO7UGv9JEI2pHbsn5+vCcp7y/ov4pOU2qLCOX +JLcpQIPd99E5UyLJSdXNB94/QydTbn7iWblz54jrhn43e+sAOAT0/LaAvmvxXchM5OOwR QucgHq1ocYOJqmh3IHRLJI9iWjRmnXQigZ47vY0is7c+9hp+131Dnw4pCxL1/qAThaFCTc Vg3FUzW/f9qb5ziPBtsBUoW3jOA2qBO6MmWl+RyiHYgtgmrF2fgPiJMnivNfegraE6f0cV QkxHi6yLfW7Ml+pm1XfYgm37p6qb1TSUzbBmotHJuhpiLqY3fjGLQvEs0hOhSQ== Date: Tue, 9 May 2023 18:45:06 +0200 Message-Id: In-Reply-To: <87r0rrdun2.fsf_-_@gnu.org> References: <87r0rrdun2.fsf_-_@gnu.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spamd-Bar: ++++ X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Josselin Poiret X-ACL-Warn: , Josselin Poiret via Guix-patches From: Josselin Poiret via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1683650781; a=rsa-sha256; cv=none; b=AfIEyr2DON4xeDuh0EbkCRKVlkKd7tP1YMnCAaC9+cyTBXWHCb62AadUCrk8cR9LCEZ+Ol h5juMyiIqps+SNf/y8HfCI/n0Lf5u3tOiD6ADip5VypzCzSwfkOcyTG9bZij2erVw1XmJx SuT2a52rqIrL6yoWt2Uv/e8+U0p7j74TJgu43w/+zBsmIm+3K8Ol5DYoAml/C81KGVX5n2 F8xRe/d5kSBVOrGU90zEdomiBuTvM2NhgMdfq7xx8B6y36NaZjOWQn0U13ZWZylfT+Hbql Lh/f2bUFxQZSIsWmW191H+HsXMuc3EidCMxD/CGda5HBr/Ndl9NX2zgPpSE+4A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=jpoiret.xyz header.s=dkim header.b=B123YAUC; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1683650781; h=from:from:sender:sender:reply-to: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=CtyjQNHpqmRTr92t8wLVA+XnEn/ZGbTCz3G1VzjbLAQ=; b=jEzEyW2jwWft2i2as/1aX4lHuq5XKzQrWUMY2/qZhHi4IiyB6c6xE1cLWaislyI4cxGFzB iEwChGTKjnkah2PiWn7UQKZqLRaUVXNAwQaC60puJ3ssbA1KvP+lyxIFDd8batUkfldTY2 79+z1f8QLfAeNgWCdM7Hyjd32s4SFNLq/SSe2xiaURxM+AaCfhmh/1qqEahYrMwPr0x16K fVjmV83P1SFQ5OEbR8zRqt0rouFqP3N2FZBSNvvKnD3UiRlv2A8kTYAJukP/u4EYT7F5la K+v5vWt0J834W3E4JIh0DopQZQG1bzpt6qoGhDWcPTyhs7HjI0U06E6jeTR6Tg== X-Migadu-Spam-Score: -0.11 X-Spam-Score: -0.11 X-Migadu-Queue-Id: 9C1EEE94F X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=jpoiret.xyz header.s=dkim header.b=B123YAUC; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-TUID: PnWmWmyvSrJg Hi Ludo, Thanks for the review. Here is an updated patchset with the changes you requested. I don't think it's possible to have a reliable system test to check for the greetd issue, since it is a race problem in the end. Best, Josselin Poiret (2): system: pam: Let PAM extensions add shepherd requirements. services: elogind: Add elogind as a shepherd PAM requirement. gnu/services/authentication.scm | 28 ++++++------ gnu/services/base.scm | 54 +++++++++++----------- gnu/services/desktop.scm | 45 ++++++++++--------- gnu/services/kerberos.scm | 44 +++++++++--------- gnu/services/lightdm.scm | 2 +- gnu/services/mail.scm | 4 +- gnu/services/pam-mount.scm | 23 +++++----- gnu/services/sddm.scm | 2 +- gnu/services/ssh.scm | 10 +++-- gnu/services/xorg.scm | 4 +- gnu/system/pam.scm | 80 +++++++++++++++++++++++++++------ 11 files changed, 184 insertions(+), 112 deletions(-) base-commit: a759cbffafbf67b3a03c80b5bdbe3f3478affc50 -- 2.39.2