GNU bug report logs -
#63314
[PATCH 0/2] Add PAM shepherd requirements
Previous Next
Reported by: Josselin Poiret <dev <at> jpoiret.xyz>
Date: Fri, 5 May 2023 17:51:01 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Thu, 11 May 2023 13:16:36 +0200
with message-id <87y1lv3yp7.fsf <at> gnu.org>
and subject line Re: [PATCH v2 2/2] services: elogind: Add elogind as a shepherd PAM requirement.
has caused the debbugs.gnu.org bug report #63314,
regarding [PATCH 0/2] Add PAM shepherd requirements
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
63314: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=63314
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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
[Message part 3 (message/rfc822, inline)]
Josselin Poiret <dev <at> jpoiret.xyz> skribis:
> From: Josselin Poiret <dev <at> jpoiret.xyz>
>
> * gnu/services/desktop.scm (pam-extension-procedure): Add the elogind shepherd
> requirement to the PAM extension.
Applied, thanks!
This bug report was last modified 2 years and 67 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.