Date: Fri, 11 Dec 1998 15:34:26 +0900 From: Makoto MATSUSHITA <matusita@jp.FreeBSD.ORG> To: FreeBSD-gnats-submit@FreeBSD.ORG Cc: jb@FreeBSD.ORG Subject: bin/9053: Regacy aout support in /etc/rc is broken Message-ID: <19981211153426V.matusita@jp.FreeBSD.ORG>
index | next in thread | raw e-mail
>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
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981211153426V.matusita>
