zsh-workers
 help / color / mirror / code / Atom feed
From: Clint Adams <clint@zsh.org>
To: zsh workers <zsh-workers@zsh.org>
Subject: Re: Effectiveness of --disable-dynamic-nss?
Date: Sat, 8 Nov 2014 17:11:58 +0000	[thread overview]
Message-ID: <20141108171158.GA22138@scru.org> (raw)
In-Reply-To: <141106081701.ZM3756@torch.brasslantern.com>

On Thu, Nov 06, 2014 at 08:17:01AM -0800, Bart Schaefer wrote:
> I can imagine this logic got confused somewhere along the way, or that
> certain cases were missed.  I think Clint Adams still reads this list
> and it looks like --disable-dynamic-nss was his patch, so maybe he can
> speak to it more directly.

These days I tend not to unless my attention is called to something,
but here's what I remember.

The switch was intended for the zsh-static package in Debian, because
despite static compilation, (e)glibc uses dynamically-loaded NSS
modules.  These modules break ABI fairly often, and this makes less
useful a statically-compiled rescue shell.

I vaguely remember things being suboptimal and deciding that it would
be better to link zsh-static with dietlibc and avoid the problem
entirely, but this was blocked by the lack of a dietlibc-linked
ncurses.

I have no recollection of any of the implementation particularities.

These days static shells and utilities seem relatively unimportant,
especially when Debian has things like the grml-rescueboot package.


      parent reply	other threads:[~2014-11-08 17:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-06 14:11 Mikael Magnusson
2014-11-06 14:55 ` Peter Stephenson
2014-11-06 16:17 ` Bart Schaefer
2014-11-06 23:27   ` Mikael Magnusson
2014-11-08 17:11   ` Clint Adams [this message]

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=20141108171158.GA22138@scru.org \
    --to=clint@zsh.org \
    --cc=zsh-workers@zsh.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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

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 NNTP newsgroup(s).