bin/102160: EDITOR and PAGER not set correctly in fixit.profile

Thomas Quinot thomas at cuivre.fr.eu.org
Wed Aug 16 20:50:20 UTC 2006


>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 at 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:


More information about the freebsd-bugs mailing list