Date: Wed, 16 Aug 2006 22:40:40 +0200 (CEST) From: Thomas Quinot <thomas@cuivre.fr.eu.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: bin/102160: EDITOR and PAGER not set correctly in fixit.profile Message-ID: <20060816204040.A98C55C66B@melamine.cuivre.fr.eu.org> Resent-Message-ID: <200608162050.k7GKoIj4011726@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <some device> 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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060816204040.A98C55C66B>