From: Josselin Poiret via Guix-patches via <guix-patches@gnu.org>
To: 63314@debbugs.gnu.org
Cc: Josselin Poiret <dev@jpoiret.xyz>
Subject: [bug#63314] [PATCH 0/2] Add PAM shepherd requirements
Date: Fri, 5 May 2023 19:50:46 +0200 [thread overview]
Message-ID: <cover.1683308811.git.dev@jpoiret.xyz> (raw)
Hi everyone,
With shepherd 0.10 incoming, I've been running into a nasty issue: I use
elogind and greetd, and greetd, when starting needs to let its greeter log-in
through PAM. However, its PAM entry requires pam_elogind.so, which might not
work if elogind isn't started yet, and so my greetd would just fail to start.
This patch adds a shepherd synchronization point for services needed by PAM,
and any PAM-using program should have the synchronization point as a
requirement. I've mostly tested this with greetd only, so I would appreciate
if other PAM users could try it out.
Best,
Josselin Poiret (2):
system: pam: Let PAM extenders 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 | 55 ++++++++++++++++++++++++++-------
11 files changed, 161 insertions(+), 110 deletions(-)
base-commit: 6922069bcbe5c08da09c00e5aad44e390ebd1cc7
--
2.39.2
next reply other threads:[~2023-05-05 17:51 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-05 17:50 Josselin Poiret via Guix-patches via [this message]
2023-05-05 17:51 ` [bug#63314] [PATCH 1/2] system: pam: Let PAM extenders add shepherd requirements Josselin Poiret via Guix-patches via
2023-05-08 9:45 ` [bug#63314] [PATCH 0/2] Add PAM " Ludovic Courtès
2023-05-09 16:45 ` [bug#63314] [PATCH v2 " Josselin Poiret via Guix-patches via
2023-05-09 16:45 ` [bug#63314] [PATCH v2 1/2] system: pam: Let PAM extensions add " Josselin Poiret via Guix-patches via
2023-05-11 11:15 ` Ludovic Courtès
2023-05-09 16:45 ` [bug#63314] [PATCH v2 2/2] services: elogind: Add elogind as a shepherd PAM requirement Josselin Poiret via Guix-patches via
2023-05-11 11:16 ` bug#63314: " Ludovic Courtès
2023-05-05 17:51 ` [bug#63314] [PATCH " Josselin Poiret via Guix-patches via
2023-05-08 9:46 ` [bug#63314] [PATCH 0/2] Add PAM shepherd requirements Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1683308811.git.dev@jpoiret.xyz \
--to=guix-patches@gnu.org \
--cc=63314@debbugs.gnu.org \
--cc=dev@jpoiret.xyz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.