From ed@hoeg.nl  Sun Jun 10 23:49:09 2007
Return-Path: <ed@hoeg.nl>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 7BE4016A41F
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 10 Jun 2007 23:49:09 +0000 (UTC)
	(envelope-from ed@hoeg.nl)
Received: from palm.hoeg.nl (mx0.hoeg.nl [83.98.131.211])
	by mx1.freebsd.org (Postfix) with ESMTP id 4A10D13C44B
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 10 Jun 2007 23:49:09 +0000 (UTC)
	(envelope-from ed@hoeg.nl)
Received: by palm.hoeg.nl (Postfix, from userid 1000)
	id 156C81CC5A; Mon, 11 Jun 2007 01:49:08 +0200 (CEST)
Message-Id: <20070610234908.156C81CC5A@palm.hoeg.nl>
Date: Mon, 11 Jun 2007 01:49:08 +0200 (CEST)
From: Ed Schouten <ed@fxq.nl>
Reply-To: Ed Schouten <ed@fxq.nl>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: geom(8) utilities don't work inside the Fixit livefs
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         113543
>Category:       misc
>Synopsis:       [geom] [patch] geom(8) utilities don't work inside the Fixit livefs
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    obrien
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 10 23:50:00 GMT 2007
>Closed-Date:    Fri Jan 25 10:06:02 UTC 2008
>Last-Modified:  Fri Jan 25 10:06:02 UTC 2008
>Originator:     Ed Schouten
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD palm.hoeg.nl 6.2-STABLE FreeBSD 6.2-STABLE #0: Fri Apr 20 13:44:49 CEST 2007 root@palm.hoeg.nl:/usr/obj/usr/src/sys/PALM i386
>Description:
The geom(8) utilities depend on the modules that are present in
/lib/geom. For some reason, /lib doesn't seem to exist in the Fixit
environment on the livefs, which causes geom(8) utilities to
malfunction.
>How-To-Repeat:
Run glabel(8) inside the livefs. You are not capable of creating new
labels.
>Fix:
The following patch will cause the shell to automatically set the
GEOM_LIBRARY_PATH variable, which causes the utilities to work properly.

--- src/release/fixit.profile	Thu Sep  2 15:40:34 2004
+++ src/release/fixit.profile	Mon Jun 11 01:44:56 2007
@@ -8,6 +8,8 @@
 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
+# make geom(8) utilities find their modules
+export GEOM_LIBRARY_PATH="/mnt2/lib/geom"
 
 alias ls="ls -F"
 alias ll="ls -l"
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-geom 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Mon Jun 11 03:00:34 UTC 2007 
Responsible-Changed-Why:  
patch for src/release/fixit.profile. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=113543 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: misc/113543: commit references a PR
Date: Thu,  6 Dec 2007 20:25:39 +0000 (UTC)

 lulf        2007-12-06 20:25:31 UTC
 
   FreeBSD src repository
 
   Modified files:
     release              fixit.profile 
   Log:
   - Add support for all geom class command options in the Fixit environment by
     pointing GEOM_LIBRARY_PATH to the geom libraries.
   
   PR:             misc/113543
   Submitted by:   Ed Schouten <ed -at- fxq.nl>
   Approved by:    pjd (mentor)
   MFC after:      1 day
   
   Revision  Changes    Path
   1.11      +2 -0      src/release/fixit.profile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: misc/113543: commit references a PR
Date: Sat,  8 Dec 2007 09:39:17 +0000 (UTC)

 lulf        2007-12-08 09:39:12 UTC
 
   FreeBSD src repository
 
   Modified files:        (Branch: RELENG_7)
     release              fixit.profile 
   Log:
   - Add support for all geom class command options in the Fixit environment by
     pointing GEOM_LIBRARY_PATH to the geom libraries.
   
   PR:             misc/113543
   Submitted by:   Ed Schouten <ed -at- fxq.nl>
   Approved by:    re (kensmith), pjd (mentor)
   
   Revision   Changes    Path
   1.10.10.1  +2 -0      src/release/fixit.profile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: misc/113543: commit references a PR
Date: Sat,  8 Dec 2007 09:41:58 +0000 (UTC)

 lulf        2007-12-08 09:41:50 UTC
 
   FreeBSD src repository
 
   Modified files:        (Branch: RELENG_6)
     release              fixit.profile 
   Log:
   - Add support for all geom class command options in the Fixit environment by
     pointing GEOM_LIBRARY_PATH to the geom libraries.
   
   PR:             misc/113543
   Submitted by:   Ed Schouten <ed -at- fxq.nl>
   Approved by:    re (kensmith), pjd (mentor)
   
   Revision  Changes    Path
   1.10.2.1  +2 -0      src/release/fixit.profile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: misc/113543: commit references a PR
Date: Sat,  8 Dec 2007 10:05:39 +0000 (UTC)

 lulf        2007-12-08 10:05:32 UTC
 
   FreeBSD src repository
 
   Modified files:        (Branch: RELENG_6_3)
     release              fixit.profile 
   Log:
   - Add support for all geom class command options in the Fixit environment by
     pointing GEOM_LIBRARY_PATH to the geom libraries.
   
   PR:             misc/113543
   Submitted by:   Ed Schouten <ed -at- fxq.nl>
   Approved by:    re (kensmith), pjd (mentor)
   
   Revision   Changes    Path
   1.10.12.1  +2 -0      src/release/fixit.profile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->feedback 
State-Changed-By: obrien 
State-Changed-When: Tue Jan 22 15:43:43 UTC 2008 
State-Changed-Why:  
It looks like a fix has been commited for 7.0 and 6.3.  Can this be closed? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=113543 
Responsible-Changed-From-To: freebsd-geom->obrien 
Responsible-Changed-By: obrien 
Responsible-Changed-When: Tue Jan 22 15:55:27 UTC 2008 
Responsible-Changed-Why:  
Take this to watch for feedback responce. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=113543 
State-Changed-From-To: feedback->closed 
State-Changed-By: lulf 
State-Changed-When: Fri Jan 25 10:04:02 UTC 2008 
State-Changed-Why:  
- The fix was committed to HEAD, then MFCed to RELENG_7 (before the 7.0 branch), RELENG_6 and RELENG_6_3. 

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