From owner-freebsd-amd64@FreeBSD.ORG Tue Dec 14 21:27:43 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B123F16A4CE for ; Tue, 14 Dec 2004 21:27:43 +0000 (GMT) Received: from mail.mcneil.com (mcneil.com [24.199.45.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 737FB43D54 for ; Tue, 14 Dec 2004 21:27:43 +0000 (GMT) (envelope-from sean@mcneil.com) Received: from localhost (localhost.mcneil.com [127.0.0.1]) by mail.mcneil.com (Postfix) with ESMTP id 22992F18BE for ; Tue, 14 Dec 2004 13:27:43 -0800 (PST) Received: from mail.mcneil.com ([127.0.0.1]) by localhost (server.mcneil.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 58723-01 for ; Tue, 14 Dec 2004 13:27:41 -0800 (PST) Received: from mcneil.com (mcneil.com [24.199.45.54]) by mail.mcneil.com (Postfix) with ESMTP id 6E5C6F1877 for ; Tue, 14 Dec 2004 13:27:41 -0800 (PST) From: Sean McNeil To: amd64@freebsd.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-PcKG+PeHTjBLlmyfKhP9" Date: Tue, 14 Dec 2004 13:27:41 -0800 Message-Id: <1103059661.47262.6.camel@server.mcneil.com> Mime-Version: 1.0 X-Mailer: Evolution 2.0.3 FreeBSD GNOME Team Port X-Virus-Scanned: by amavisd-new at mcneil.com Subject: linux proc, rpm and glibc_post_upgrade X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Dec 2004 21:27:43 -0000 --=-PcKG+PeHTjBLlmyfKhP9 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable I decided to take a look at why linux_base is failing to install without --noscripts. So far, I've found that glibc will not install because /compat/linux/usr/sbin/glibc_post_upgrade returns 1 when it is executed. Does anyone know where I can get the source code to this for examination. A quick google got me nowhere. Looking at strings output, I see a few things of interest: /lib/i686/libc-2.2.4.so /lib/i686/libm-2.2.4.so /lib/i686/libpthread-0.9.so /lib/i686/libc.so.6 /lib/i686/libm.so.6 /lib/i686/libpthread.so.0 /sbin/ldconfig /usr/sbin/iconvconfig /sbin/telinit /dev/initctl /proc/1/exe /proc/1/root I do not see a /compat/linux/lib/i686 dir. /compat/linux/proc is unmounted during install. when mounted, /compat/linux/proc/1/root points to the system root, not the linux compat root and there is not /compat/linux/proc/1/exe. Cheers, Sean --=-PcKG+PeHTjBLlmyfKhP9 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBv1rNyQsGN30uGE4RAk4HAKCLTYmj+HfrhYSTaeJwJUYgDJJ2uwCgudbW Miv/P6WLexdpxql248phq8U= =EVJa -----END PGP SIGNATURE----- --=-PcKG+PeHTjBLlmyfKhP9--