Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jun 2007 01:49:08 +0200 (CEST)
From:      Ed Schouten <ed@fxq.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   misc/113543: geom(8) utilities don't work inside the Fixit livefs
Message-ID:  <20070610234908.156C81CC5A@palm.hoeg.nl>
Resent-Message-ID: <200706102350.l5ANo0gX061543@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         113543
>Category:       misc
>Synopsis:       geom(8) utilities don't work inside the Fixit livefs
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 10 23:50:00 GMT 2007
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070610234908.156C81CC5A>