Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Nov 2003 00:51:49 -0500
From:      Anthony Schneider <anthony@x-anthony.com>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: HEADS UP: /bin and /sbin are now dynamically linked
Message-ID:  <20031117055149.GA10735@x-anthony.com>
In-Reply-To: <20031117051724.GA23724@xor.obsecurity.org>
References:  <20031117042234.7A5FE16A547@hub.freebsd.org> <20031117043747.GB66773@wjv.com> <20031117051724.GA23724@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--IJpNTDwzlM2Ie8A6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

This isn't *totally* the case. :)

My problem is that in upgrading from 5.1-RELEASE to -CURRENT today,
installworld fails at installing "test" with (hand copied):

---8<---8<---
=3D=3D=3D> bin/test
install -s -o root -g wheel -m 555  test /bin
install -o root -g wheel -m 444 test.1.gz /usr/share/man/man1
ELF interpreter /libexec/ld-elf.so.1 not found
*** Signal 6

=2E..

# echo /rescue/*
echo: No match.
---8<---8<---

this is from a freshest-of-fresh-from-the-cd 5.1-RELEASE install
(only zsh and cvsup added and network configured) to -CURRENT.

this system is very much hosed from here on.  i have tried sneaky
ways of moving /usr/obj/usr/src/libexec/rtld-elf/ld-elf.so.1 to
libexec, but none seem to succeed, even=20
	gzip -c ld-elf.so.1 | gzip -dc > /libexec/ld-elf.so.1

LD_LIBRARY_PATH at this point has also lost its magic.  /stand
has no cp and no ln (or install, even).

i will try again now with NO_DYNAMICROOT set in /etc/make.conf.

-Anthony.

On Sun, Nov 16, 2003 at 09:17:24PM -0800, Kris Kennaway wrote:
> On Sun, Nov 16, 2003 at 11:37:47PM -0500, Bill Vermillion wrote:
>=20
> > One thing I always liked of the FBSD approach as opposed to others
> > is to make ever tool that might possible be needed in a system
> > recovery static so if it was there it would work.
>=20
> How about you take a look at what is actually implemented before
> complaining.  The ability to recover from broken dynamic linking has
> not been lost.
>=20
> Kris



--IJpNTDwzlM2Ie8A6
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

iD8DBQE/uGHzKUeW47UGY2kRArSyAJ9CKUBu03+qvu7Gvb8a8ITjqZGg6ACeLTCW
bXT9w4vfEjE9U4ExWW/vFRE=
=p1Wu
-----END PGP SIGNATURE-----

--IJpNTDwzlM2Ie8A6--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031117055149.GA10735>