From owner-freebsd-bugs Thu Dec 10 22:40:02 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA23397 for freebsd-bugs-outgoing; Thu, 10 Dec 1998 22:40:02 -0800 (PST) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA23339 for ; Thu, 10 Dec 1998 22:40:00 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from Unknown UID 563@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id WAA28310; Thu, 10 Dec 1998 22:40:01 -0800 (PST) Received: from martini.ics.es.osaka-u.ac.jp (martini.ics.es.osaka-u.ac.jp [133.1.12.88]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA22913; Thu, 10 Dec 1998 22:34:42 -0800 (PST) (envelope-from matusita@jp.FreeBSD.ORG) Received: from localhost (localhost [127.0.0.1]) by martini.ics.es.osaka-u.ac.jp (8.9.1/3.6W/ICS-2.2.2v7-44BSD) with ESMTP id PAA01345; Fri, 11 Dec 1998 15:34:28 +0900 (JST) Message-Id: <19981211153426V.matusita@jp.FreeBSD.ORG> Date: Fri, 11 Dec 1998 15:34:26 +0900 From: Makoto MATSUSHITA To: FreeBSD-gnats-submit@FreeBSD.ORG Cc: jb@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: bin/9053: Regacy aout support in /etc/rc is broken Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 9053 >Category: bin >Synopsis: Regacy aout support in /etc/rc is broken >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Dec 10 22:40:01 PST 1998 >Last-Modified: >Originator: Makoto MATSUSHITA >Organization: Japan FreeBSD Users' Group / Osaka University >Release: FreeBSD 3.0-CURRENT i386 >Environment: FreeBSD 3.0-CURRENT >Description: In /etc/rc, there is if-statement for legasy aout support for i386 architecture only. However, the conditional statement is wrong (it'll never execute). >How-To-Repeat: Install 3.0-CURRENT and boot. >Fix: Very easy, add '-n' option to sysctl. *** rc.dist Fri Dec 11 08:00:46 1998 --- rc Fri Dec 11 15:30:57 1998 *************** *** 253,259 **** fi # Legacy aout support for i386 only ! if [ X"`sysctl hw.machine`" = X"i386" ]; then # Default the a.out ldconfig path, in case the system's # /etc/rc.conf hasn't been updated. : ${ldconfig_paths_aout=${ldconfig_paths}} --- 253,259 ---- fi # Legacy aout support for i386 only ! if [ X"`sysctl -n hw.machine`" = X"i386" ]; then # Default the a.out ldconfig path, in case the system's # /etc/rc.conf hasn't been updated. : ${ldconfig_paths_aout=${ldconfig_paths}} >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message