public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: DJ Delorie <dj@redhat.com>
Cc: carlos@redhat.com,  ashankar@redhat.com,  fweimer@redhat.com,
	adhemerval.zanella@linaro.org,  libc-alpha@sourceware.org
Subject: Re: On the removal of nscd from Fedora, and the future of nscd.
Date: Thu, 03 Mar 2022 14:40:21 +0100	[thread overview]
Message-ID: <87h78fxigq.fsf@gnu.org> (raw)
In-Reply-To: <xnlext7ceu.fsf@greed.delorie.com> (DJ Delorie's message of "Tue,  01 Mar 2022 13:31:05 -0500")

Hi,

DJ Delorie <dj@redhat.com> skribis:

> Ludovic Courts <ludo@gnu.org> writes:
>> Actually, by default, a Guix program on (say) Fedora-without-nscd won’t
>> dlopen Fedora’s libnss_sssd.so.  Instead, it’ll search in vain for
>> libnss_sssd.so in its search path (which does not include /usr/lib), and
>> have its name lookups fail with EAI_SYSTEM, ENOENT, or some other
>> unclear error.
>
> Ah, that's different - mostly.  It still means you're using the host's
> /etc/nsswitch.conf, but that just exposes a different problem - how to
> handle site-wide services in isolated "programs" (flatpacks, containers,
> chroots, statically linked apps, Guix).
>
> NSCD certainly could act as that gateway, but I'd hate to rely on it
> without an RFC defining the protocol, and such an RFC would enable it to
> solve the problem in a wider context too.

Yes.  In practice, I haven’t seen nscd protocol changes in 10 years of
Guix.

> Doing so, however, means that nscd (or some other equivalent) MUST be
> present and running on all systems...

Yes, exactly.

Ludo’.

  reply	other threads:[~2022-03-03 13:40 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-28 20:55 Carlos O'Donell
2022-02-28 23:02 ` DJ Delorie
2022-02-28 23:09   ` Joseph Myers
2022-03-01  1:02     ` DJ Delorie
2022-03-01  9:10   ` Ludovic Courtès
2022-03-01 16:54     ` DJ Delorie
2022-03-01 17:44       ` Ludovic Courtès
2022-03-01 18:31         ` DJ Delorie
2022-03-03 13:40           ` Ludovic Courtès [this message]
2022-03-06 22:05             ` John Ericson
2022-11-20 18:34               ` Florian Klink

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=87h78fxigq.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=adhemerval.zanella@linaro.org \
    --cc=ashankar@redhat.com \
    --cc=carlos@redhat.com \
    --cc=dj@redhat.com \
    --cc=fweimer@redhat.com \
    --cc=libc-alpha@sourceware.org \
    /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.
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).