From owner-freebsd-current@FreeBSD.ORG Mon Jul 26 14:47:39 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 70F4716A4CE for ; Mon, 26 Jul 2004 14:47:39 +0000 (GMT) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0948343D2F for ; Mon, 26 Jul 2004 14:47:35 +0000 (GMT) (envelope-from scottl@freebsd.org) Received: from pooker.samsco.org (scottl@localhost [127.0.0.1]) by pooker.samsco.org (8.12.11/8.12.10) with ESMTP id i6QEsC1V082439; Mon, 26 Jul 2004 08:54:12 -0600 (MDT) (envelope-from scottl@freebsd.org) Received: from localhost (scottl@localhost)i6QEsCMp082436; Mon, 26 Jul 2004 08:54:12 -0600 (MDT) (envelope-from scottl@freebsd.org) X-Authentication-Warning: pooker.samsco.org: scottl owned process doing -bs Date: Mon, 26 Jul 2004 08:54:12 -0600 (MDT) From: Scott Long Sender: scottl@pooker.samsco.org To: Florent Thoumie In-Reply-To: <4103ABBE.80608@xbsd.org> Message-ID: <20040726084747.D32601@pooker.samsco.org> References: <4103ABBE.80608@xbsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Status: No, hits=0.0 required=3.8 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on pooker.samsco.org cc: freebsd-current@freebsd.org Subject: Re: rtld problem with /usr partition X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jul 2004 14:47:39 -0000 On Sun, 25 Jul 2004, Florent Thoumie wrote: > Hi, > > I have a problem since the beginning of the week, my -CURRENT > system can't boot since I have a /usr partition and dynamically > linked programs are looking for /usr/libexec/ld-elf.so.1. > > Some programs are called before /usr partition has been mounted > (sh, even mount, ...). > > I have found a workaround for that, launching a /rescue/sh, > mounting /usr and replacing /usr/libexec/ld-elf.so.1 symlink > with a real copy of ld-elf.so.1, but this is boring to type each > time I have to shutdown my computer. > > CURRENT is dated 07/19/2004. > > If anyone can help. > > Best Regards. > Hi, You seem to have a pretty messed up system. Most dynamically linked programs in /bin and /sbin should be looking in /libexec, not /usr/libexec. Also, /bin/sh should be statically compiled, not dynamically compiled. Do you have local customizations to the src tree or /etc/make.conf that might be affecting this? Scott