From owner-freebsd-current Sun Dec 13 19:23:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA19102 for freebsd-current-outgoing; Sun, 13 Dec 1998 19:23:03 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from lamb.sas.com (lamb.sas.com [192.35.83.8]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA19096 for ; Sun, 13 Dec 1998 19:23:01 -0800 (PST) (envelope-from jwd@unx.sas.com) Received: from mozart (mozart.unx.sas.com [192.58.184.8]) by lamb.sas.com (8.9.1/8.9.1) with SMTP id WAA15115 for ; Sun, 13 Dec 1998 22:22:58 -0500 (EST) Received: from bb01f39.unx.sas.com by mozart (5.65c/SAS/Domains/5-6-90) id AA01633; Sun, 13 Dec 1998 22:22:57 -0500 Received: (from jwd@localhost) by bb01f39.unx.sas.com (8.9.1/8.9.1) id WAA14885 for freebsd-current@freebsd.org; Sun, 13 Dec 1998 22:22:57 -0500 (EST) (envelope-from jwd) From: "John W. DeBoskey" Message-Id: <199812140322.WAA14885@bb01f39.unx.sas.com> Subject: /etc/rc busted for legacy aout ldconfig setup To: freebsd-current@FreeBSD.ORG Date: Sun, 13 Dec 1998 22:22:57 -0500 (EST) X-Mailer: ELM [version 2.4ME+ PL38 (25)] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, The following commit broke legacy ldconfig aout support: 1.161 Thu Dec 10 8:06:59 1998 UTC by jb Diffs to 1.160 Add a test for hw.machine == i386 before trying to run ldconfig for legacy aout support. The following conditional is wrong: if [ X"`sysctl hw.machine`" = X"i386" ]; then and needs to read: if [ X"`sysctl hw.machine | cut -d' ' -f2`" = X"i386" ]; then assuming the bruce filter doesn't mind a pipe in an 'if' statement. Anyone running a -current machine doing a 'make world' every day and still using any aout libraries will be affected by this. Thanks! John To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message