From owner-freebsd-bugs@FreeBSD.ORG Wed Aug 16 20:50:20 2006 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2377916A54C for ; Wed, 16 Aug 2006 20:50:20 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 20A2D43D4C for ; Wed, 16 Aug 2006 20:50:19 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k7GKoIi9011731 for ; Wed, 16 Aug 2006 20:50:18 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k7GKoIj4011726; Wed, 16 Aug 2006 20:50:18 GMT (envelope-from gnats) Resent-Date: Wed, 16 Aug 2006 20:50:18 GMT Resent-Message-Id: <200608162050.k7GKoIj4011726@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Thomas Quinot Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E8DA816A4DF for ; Wed, 16 Aug 2006 20:40:41 +0000 (UTC) (envelope-from thomas@cuivre.fr.eu.org) Received: from melamine.cuivre.fr.eu.org (melusine.cuivre.fr.eu.org [82.225.155.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E46243D4C for ; Wed, 16 Aug 2006 20:40:41 +0000 (GMT) (envelope-from thomas@cuivre.fr.eu.org) Received: by melamine.cuivre.fr.eu.org (Postfix, from userid 1000) id A98C55C66B; Wed, 16 Aug 2006 22:40:40 +0200 (CEST) Message-Id: <20060816204040.A98C55C66B@melamine.cuivre.fr.eu.org> Date: Wed, 16 Aug 2006 22:40:40 +0200 (CEST) From: Thomas Quinot To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: bin/102160: EDITOR and PAGER not set correctly in fixit.profile X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Thomas Quinot List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Aug 2006 20:50:20 -0000 >Number: 102160 >Category: bin >Synopsis: EDITOR and PAGER not set correctly in fixit.profile >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: Wed Aug 16 20:50:18 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Thomas Quinot >Release: FreeBSD 6.1-RC i386 >Organization: >Environment: System: FreeBSD melamine.cuivre.fr.eu.org 6.1-RC FreeBSD 6.1-RC #0: Thu May 4 13:21:21 CEST 2006 thomas@melamine.cuivre.fr.eu.org:/space/build/obj/space/build/src/RELENG_6/sys/MELAMINE i386 >Description: src/release/fixit.profile has: export EDITOR="/mnt2/stand/vi" export PAGER="/mnt2/stand/more" but these paths are invalid in the Fixit environment: /mnt2/stand is a symlink pointing to "/rescue", and there is no /rescue. >How-To-Repeat: Boot disc1.iso. Enter Fixit shell in CD-ROM mode. Use disklabel -e Observe error message: disklabel: /mnt2/stand/vi: No such file or directory >Fix: For EDITOR, I see at least three possible solutions: 1. Change fixit.profile to set EDITOR to /mnt2/rescue/vi 2. Have sysinstall create a symlink /rescue -> /mnt2/rescue. 3. Change the /stand symlink to point to "rescue" (instead of "/rescue"). For PAGER, we have an additional issue: there is no "more" and no "less" either in /mnt2/rescue. We could possibly use PAGER=/mnt2/usr/bin/more, or else add "more" to the /rescue builtin utilities. >Release-Note: >Audit-Trail: >Unformatted: