Re: HEADS UP: /bin and /sbin are now dynamically linked

From: Anthony Schneider <anthony_at_x-anthony.com>
Date: Mon, 17 Nov 2003 00:51:49 -0500
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<---
===> 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

...

# 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 
	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:
> 
> > 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.
> 
> 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.
> 
> Kris



Received on Sun Nov 16 2003 - 20:46:54 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:29 UTC