public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: DJ Delorie <dj@redhat.com>
To: "Ludovic Courtès" <ludo@gnu.org>
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: Tue, 01 Mar 2022 11:54:02 -0500	[thread overview]
Message-ID: <xnpmn57gwl.fsf@greed.delorie.com> (raw)
In-Reply-To: =?ISO-8859-1?Q?PI-LINK-848ac013a76133d99c3bd8fdea08237b876f137f_(message_from_Ludovi?= =?ISO-8859-1?Q?c_Court=E8s_on_Tue, _01_Mar_2022_10:10:46_+0100)?=

Ludovic Courts <ludo@gnu.org> writes:
> This nscd requirement is one of the few must-haves to ensure, as
> Joseph writes, that processes (in particular those linked against
> Guix’s libc) do not end up dlopening arbitrary, possibly incompatible
> libraries.

My point is, if there's a risk that a Guix binary *could* load a host
dso, then Guix is insufficiently isolated from the host system.  nscd is
just one example of how this could happen.  If you accept this
non-isolation, you need to accept that dsos need to be cross-usable.

That Guix is accepting some sharing (like /etc/nsswitch.conf) but not
all sharing (like libnss_*.so) opens Guix up to these types of problems,
and thus, the onus is mostly on Guix to deal with them.

Hence my feeling that "keep ncsd around because we're not isolated
enough" is a weak (but still valid) reason to keep nscd.  nscd is just
the most obvious problem point, but not the only problem point.  The
right solution is to complete the isolation, although I admit that may
be an impossible goal at this point.

Note that I don't feel strongly about the above; just pointing it out.


  reply	other threads:[~2022-03-01 16:54 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 [this message]
2022-03-01 17:44       ` Ludovic Courtès
2022-03-01 18:31         ` DJ Delorie
2022-03-03 13:40           ` Ludovic Courtès
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=xnpmn57gwl.fsf@greed.delorie.com \
    --to=dj@redhat.com \
    --cc=adhemerval.zanella@linaro.org \
    --cc=ashankar@redhat.com \
    --cc=carlos@redhat.com \
    --cc=fweimer@redhat.com \
    --cc=libc-alpha@sourceware.org \
    --cc=ludo@gnu.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).