From dgilbert@velocet.ca  Wed Feb 19 08:30:52 2003
Return-Path: <dgilbert@velocet.ca>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 188E037B401
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 19 Feb 2003 08:30:52 -0800 (PST)
Received: from sabre.velocet.net (sabre.velocet.net [216.138.209.205])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 9544743F75
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 19 Feb 2003 08:30:51 -0800 (PST)
	(envelope-from dgilbert@velocet.ca)
Received: from trooper.velocet.ca (trooper.velocet.net [216.138.242.2])
	by sabre.velocet.net (Postfix) with ESMTP id 1A7321380E1
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 19 Feb 2003 11:30:51 -0500 (EST)
Received: by trooper.velocet.ca (Postfix, from userid 101)
	id 911CE74625; Wed, 19 Feb 2003 11:30:50 -0500 (EST)
Message-Id: <20030219163050.911CE74625@trooper.velocet.ca>
Date: Wed, 19 Feb 2003 11:30:50 -0500 (EST)
From: David Gilbert <dgilbert@velocet.ca>
Reply-To: David Gilbert <dgilbert@velocet.ca>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: $EDITOR on the fixit CD is wrong.
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         48461
>Category:       misc
>Synopsis:       $EDITOR on the fixit CD is wrong.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kensmith
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 19 08:40:10 PST 2003
>Closed-Date:    Sun Feb 03 05:05:03 UTC 2008
>Last-Modified:  Sun Feb 03 05:05:03 UTC 2008
>Originator:     David Gilbert
>Release:        FreeBSD 4.7-RELEASE i386
>Organization:
Velocet Communications
>Environment:
System: FreeBSD trooper.velocet.ca 4.7-RELEASE FreeBSD 4.7-RELEASE #0: Mon Nov 18 10:08:06 EST 2002 root@trooper.velocet.ca:/usr/src/sys/compile/TROOPER i386

This occurs on the 4.7-disc2.iso distributed from the canonical FTP site.

>Description:
	In my case, I was using disklabel -e and it tries to run
/mnt2/stand/vi ... which is not present.  Maybe this is a floppy
thing... but we should be able to make this work in both places.
My simple patch doesn't address the floppy issue, I don't think.
>How-To-Repeat:
	
	run disklabel -e from the fixit CD.
>Fix:


--- fixit.profile.orig	Wed Feb 19 11:18:14 2003
+++ fixit.profile	Wed Feb 19 11:23:59 2003
@@ -3,8 +3,8 @@
 
 export BLOCKSIZE=K
 export PS1="Fixit# "
-export EDITOR="/mnt2/stand/vi"
-export PAGER="/mnt2/stand/more"
+export EDITOR="/mnt2/usr/bin/vi"
+export PAGER="/mnt2/usr/bin/more"
 export SCSI_MODES="/mnt2/usr/share/misc/scsi_modes"
 # the root MFS doesn't have /dev/nrsa0, pick a better default for mt(1)
 export TAPE=/mnt2/dev/nrsa0

>Release-Note:
>Audit-Trail:

From: Ruslan Ermilov <ru@freebsd.org>
To: David Gilbert <dgilbert@velocet.ca>
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: misc/48461: $EDITOR on the fixit CD is wrong.
Date: Wed, 19 Feb 2003 19:06:35 +0200

 On Wed, Feb 19, 2003 at 11:30:50AM -0500, David Gilbert wrote:
 > 
 > 	In my case, I was using disklabel -e and it tries to run
 > /mnt2/stand/vi ... which is not present.  Maybe this is a floppy
 > thing... but we should be able to make this work in both places.
 > My simple patch doesn't address the floppy issue, I don't think.
 > >How-To-Repeat:
 > 	
 > 	run disklabel -e from the fixit CD.
 > 
 > --- fixit.profile.orig	Wed Feb 19 11:18:14 2003
 > +++ fixit.profile	Wed Feb 19 11:23:59 2003
 > @@ -3,8 +3,8 @@
 >  
 >  export BLOCKSIZE=K
 >  export PS1="Fixit# "
 > -export EDITOR="/mnt2/stand/vi"
 > -export PAGER="/mnt2/stand/more"
 > +export EDITOR="/mnt2/usr/bin/vi"
 > +export PAGER="/mnt2/usr/bin/more"
 >  export SCSI_MODES="/mnt2/usr/share/misc/scsi_modes"
 >  # the root MFS doesn't have /dev/nrsa0, pick a better default for mt(1)
 >  export TAPE=/mnt2/dev/nrsa0
 > 
 Will it also work with the fixit floppy?
 
 
 Cheers,
 -- 
 Ruslan Ermilov		Sysadmin and DBA,
 ru@sunbay.com		Sunbay Software AG,
 ru@FreeBSD.org		FreeBSD committer,
 +380.652.512.251	Simferopol, Ukraine
 
 http://www.FreeBSD.org	The Power To Serve
 http://www.oracle.com	Enabling The Information Age

From: David Gilbert <dgilbert@velocet.ca>
To: Ruslan Ermilov <ru@FreeBSD.ORG>
Cc: David Gilbert <dgilbert@velocet.ca>,
	FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: misc/48461: $EDITOR on the fixit CD is wrong.
Date: Wed, 19 Feb 2003 12:26:27 -0500

 >>>>> "Ruslan" == Ruslan Ermilov <ru@FreeBSD.ORG> writes:
 
 Ruslan> Will it also work with the fixit floppy?
 
 Since I don't have any functioning floppy drives in house, I don't
 know how I would test the floppy environment.  I'm sure it can be made
 to, but someone with a floppy should test this.
 
 We havn't bought floppies in house for about 5 years.
 
 Dave.
 
 -- 
 ============================================================================
 |David Gilbert, Velocet Communications.       | Two things can only be     |
 |Mail:       dgilbert@velocet.net             |  equal if and only if they |
 |http://daveg.ca                              |   are precisely opposite.  |
 =========================================================GLO================
Responsible-Changed-From-To: freebsd-bugs->murray 
Responsible-Changed-By: murray 
Responsible-Changed-When: Sun May 11 13:47:49 PDT 2003 
Responsible-Changed-Why:  
I'll take a look at this. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=48461 
Responsible-Changed-From-To: murray->kensmith 
Responsible-Changed-By: kensmith 
Responsible-Changed-When: Tue Jan 22 15:31:03 UTC 2008 
Responsible-Changed-Why:  

Working on this. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=48461 
State-Changed-From-To: open->closed 
State-Changed-By: kensmith 
State-Changed-When: Sun Feb 3 05:03:54 UTC 2008 
State-Changed-Why:  

Patched in RELENG_7 and RELENG_6.  That's as far back as we'll go with 
it. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=48461 
>Unformatted:
