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

Anthony Schneider anthony at x-anthony.com
Sun Nov 16 21:46:54 PST 2003


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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20031117/0005df77/attachment.bin


More information about the freebsd-current mailing list