unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Supporting sssd, preparing for nscd sunset
@ 2024-02-23  8:48 Ludovic Courtès
  2024-02-23 15:03 ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Ludovic Courtès @ 2024-02-23  8:48 UTC (permalink / raw)
  To: guix-devel

Hello Guix!

Distros are increasingly relying on sssd, in particular Fedora and
derivatives, as a replacement for nscd, which is either unavailable or
deprecated.  The documented interface of Guix binaries to the host’s
name service switch (NSS) is currently nscd:

  https://guix.gnu.org/manual/en/html_node/Application-Setup.html#Name-Service-Switch

So it sounds like we’ll have to do something about it.

In <https://lists.gnu.org/archive/html/guix-devel/2020-08/msg00168.html>
I showed a workaround in cases where you cannot install nscd on the
machine, but we’ll need something that works out of the box.

Fellow NixOS hackers have been developing an nscd replacement
(implementing the same protocol, just not caching lookups):

  https://alternativebit.fr/posts/nixos/nsncd-some-updates/

The solution would be interesting for use on Guix System if and when
nscd is removed from glibc, but I don’t see it helpful on other distros,
at least not until/unless it becomes widespread.  (We can’t really ship
ourselves because it has to be linked against the host libc.)

For the record, glibc maintainer Carlos O’Donell brought up our use case
a while back on the glibc mailing list but it wasn’t particularly well
received:

  https://sourceware.org/pipermail/libc-alpha/2022-February/136741.html

I’m not sure where to go from here.  Long-term we probably need to
ensure a (non-caching) nscd remains part of glibc, and that glibc’s
client stubs can still talk that protocol; or perhaps nsncd will
gradually replace nscd, which is fine too.  If sssd becomes dominant, we
might just as well arrange to have NSS always load libnss_sss.so.

Thoughts?

Ludo’.


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-03-05 12:35 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2024-02-24 19:10 ` Maxim Cournoyer
2024-03-05  9:55   ` Ludovic Courtès

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).