misc/113543: geom(8) utilities don't work inside the Fixit livefs

Ed Schouten ed at fxq.nl
Sun Jun 10 23:50:01 UTC 2007

>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
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 10 23:50:00 GMT 2007
>Originator:     Ed Schouten
>Release:        FreeBSD 6.2-STABLE i386
System: FreeBSD palm.hoeg.nl 6.2-STABLE FreeBSD 6.2-STABLE #0: Fri Apr 20 13:44:49 CEST 2007 root at palm.hoeg.nl:/usr/obj/usr/src/sys/PALM i386
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
Run glabel(8) inside the livefs. You are not capable of creating new
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"

More information about the freebsd-bugs mailing list