From owner-freebsd-bugs Tue Sep 12 17:50: 5 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 2E25937B43C for ; Tue, 12 Sep 2000 17:50:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id RAA86218; Tue, 12 Sep 2000 17:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from gatekeeper.tsc.tdk.com (gatekeeper.tsc.tdk.com [207.113.159.21]) by hub.freebsd.org (Postfix) with ESMTP id 1E3E637B422 for ; Tue, 12 Sep 2000 17:49:37 -0700 (PDT) Received: from imap.gv.tsc.tdk.com (imap.gv.tsc.tdk.com [192.168.241.198]) by gatekeeper.tsc.tdk.com (8.8.8/8.8.8) with ESMTP id RAA09241 for ; Tue, 12 Sep 2000 17:49:36 -0700 (PDT) (envelope-from gdonl@tsc.tdk.com) Received: from gvpc85.gv.tsc.tdk.com (gvpc85.gv.tsc.tdk.com [192.168.240.85]) by imap.gv.tsc.tdk.com (8.9.3/8.9.3) with ESMTP id RAA73327 for ; Tue, 12 Sep 2000 17:49:35 -0700 (PDT) (envelope-from Don.Lewis@tsc.tdk.com) Received: (from gdonl@localhost) by gvpc85.gv.tsc.tdk.com (8.11.0/8.11.0) id e8CHpt905506; Tue, 12 Sep 2000 10:51:55 -0700 (PDT) (envelope-from Don.Lewis@tsc.tdk.com) Message-Id: <200009121751.e8CHpt905506@gvpc85.gv.tsc.tdk.com> Date: Tue, 12 Sep 2000 10:51:55 -0700 (PDT) From: Don Lewis Reply-To: gdonl@tsc.tdk.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: misc/21241: MAKEDEV on fixit floppy should not reset $PATH Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 21241 >Category: misc >Synopsis: MAKEDEV on fixit floppy should not reset $PATH >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Sep 12 17:50:00 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Don Lewis >Release: FreeBSD 4.1-STABLE i386 >Organization: TDK Semiconductor Corp. >Environment: >Description: The copy of MAKEDEV on the fixit floppy should not reset its $PATH. If it does, it won't be able to find the needed executables on the fixit floppy, such as expr. The release/Makefile attempts to edit MAKEDEV to prevent it from setting $PATH, but some formatting changes to MAKEDEV now prevent the editing from being successful. >How-To-Repeat: >Fix: Index: release/Makefile =================================================================== RCS file: /home/ncvs/src/release/Makefile,v retrieving revision 1.536.2.22 diff -u -r1.536.2.22 Makefile --- release/Makefile 2000/08/22 09:43:55 1.536.2.22 +++ release/Makefile 2000/09/12 17:47:16 @@ -582,7 +582,7 @@ @cd ${.CURDIR} && $(MAKE) installCRUNCH CRUNCH=fixit \ DIR=${RD}/fixitfd/stand ZIP=false @( cd ${RD}/fixitfd/dev && \ - sed -e '/^PATH/s/^/#/' ${RD}/trees/bin/dev/MAKEDEV > MAKEDEV && \ + sed -e '/^[ ]*PATH/s/^/#/' ${RD}/trees/bin/dev/MAKEDEV > MAKEDEV && \ chmod 755 MAKEDEV && \ sh MAKEDEV fixit ) @cp ${RD}/trees/bin/etc/spwd.db ${RD}/trees/bin/etc/group \ >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message