From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 +KLrFAj9JWT6bgAASxT56A (envelope-from ) for ; Thu, 30 Mar 2023 23:20:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id sDAGFAj9JWRzYAEAG6o9tA (envelope-from ) for ; Thu, 30 Mar 2023 23:20:08 +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 1F501863A for ; Thu, 30 Mar 2023 23:20:08 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1phzgi-0003MB-70; Thu, 30 Mar 2023 17:20:04 -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 1phzgg-0003LJ-OY for guix-patches@gnu.org; Thu, 30 Mar 2023 17:20: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 1phzgg-0007Ls-F7 for guix-patches@gnu.org; Thu, 30 Mar 2023 17:20:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1phzgg-0008Ld-AY for guix-patches@gnu.org; Thu, 30 Mar 2023 17:20:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#61744] [PATCH] services: base: Deprecate 'pam-limits-service' procedure. Resent-From: Felix Lechner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 30 Mar 2023 21:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61744 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Ricardo Wurmus , 61744@debbugs.gnu.org, Bruno Victal Received: via spool by 61744-submit@debbugs.gnu.org id=B61744.168021119032061 (code B ref 61744); Thu, 30 Mar 2023 21:20:02 +0000 Received: (at 61744) by debbugs.gnu.org; 30 Mar 2023 21:19:50 +0000 Received: from localhost ([127.0.0.1]:59604 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phzgU-0008L2-BG for submit@debbugs.gnu.org; Thu, 30 Mar 2023 17:19:50 -0400 Received: from sail-ipv4.us-core.com ([208.82.101.137]:59588) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phzgR-0008Kr-SL for 61744@debbugs.gnu.org; Thu, 30 Mar 2023 17:19:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2017; bh=mZXsgyp5nHqNVHB lEeJ1VmHecC6aK554ADz1/Sq+TAE=; h=cc:to:subject:date:from:in-reply-to: references; d=lease-up.com; b=HVI5kStQ/3HBauTvxSaPYvXhGCMW4+/YQ6RU6ZXp AMvcP92JmHJiIaDQ2YuDOfxxh7Ntlg4ediFCrIl0E0trKQKT8+Vv7EJfleAAeF9syig2CK FgBFqcVNVUEUikIS+8DfdgA9W6d/+21HhztPCVfEbthXdoR7AUHDAsO6nWOVI= Received: by sail-ipv4.us-core.com (OpenSMTPD) with ESMTPSA id b11fdef4 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for <61744@debbugs.gnu.org>; Thu, 30 Mar 2023 21:19:45 +0000 (UTC) Received: by mail-lj1-f169.google.com with SMTP id t14so21049690ljd.5 for <61744@debbugs.gnu.org>; Thu, 30 Mar 2023 14:19:45 -0700 (PDT) X-Gm-Message-State: AAQBX9cniV3ShGp/+E4MMvoNzVlfR+tZKjRKg096ATTYgD8VUJD2mlP5 lLYCHpSz5p3s1KhOPtp891IgcSE9cmQnGmwKnaY= X-Google-Smtp-Source: AKy350bBRNhNyGfY5Ghvwq7pPQijAvWpy/v927O9eiBmawRRXyCauFI5IUDD5YVcCWDy/J6lsjQLwFgPwoLUdbCaB7M= X-Received: by 2002:a2e:a0c6:0:b0:298:a7c2:489 with SMTP id f6-20020a2ea0c6000000b00298a7c20489mr7696828ljm.8.1680211183247; Thu, 30 Mar 2023 14:19:43 -0700 (PDT) MIME-Version: 1.0 References: <87jzyyhsf1.fsf_-_@gnu.org> In-Reply-To: <87jzyyhsf1.fsf_-_@gnu.org> Date: Thu, 30 Mar 2023 14:19:06 -0700 X-Gmail-Original-Message-ID: Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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: Felix Lechner X-ACL-Warn: , Felix Lechner via Guix-patches From: Felix Lechner 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=1680211208; a=rsa-sha256; cv=none; b=Y1ENk8xY3kQet4IPWw7GuRIOB1mmq5XCctwPYYcoNcLExz+jLDH2xD6I5pPToEa+Y0MrU8 Grla+GdE7yTDSM8oksgkEFHonagKMB79pC0PQ1L5HZ2P+v1zaAA6mCr4JeH2bm5L/XiCgY ll4pLIWGDSDLdS45RdobmRwcKQWGz1nkwhANoyJtQLj4cCQIq0qN1sc0Gxt+1M0qlIpE9S YwZXIuXkwt8QSP3Xk2KrxmUHD2kxq6p7wAIIri336x7rvOUmSL7aEQH8WP7n3+ASEyyrmt NPYgzsfQSpEuo/bbH4JyeqjpEWwObrGUV9csZ8EXrvrGARqCuZdK/mw0xf/PFQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b=HVI5kStQ; 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=1680211208; 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-type:content-type: 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=mZXsgyp5nHqNVHBlEeJ1VmHecC6aK554ADz1/Sq+TAE=; b=jxtlpkbEh9b5L9V42z+4EXd2bEoW4cvMvPtaNIJYWYdh7U876zhxxlmsK+oy5PWfNuryfN QbJLc72YoftkDhME2UulFK6sWbjszs3LLd+LA5mt7oY5XAIHl33jmAb3AmbdKWakfUTRFG iuz2aCzSJHJjQ+qPWX0CULHZKlU7enA+0tv0jkRqaOcqTgOFag2UZsU9Kjh050V/J7HTM5 QyrB74xZPA8DyfVXkl7wEkXzFY8KIffXkdylIjzh32bsqVERgHrtzMucyKqY5uu3Oa7u+z 1gptDSEqLWwy5wkqGLWFFunW87enBkVssuPO6s+u7bZUuJP52CXjoRRaXWHJzA== X-Migadu-Spam-Score: -3.72 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b=HVI5kStQ; 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-Spam-Score: -3.72 X-Migadu-Queue-Id: 1F501863A X-TUID: c+qZn3n6LZeK Hi Ludovic, On Thu, Mar 30, 2023 at 1:54=E2=80=AFPM Ludovic Court=C3=A8s = wrote: > > In some cases (maybe this one), this can be a problem Thanks for pointing that out! I would like to learn more about that. My next suggestion would have been to refer to the core PAM modules, which ship with Linux-PAM, by absolute paths as well. You can see the current inconsistencies in my PAM 'login' service, which I included below. Which breakage do you expect? On a side note, I am also working with the pam_mount maintainer on a store path for /etc/security/pam_mount_conf.xml. [1] (Jan previously accepted another suggestion of mine, and it became popular with users.) Then we can drop the definition of 'greet-pam-mount' [2] which is very nearly a duplicate of the regular 'pam-mount'. [3] Kind regards Felix [1] https://codeberg.org/jengelh/pam_mount/issues/1 [2] https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/admin.scm#= n5314 [3] https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/admin.scm#= n4709 * * * account required pam_unix.so auth required pam_unix.so nullok auth optional /gnu/store/zb9ns323p7yv8m1m155yfgrxlxaadx3d-greetd-pam-mount-= 2.18/lib/security/pam_mount.so disable_interactive password required pam_unix.so sha512 shadow session required /gnu/store/7sq4qp09fl1pn72jw828ndm13nbpknhv-elogind-246.10/lib/security/pam= _elogind.so session required pam_limits.so conf=3D/etc/security/limits.conf session optional pam_motd.so motd=3D/gnu/store/mrk0km6gqw4zn20az2bqidvajps7yy93-motd session required pam_loginuid.so session required pam_env.so session required pam_unix.so session optional /gnu/store/zb9ns323p7yv8m1m155yfgrxlxaadx3d-greetd-pam-mount-2.18/lib/secur= ity/pam_mount.so disable_interactive