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

Thomas Quinot thomas at
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
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 16 20:50:18 GMT 2006
>Originator:     Thomas Quinot
>Release:        FreeBSD 6.1-RC i386
System: FreeBSD 6.1-RC FreeBSD 6.1-RC #0: Thu May 4 13:21:21 CEST 2006 thomas at i386

	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

	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

	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

More information about the freebsd-bugs mailing list