From: Picnoir <picnoir@alternativebit.fr>
To: "Ludovic Courtès" <ludovic.courtes@inria.fr>
Cc: guix-devel@gnu.org, flokli@flokli.de
Subject: Re: Supporting sssd, preparing for nscd sunset
Date: Tue, 05 Mar 2024 13:34:12 +0100 [thread overview]
Message-ID: <87a5nc26yj.fsf@alternativebit.fr> (raw)
In-Reply-To: <874jdldn8y.fsf@inria.fr>
Hi Ludo, Guix,
> Can you confirm nsncd can load and run popular NSS plugins like
> nss-mdns and sss?
Nss-mdns works fine on IPv4. It won't work on IPv6 link-local addresses,
but that's due to the Nscd protocol issue I was talking about in the
previous email.
I did not test sss but I'd assume it to be working. Maybe Flokli did
test that?
The only known regression we're aware of is related to the Google
OSLogin PAM module, a module used by gcloud guests to retrieve the user
account accounts metadata. See
https://github.com/NixOS/nixpkgs/issues/218813. I **think** it comes
from the fact we're not "crasing" Nsncd properly when a PAM module is
segfaulting. I personally do not use google cloud, so I confess I did
dig too deep into that issue.
Aside from that, we're not aware of any other regressions. We migrated
from Nscd to Nsncd 2 NixOS stable versions ago, meaning Nsncd has been
already quite battletested in the wild by now.
> One option that could also be considered, instead of changing the nscd
> protocol, would be to have the glibc client stubs implement the sssd
> protocol directly, given that sssd seems to have taken the role of
> nscd-without-caching.
>
> It’s certainly more work but a possibility to keep in mind while
> discussing with upstream.
I had a look at the sssd protocol, it seems to be string-based, which
from my perspective is a better approach than the Nscd one. The protocol
also properly supports IPv6 link-local addresses scope ids.
As you said, it's quite some effort. I personally can't commit doing
such a re-implementation in the near future.
+1 about sending a summary to the glibc ML.
Picnoir
next prev parent reply other threads:[~2024-03-05 12:35 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-23 8:48 Supporting sssd, preparing for nscd sunset Ludovic Courtès
2024-02-23 15:03 ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
2024-02-23 21:48 ` Ricardo Wurmus
2024-02-24 8:26 ` Picnoir
2024-03-05 9:46 ` Ludovic Courtès
2024-03-05 12:34 ` Picnoir [this message]
2024-02-24 19:10 ` Maxim Cournoyer
2024-03-05 9:55 ` 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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a5nc26yj.fsf@alternativebit.fr \
--to=picnoir@alternativebit.fr \
--cc=flokli@flokli.de \
--cc=guix-devel@gnu.org \
--cc=ludovic.courtes@inria.fr \
/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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).