From owner-freebsd-qa@FreeBSD.ORG Mon Dec 27 10:34:30 2004 Return-Path: Delivered-To: freebsd-qa@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F4FA16A4CE for ; Mon, 27 Dec 2004 10:34:30 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id B90FA43D5C for ; Mon, 27 Dec 2004 10:34:29 +0000 (GMT) (envelope-from abelousov@gmail.com) Received: by rproxy.gmail.com with SMTP id c16so202323rne for ; Mon, 27 Dec 2004 02:34:29 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=UmW2m7FawS0oxkkCgd/LhTL3Y4knExfbd/20/oAj6naRwf5Q105eG0VkskjeJo3ZVCLP9hXgIu2xILQmXfRfdp7is2CGYdGNRTVEgX0/WhwdjQ98IboU993rvK5gKQD/JhhXu9u/NMjuP69TdZYX+6LKt4lWNH19VSGCSzfnkk4= Received: by 10.38.151.48 with SMTP id y48mr466222rnd; Mon, 27 Dec 2004 02:34:29 -0800 (PST) Received: by 10.38.151.70 with HTTP; Mon, 27 Dec 2004 02:34:29 -0800 (PST) Message-ID: <2ff9b55d0412270234634d2e96@mail.gmail.com> Date: Mon, 27 Dec 2004 15:34:29 +0500 From: Alexey Belousov To: freebsd-qa@freebsd.org, freebsd-geom@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: 5.3 LiveCD fixit shell geom(8) environment broken? X-BeenThere: freebsd-qa@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: c0x@daemon.pp.ru List-Id: FreeBSD Quality Assurance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Dec 2004 10:34:30 -0000 hi All, recently, I played with geom in fixit shell and found some oddity: Fixit# geom mirror load Command 'load' not available. Fixit# sysctl kern.module_path kern.module_path: /boot/kernel;/boot/modules Fixit# ls -la /boot/kernel/ ls: /boot/kernel/: No such file or directory Fixit# ln -s /mnt2/boot/kernel /boot/ Fixit# geom mirror load -v Module available. Done. Fixit# geom mirror dump da0 Unknown command: dump usage: geom mirror help geom mirror list geom mirror load [-v] geom mirror unload [-v] Fixit# ldd `which geom` /mnt2/sbin/geom: libgeom.so.2 => /mnt2/lib/libgeom.so.2 (0x28078000) libsbuf.so.2 => /mnt2/lib/libsbuf.so.2 (0x2807c000) libbsdxml.so.1 => /mnt2/lib/libbsdxml.so.1 (0x2807e000) libutil.so.4 => /mnt2/lib/libutil.so.4 (0x2809d000) libc.so.5 => /mnt2/lib/libc.so.5 (0x280a9000) Fixit# ln -s /mnt2/lib / Fixit# geom mirror dump da0 Metadata on da0: magic: GEOM::MIRROR version: 1 <---snip---> Fixit# Summary: 1. missing geom_*.ko / invalid kern.module_path fix: sysctl kern.module_path=`sysctl -n kern.module_path`\;/mnt2/boot/kernel or simply ln -s /mnt2/boot/kernel /boot/ 2. missing necessary libs in /lib (hardcoded path?) fix: ln -s /mnt2/lib / ----------- cheers, From owner-freebsd-qa@FreeBSD.ORG Mon Dec 27 11:02:15 2004 Return-Path: Delivered-To: freebsd-qa@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EE9D516A4D2 for ; Mon, 27 Dec 2004 11:02:15 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BA18543D2D for ; Mon, 27 Dec 2004 11:02:15 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id iBRB2F97030230 for ; Mon, 27 Dec 2004 11:02:15 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id iBRB2EY1030225 for freebsd-qa@freebsd.org; Mon, 27 Dec 2004 11:02:14 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 27 Dec 2004 11:02:14 GMT Message-Id: <200412271102.iBRB2EY1030225@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-qa@FreeBSD.org Subject: Current problem reports assigned to you X-BeenThere: freebsd-qa@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD Quality Assurance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Dec 2004 11:02:16 -0000 Current FreeBSD problem reports Critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- f [2000/05/09] bin/18466 qa [sysinstall] install via nfs or ftp media o [2002/10/25] bin/44471 qa [sysinstall] 4.6 install writes MBR even o [2003/02/16] bin/48341 qa [sysinstall] sysinstall deletes mbr altho 3 problems total. Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2000/02/24] bin/16948 qa [sysinstall] sysinstall/disklabel: bad pa o [2000/07/29] bin/20282 qa [sysinstall] sysinstall does not recover o [2001/03/16] bin/25851 qa [patch] security hole in anonymous FTP se o [2001/03/19] bin/25929 qa [fixit] Can't use MAKEDEV in fixit mount o [2001/04/27] bin/26897 qa [sysinstall] 4.3R sysinstall fails to cre f [2001/05/29] i386/27729 qa [sysinstall] the ls120 device "afd" does o [2001/08/02] bin/29375 qa [sysinstall] disk editor gets confused by o [2001/09/26] bin/30837 qa [sysinstall] sysinstall doesn't set the s o [2001/10/18] bin/31363 qa [sysinstall] "partition editor" silently o [2001/12/31] bin/33370 qa [sysinstall] post-configuration issue o [2002/03/15] bin/35925 qa [sysinstall] fixit floppy cannot be mount a [2002/03/16] bin/35985 qa [sysinstall] swap double mount o [2002/03/29] bin/36508 qa [sysinstall] installation floppy bug (4.5 o [2002/04/08] bin/36911 qa [sysinstall] installation floppies miss a o [2002/04/30] i386/37585 qa [hang] System hangs on install at probing o [2002/05/26] bin/38582 qa [sysinstall] sysinstall sets newfs flag a o [2002/05/27] bin/38609 qa [sysinstall] sysinstall should know the s o [2002/07/06] bin/40260 qa [sysinstall] hang when detecting devices f [2002/07/16] bin/40656 qa [patch] [sysinstall] scripted deletion of o [2002/08/18] bin/41757 qa [sysinstall] sysinstall 4.6.x unstable o [2002/08/21] bin/41850 qa [sysinstall] sysinstall fails to create r o [2002/11/21] bin/45565 qa [sysinstall] write error, filesystem full o [2003/01/23] bin/47384 qa [sysinstall] sysinstall ignores intended f [2003/01/25] i386/47451 qa [boot] 5.0 GENERIC CD locks during boot o o [2003/06/27] bin/53839 qa [sysinstall] disklabel editor fails on po o [2003/09/14] kern/56873 qa [boot] system hangs on boot at Buslogic d o [2004/01/10] bin/61152 qa [sysinstall] installer refuses to mount U o [2004/01/19] bin/61587 qa [patch] [sysinstall] installation problem o [2004/01/21] bin/61658 qa [sysinstall] 5.2R error "Add of package q o [2004/01/24] bin/61811 qa [sysinstall] 5.2 release no resolv.conf c o [2004/01/26] bin/61937 qa [sysinstall] cannot install 5.2-REL via s o [2004/02/05] bin/62367 qa [sysinstall] 5.2.1-RC installation proble o [2004/02/05] bin/62375 qa [sysinstall] sysinstall core dump o [2004/02/14] bin/62833 qa [sysinstall] can't install: integer divid o [2004/04/14] bin/65546 qa [sysinstall] 4.10-BETA fails to install f o [2004/04/19] bin/65774 qa [sysinstall] cannot run repair disk when o [2004/05/20] bin/66950 qa [sysinstall] upgrading to 4.10-RC3: packa o [2004/09/03] kern/71323 qa [sysinstall] FTP download from floppy boo o [2004/10/19] bin/72895 qa [sysinstall] Sysinstall generates invalid o [2004/10/23] kern/73035 qa Uppgrading from 5.2.1 to 5.3 RC1 fails o [2004/11/04] bin/73511 qa [sysinstall] SCSI drive install failure - o [2004/11/06] bin/73617 qa [sysinstall] fdisk editor unmarks active 42 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [1997/09/28] bin/4646 qa [sysinstall] can't fixit with an NFS-moun s [1998/07/10] bin/7232 qa [sysinstall] suggestion for FreeBSD insta o [1999/06/21] bin/12324 qa [sysinstall] fdisk partition editor is mi o [1999/11/22] bin/15038 qa [sysinstall] easy to not notice that sele o [1999/12/28] bin/15748 qa [sysinstall] upgrade removes /boot/kernel o [2000/02/08] conf/16584 qa [sysinstall] Hostname field too small dur o [2000/10/15] conf/21994 qa [sysinstall] Config of Anonftp (at instal a [2000/12/09] bin/23402 qa [sysinstall] upgrade ought to check parti o [2001/02/06] bin/24907 qa [sysinstall] Options screen at MenuMedia o [2001/08/20] bin/29893 qa [sysinstall] suggestions for 4.4 sysinsta f [2002/04/16] bin/37137 qa [sysinstall] doesn't recognize version nu o [2002/04/16] bin/37160 qa [sysinstall] coredumps when trying to loa o [2002/05/14] bin/38056 qa [sysinstall] User (creation)'s "Member gr o [2002/05/24] bin/38477 qa [sysinstall] in Choose Distributions scre o [2002/05/24] bin/38478 qa [sysinstall] In Choose Distributions scre o [2002/05/24] bin/38480 qa [sysinstall] sysinstall should prompt for o [2002/05/26] bin/38583 qa [sysinstall] sysinstall installs crypto s f [2002/06/02] bin/38835 qa [sysinstall] sysinstall always installs c o [2002/06/20] bin/39574 qa [sysinstall] error mounting /dev/acd0c on o [2002/08/23] bin/41949 qa [sysinstall] sysinstall sorts /etc/rc.con o [2003/01/19] bin/47204 qa [sysinstall] base + XFree86 install fails o [2003/05/15] bin/52271 qa [sysinstall] sysinstall panics in machine o [2003/10/14] bin/58008 qa [patch] [sysinstall] sysinstall postfix i o [2003/12/18] bin/60350 qa [sysinstall] in Choose Distributions scre o [2003/12/28] bin/60662 qa [sysinstall] 5.2 Anonymous FTP server out o [2004/01/12] bin/61264 qa [sysinstall] unable To Use VT100 Terminal o [2004/02/11] bin/62702 qa [sysinstall] backup of /etc and /root dur o [2004/02/11] bin/62711 qa [sysinstall] installation: "Insert Next C a [2004/02/28] conf/63480 qa /etc/mail/aliases has executable bit set, o [2004/10/01] bin/72232 qa [sysinstall] Installer installs gui-enabl o [2004/10/15] misc/72741 qa ssh broken on fixit cd (missing /dev/rand o [2004/12/25] bin/75479 qa [sysinstall] sysinstall time servers list 32 problems total. From owner-freebsd-qa@FreeBSD.ORG Mon Dec 27 11:04:01 2004 Return-Path: Delivered-To: freebsd-qa@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7204B16A4CE for ; Mon, 27 Dec 2004 11:04:01 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5612243D1D for ; Mon, 27 Dec 2004 11:04:01 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id iBRB41mp032302 for ; Mon, 27 Dec 2004 11:04:01 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id iBRB409Y032296 for qa@freebsd.org; Mon, 27 Dec 2004 11:04:00 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 27 Dec 2004 11:04:00 GMT Message-Id: <200412271104.iBRB409Y032296@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: qa@FreeBSD.org Subject: Current problem reports assigned to you X-BeenThere: freebsd-qa@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD Quality Assurance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Dec 2004 11:04:01 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2002/10/18] i386/44188 qa [install] cannot install FreeBSD 4.0-4.6 o [2003/01/01] bin/46670 qa [sysinstall] 5.0-RC2 install leaves CD dr 2 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [1998/11/27] bin/8867 qa [sysinstall] [patch] /stand/sysinstall co o [1999/09/24] bin/13936 qa [sysinstall] no clear indication of how m o [1999/10/14] bin/14318 qa [sysinstall] sysinstall upon install has o [2000/03/22] bin/17546 qa [sysinstall] sysinstall does not let you o [2000/08/28] bin/20908 qa [sysinstall] /stand/sysinstall too limite o [2001/01/18] bin/24435 qa [libdisk] changing slice type causes Auto o [2001/04/28] bin/26919 qa [sysinstall] fdisk should ONLY set one bo o [2001/05/08] bin/27216 qa [sysinstall] can not get to shell prompt o [2001/05/21] bin/27483 qa [sysinstall] [patch] make sysinstall ask o [2001/06/04] bin/27872 qa [sysinstall] "Load Config" hangs Compaq D o [2001/09/12] bin/30517 qa [sysinstall] using sysinstall with instal o [2001/11/26] bin/32288 qa [sysinstall] After install: /etc/rc compl o [2002/02/28] bin/35400 qa [sysinstall] sysinstall could improve man o [2002/04/09] kern/36916 qa [libdisk] DOS active partition flag lost o [2002/05/14] bin/38055 qa [sysinstall] Groups (creation) item shoul o [2002/05/14] bin/38057 qa [sysinstall] "install" document doesn't d o [2002/05/27] bin/38610 qa [sysinstall] should be able to mount ISO o [2002/06/03] bin/38854 qa [sysinstall] resetting during setup cause o [2002/06/16] bin/39360 qa [sysinstall] if linux emu is added as a d o [2002/07/23] kern/40926 qa [boot] After Upgrading or Clean Installin o [2002/08/01] bin/41238 qa [sysinstall] problems with FreeBSD instal o [2002/08/17] bin/41744 qa [sysinstall] cannot stop comat22 from bei o [2002/08/26] bin/42022 qa [sysinstall] non-interactive mode prompts o [2002/08/29] bin/42162 qa [sysinstall] installation crashes, md0c f o [2002/09/18] bin/42934 qa [sysinstall] installation procedure on in o [2002/10/08] misc/43825 qa please remove object files in source (src o [2002/11/05] bin/44915 qa [sysinstall] 'choose installation media' o [2002/11/13] bin/45254 qa [patch] [sysinstall] sysinstall installs o [2002/11/23] bin/45608 qa [sysinstall] install should config all et o [2003/01/09] bin/46905 qa [sysinstall] FreeBSD 5.x cannot be instal o [2003/01/21] bin/47314 qa [sysinstall] wish: install should not req o [2003/02/04] bin/47908 qa [sysinstall] /stand/sysinstall can't disp o [2003/03/06] bin/48989 qa [sysinstall] Sysinstall's partition edit o [2003/06/10] bin/53131 qa [sysinstall] "ALL" could not turn check B o [2003/06/15] bin/53341 qa [sysinstall] [patch] dump frequency in sy o [2004/03/17] conf/64381 qa lo0 not up and no IPs assigned after inst 36 problems total. From owner-freebsd-qa@FreeBSD.ORG Wed Dec 29 04:30:11 2004 Return-Path: Delivered-To: freebsd-qa@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6008516A4CE; Wed, 29 Dec 2004 04:30:11 +0000 (GMT) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A7FB43D49; Wed, 29 Dec 2004 04:30:11 +0000 (GMT) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id EF76472DD4; Tue, 28 Dec 2004 20:30:10 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id EDB0A72DCB; Tue, 28 Dec 2004 20:30:10 -0800 (PST) Date: Tue, 28 Dec 2004 20:30:10 -0800 (PST) From: Doug White To: c0x@daemon.pp.ru In-Reply-To: <2ff9b55d0412270234634d2e96@mail.gmail.com> Message-ID: <20041228202524.M49504@carver.gumbysoft.com> References: <2ff9b55d0412270234634d2e96@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-geom@freebsd.org cc: freebsd-qa@freebsd.org Subject: Re: 5.3 LiveCD fixit shell geom(8) environment broken? X-BeenThere: freebsd-qa@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD Quality Assurance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Dec 2004 04:30:11 -0000 On Mon, 27 Dec 2004, Alexey Belousov wrote: > hi All, > > recently, I played with geom in fixit shell and found some oddity: > > Fixit# geom mirror load > Command 'load' not available. > Fixit# sysctl kern.module_path > kern.module_path: /boot/kernel;/boot/modules > Fixit# ls -la /boot/kernel/ > ls: /boot/kernel/: No such file or directory > Fixit# ln -s /mnt2/boot/kernel /boot/ > Fixit# geom mirror load -v > Module available. > Done. This is making a rather dangerous assumption -- that the installed kernel in /mnt2/boot/kernel is binary-compatible with the GENERIC kernel from the CD you started the fixit enviornment from. Its not something that could be enabled in the general case. Of course if you know they are compatible (i.e., 5.3-RELEASE CD for a 5.3-RELEASE system) you could have just loaded the module manually: kldload /mnt2/boot/kernel/geom_mirror.ko instead of the symlink fiddling. Or updated the module path even. > Fixit# geom mirror dump da0 > Unknown command: dump > usage: geom mirror help > geom mirror list > geom mirror load [-v] > geom mirror unload [-v] > Fixit# ldd `which geom` > /mnt2/sbin/geom: > libgeom.so.2 => /mnt2/lib/libgeom.so.2 (0x28078000) > libsbuf.so.2 => /mnt2/lib/libsbuf.so.2 (0x2807c000) > libbsdxml.so.1 => /mnt2/lib/libbsdxml.so.1 (0x2807e000) > libutil.so.4 => /mnt2/lib/libutil.so.4 (0x2809d000) > libc.so.5 => /mnt2/lib/libc.so.5 (0x280a9000) > Fixit# ln -s /mnt2/lib / > Fixit# geom mirror dump da0 > Metadata on da0: > magic: GEOM::MIRROR > version: 1 > <---snip---> > Fixit# > > Summary: > 1. missing geom_*.ko / invalid kern.module_path > fix: sysctl kern.module_path=`sysctl -n kern.module_path`\;/mnt2/boot/kernel > or simply ln -s /mnt2/boot/kernel /boot/ The sysctl change is preferred. > 2. missing necessary libs in /lib (hardcoded path?) > fix: ln -s /mnt2/lib / or preferably 'ldconfig -m /mnt2/lib'. Again there is a compatibility issue that would make this unsafe to do automatically. Were you able to test if the geom command works properly, without any sysctl or symlink fiddling, if you choose to mount disc #2? That should provide all the necessary pieces without having to pick them out of the installed system. -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org From owner-freebsd-qa@FreeBSD.ORG Wed Dec 29 09:51:09 2004 Return-Path: Delivered-To: freebsd-qa@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 783BD16A4CE; Wed, 29 Dec 2004 09:51:09 +0000 (GMT) Received: from darkness.comp.waw.pl (darkness.comp.waw.pl [195.117.238.136]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0941C43D2D; Wed, 29 Dec 2004 09:51:09 +0000 (GMT) (envelope-from pjd@darkness.comp.waw.pl) Received: by darkness.comp.waw.pl (Postfix, from userid 1009) id 10C0FACB34; Wed, 29 Dec 2004 10:51:02 +0100 (CET) Date: Wed, 29 Dec 2004 10:51:02 +0100 From: Pawel Jakub Dawidek To: Doug White Message-ID: <20041229095102.GA2846@darkness.comp.waw.pl> References: <2ff9b55d0412270234634d2e96@mail.gmail.com> <20041228202524.M49504@carver.gumbysoft.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qDbXVdCdHGoSgWSk" Content-Disposition: inline In-Reply-To: <20041228202524.M49504@carver.gumbysoft.com> User-Agent: Mutt/1.4.2i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 5.2.1-RC2 i386 cc: freebsd-qa@freebsd.org cc: c0x@daemon.pp.ru cc: freebsd-geom@freebsd.org Subject: Re: 5.3 LiveCD fixit shell geom(8) environment broken? X-BeenThere: freebsd-qa@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD Quality Assurance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Dec 2004 09:51:09 -0000 --qDbXVdCdHGoSgWSk Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Dec 28, 2004 at 08:30:10PM -0800, Doug White wrote: +> > 2. missing necessary libs in /lib (hardcoded path?) +> > fix: ln -s /mnt2/lib / +>=20 +> or preferably 'ldconfig -m /mnt2/lib'. Again there is a compatibility +> issue that would make this unsafe to do automatically. This won't help, because geom(8) use dlopen(3) to load class-specific library and the path is hardcoded. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --qDbXVdCdHGoSgWSk Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFB0n4FForvXbEpPzQRAnXLAKCLN/uHRwZfnC+FZPB5YTzucPxqhgCgqbQX +Hp9PfnCX8AjEePDf/1scso= =wBx0 -----END PGP SIGNATURE----- --qDbXVdCdHGoSgWSk-- From owner-freebsd-qa@FreeBSD.ORG Wed Dec 29 10:21:57 2004 Return-Path: Delivered-To: freebsd-qa@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AAA5016A4CF for ; Wed, 29 Dec 2004 10:21:57 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 18BB843D48 for ; Wed, 29 Dec 2004 10:21:57 +0000 (GMT) (envelope-from abelousov@gmail.com) Received: by rproxy.gmail.com with SMTP id c16so388346rne for ; Wed, 29 Dec 2004 02:21:56 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=G4sBW6uEoQrda1pWf8rYsJ65j3+6toq86WNjyNq8L0QNc+PQE1QcC83XgrmMo7a+a/n+cLnjwm/g7N71Drqs0cvqPdWzFzdsGiaDU3t9Kt8KtgTfLIdpVUyerZg3x1ldBffbyL67BqARGfAAQ5UhGVSa0T48hlHB8kT4GxL9RXw= Received: by 10.38.86.65 with SMTP id j65mr85715rnb; Wed, 29 Dec 2004 02:21:56 -0800 (PST) Received: by 10.38.151.70 with HTTP; Wed, 29 Dec 2004 02:21:56 -0800 (PST) Message-ID: <2ff9b55d04122902217c620769@mail.gmail.com> Date: Wed, 29 Dec 2004 15:21:56 +0500 From: Alexey Belousov To: Doug White In-Reply-To: <20041228202524.M49504@carver.gumbysoft.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <2ff9b55d0412270234634d2e96@mail.gmail.com> <20041228202524.M49504@carver.gumbysoft.com> cc: freebsd-qa@freebsd.org cc: freebsd-geom@freebsd.org Subject: Re: 5.3 LiveCD fixit shell geom(8) environment broken? X-BeenThere: freebsd-qa@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: c0x@daemon.pp.ru List-Id: FreeBSD Quality Assurance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Dec 2004 10:21:58 -0000 On Tue, 28 Dec 2004 20:30:10 -0800 (PST), Doug White wrote: > On Mon, 27 Dec 2004, Alexey Belousov wrote: > > > hi All, > > > > recently, I played with geom in fixit shell and found some oddity: > > > > Fixit# geom mirror load > > Command 'load' not available. > > Fixit# sysctl kern.module_path > > kern.module_path: /boot/kernel;/boot/modules > > Fixit# ls -la /boot/kernel/ > > ls: /boot/kernel/: No such file or directory > > Fixit# ln -s /mnt2/boot/kernel /boot/ > > Fixit# geom mirror load -v > > Module available. > > Done. > > This is making a rather dangerous assumption -- that the installed kernel > in /mnt2/boot/kernel is binary-compatible with the GENERIC kernel from the > CD you started the fixit enviornment from. Its not something that could > be enabled in the general case. > > Of course if you know they are compatible (i.e., 5.3-RELEASE CD for a > 5.3-RELEASE system) you could have just loaded the module manually: > > kldload /mnt2/boot/kernel/geom_mirror.ko diagnostic message "Command 'load' not available." ugly, it should be "Module not available." isn't it? > > instead of the symlink fiddling. Or updated the module path even. > > > Fixit# geom mirror dump da0 > > Unknown command: dump > > usage: geom mirror help > > geom mirror list > > geom mirror load [-v] > > geom mirror unload [-v] > > Fixit# ldd `which geom` > > /mnt2/sbin/geom: > > libgeom.so.2 => /mnt2/lib/libgeom.so.2 (0x28078000) > > libsbuf.so.2 => /mnt2/lib/libsbuf.so.2 (0x2807c000) > > libbsdxml.so.1 => /mnt2/lib/libbsdxml.so.1 (0x2807e000) > > libutil.so.4 => /mnt2/lib/libutil.so.4 (0x2809d000) > > libc.so.5 => /mnt2/lib/libc.so.5 (0x280a9000) > > Fixit# ln -s /mnt2/lib / > > Fixit# geom mirror dump da0 > > Metadata on da0: > > magic: GEOM::MIRROR > > version: 1 > > <---snip---> > > Fixit# > > > > Summary: > > 1. missing geom_*.ko / invalid kern.module_path > > fix: sysctl kern.module_path=`sysctl -n kern.module_path`\;/mnt2/boot/kernel > > or simply ln -s /mnt2/boot/kernel /boot/ > > The sysctl change is preferred. yes, but symlink more handy for me in this situation. Anyway, at least, kern.module_path must contain /mnt2/boot/kernel by default, IMHO. > > > 2. missing necessary libs in /lib (hardcoded path?) > > fix: ln -s /mnt2/lib / > > or preferably 'ldconfig -m /mnt2/lib'. Again there is a compatibility > issue that would make this unsafe to do automatically. ldd `which geom` says no problem with libs (see my first posting), and 'ldconfig -m /mnt2/lib' not working for me too. > > Were you able to test if the geom command works properly, without any > sysctl or symlink fiddling, if you choose to mount disc #2? That should > provide all the necessary pieces without having to pick them out of the > installed system. disk #2, 5.3-RELEASE-i386-disc2.iso - the "LiveCD" I boot from and mount by standart way: 'sysinstall Main Menu' -> 'Fixit' -> '2 CDROM/DVD Use the "live" filesystem CDROM/DVD' -> 'OK' -> go vty4 to 'fixit' shell. Finally, why I can't start my repair job immediately after boot and mount "LiveCD" without doing some nasty tricks&tweaks? ;) > > -- > Doug White | FreeBSD: The Power to Serve > dwhite@gumbysoft.com | www.FreeBSD.org > _______________________________________________ > freebsd-geom@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-geom > To unsubscribe, send any mail to "freebsd-geom-unsubscribe@freebsd.org" > From owner-freebsd-qa@FreeBSD.ORG Thu Dec 30 15:48:50 2004 Return-Path: Delivered-To: freebsd-qa@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4EC9616A4CE for ; Thu, 30 Dec 2004 15:48:50 +0000 (GMT) Received: from pop-a065d19.pas.sa.earthlink.net (pop-a065d19.pas.sa.earthlink.net [207.217.121.253]) by mx1.FreeBSD.org (Postfix) with ESMTP id 24F5F43D2F for ; Thu, 30 Dec 2004 15:48:50 +0000 (GMT) (envelope-from rpratt1950@earthlink.net) Received: from fl-69-69-238-139.dyn.sprint-hsd.net ([69.69.238.139] helo=kt.weeble.com) by pop-a065d19.pas.sa.earthlink.net with smtp (Exim 3.33 #1) id 1Ck2Xh-0006bT-00 for freebsd-qa@freebsd.org; Thu, 30 Dec 2004 07:48:49 -0800 Date: Thu, 30 Dec 2004 10:48:48 -0500 From: Randy Pratt To: freebsd-qa@freebsd.org Message-Id: <20041230104848.114b267a.rpratt1950@earthlink.net> X-Mailer: Sylpheed version 1.0.0rc (GTK+ 1.2.10; i386-portbld-freebsd4.11) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: 4.11-RC1: Setting bash as user default shell X-BeenThere: freebsd-qa@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD Quality Assurance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Dec 2004 15:48:50 -0000 I did a fresh install of 4.11-RC1 on an older box: FreeBSD dell.weeble.com 4.11-RC1 FreeBSD 4.11-RC1 #0: Fri Dec 17 16:47:15 GMT 2004 root@perseus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 I was not able to set bash as the user's default shell during installation even though bash had been installed. The message said that it was not a valid user shell. I decided to leave it as /bin/sh to complete the installation. I tried adding a new user after installation and setting the shell to /usr/local/bin/bash and a pop-up said: Warning: The requested shell "/usr/local/bin/bash" is not a valid user shell. Use it anyway? I answered yes and it did set the default shell to bash. I'm not clear why we're adding this 'Are you sure?' message. It seems rather pointless and will only add to confusion since I did have bash installed and it was a valid shell. If the message stated "a non-standard shell", it might help. After install, I tried to change an existing user to bash with chsh not able to change the user's default shell to bash: $ chsh ... .. chsh: /usr/local/bin/bash: non-standard shell re-edit the password file? [y]: n chsh: /etc/master.passwd: unchanged $ No amount of fiddling would allow me to use chsh to set bash as the default user shell. Vipw will change the user's shell without any problems. I also have a STABLE box that was cvsupped on the same day: FreeBSD kt.weeble.com 4.11-STABLE FreeBSD 4.11-STABLE #0: Fri Dec 17 07:51:02 EST 2004 rpratt@kt.weeble.com:/usr/obj/usr/src/sys/CUSTOM i386 On the -STABLE box, I can create a user and set bash as the default shell without any warnings. I can also create a user with /bin/sh as the default shell and change it to /usr/local/bin/bash with chsh without any problems. The ident of chsh on both boxes shows identical results. Can anyone duplicate this on a fresh 4.11-RC1 install? If more detail is needed, just ask. Best regards, Randy -- From owner-freebsd-qa@FreeBSD.ORG Thu Dec 30 15:53:51 2004 Return-Path: Delivered-To: freebsd-qa@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EEAF216A4CE for ; Thu, 30 Dec 2004 15:53:51 +0000 (GMT) Received: from gandalf.online.bg (gandalf.online.bg [217.75.128.9]) by mx1.FreeBSD.org (Postfix) with SMTP id 9067B43D45 for ; Thu, 30 Dec 2004 15:53:50 +0000 (GMT) (envelope-from roam@ringlet.net) Received: (qmail 19287 invoked from network); 30 Dec 2004 15:53:37 -0000 Received: from unknown (HELO straylight.ringlet.net) (213.16.36.84) by gandalf.online.bg with SMTP; 30 Dec 2004 15:53:37 -0000 Received: (qmail 13944 invoked by uid 1000); 30 Dec 2004 15:53:40 -0000 Date: Thu, 30 Dec 2004 17:53:40 +0200 From: Peter Pentchev To: Randy Pratt Message-ID: <20041230155340.GA795@straylight.m.ringlet.net> Mail-Followup-To: Randy Pratt , freebsd-qa@freebsd.org References: <20041230104848.114b267a.rpratt1950@earthlink.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0F1p//8PRICkK4MW" Content-Disposition: inline In-Reply-To: <20041230104848.114b267a.rpratt1950@earthlink.net> User-Agent: Mutt/1.5.6i cc: freebsd-qa@freebsd.org Subject: Re: 4.11-RC1: Setting bash as user default shell X-BeenThere: freebsd-qa@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD Quality Assurance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Dec 2004 15:53:52 -0000 --0F1p//8PRICkK4MW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 30, 2004 at 10:48:48AM -0500, Randy Pratt wrote: > I did a fresh install of 4.11-RC1 on an older box: >=20 > FreeBSD dell.weeble.com 4.11-RC1 FreeBSD 4.11-RC1 #0: Fri Dec 17 16:47:15= GMT 2004 > root@perseus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >=20 > I was not able to set bash as the user's default shell during > installation even though bash had been installed. The message said > that it was not a valid user shell. I decided to leave it as > /bin/sh to complete the installation. I tried adding a new user > after installation and setting the shell to > /usr/local/bin/bash and a pop-up said: Is bash (or rather, /usr/local/bin/bash) listed in your /etc/shells file? If not, have you by any chance had the root filesystem mounted read-only during the bash port/package installation? Just adding /usr/local/bin/bash to /etc/shells should be enough to allow you to use either chsh or sysinstall to set it as a user/root shell. G'luck, Peter --=20 Peter Pentchev roam@ringlet.net roam@cnsys.bg roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 If I were you, who would be reading this sentence? --0F1p//8PRICkK4MW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFB1CSD7Ri2jRYZRVMRAjFJAJ9e6/Qiq9lNDdHjQn++1xpzAM/s3wCfSr7r qDq/q0HQ7/6dCm1evk4/GmU= =Dvon -----END PGP SIGNATURE----- --0F1p//8PRICkK4MW-- From owner-freebsd-qa@FreeBSD.ORG Thu Dec 30 19:11:39 2004 Return-Path: Delivered-To: freebsd-qa@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3D4FC16A4CE for ; Thu, 30 Dec 2004 19:11:39 +0000 (GMT) Received: from pop-a065d19.pas.sa.earthlink.net (pop-a065d19.pas.sa.earthlink.net [207.217.121.253]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0CE8243D3F for ; Thu, 30 Dec 2004 19:11:39 +0000 (GMT) (envelope-from rpratt1950@earthlink.net) Received: from fl-69-69-238-139.dyn.sprint-hsd.net ([69.69.238.139] helo=kt.weeble.com) by pop-a065d19.pas.sa.earthlink.net with smtp (Exim 3.33 #1) id 1Ck5hv-0005Jf-00; Thu, 30 Dec 2004 11:11:35 -0800 Date: Thu, 30 Dec 2004 14:11:33 -0500 From: Randy Pratt To: Peter Pentchev Message-Id: <20041230141133.330f187c.rpratt1950@earthlink.net> In-Reply-To: <20041230155340.GA795@straylight.m.ringlet.net> References: <20041230104848.114b267a.rpratt1950@earthlink.net> <20041230155340.GA795@straylight.m.ringlet.net> X-Mailer: Sylpheed version 1.0.0rc (GTK+ 1.2.10; i386-portbld-freebsd4.11) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-qa@freebsd.org Subject: Re: 4.11-RC1: Setting bash as user default shell X-BeenThere: freebsd-qa@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD Quality Assurance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Dec 2004 19:11:39 -0000 On Thu, 30 Dec 2004 17:53:40 +0200 Peter Pentchev wrote: > On Thu, Dec 30, 2004 at 10:48:48AM -0500, Randy Pratt wrote: > > I did a fresh install of 4.11-RC1 on an older box: > > > > FreeBSD dell.weeble.com 4.11-RC1 FreeBSD 4.11-RC1 #0: Fri Dec 17 16:47:15 GMT 2004 > > root@perseus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 > > > > I was not able to set bash as the user's default shell during > > installation even though bash had been installed. The message said > > that it was not a valid user shell. I decided to leave it as > > /bin/sh to complete the installation. I tried adding a new user > > after installation and setting the shell to > > /usr/local/bin/bash and a pop-up said: > > Is bash (or rather, /usr/local/bin/bash) listed in your /etc/shells file? > If not, have you by any chance had the root filesystem mounted read-only > during the bash port/package installation? The root filesystem is read/write as freshly installed. However, you are correct in that /etc/shells contains "/usr/local/bin/bash2" on 4.11-RC1 and it is "/usr/local/bin/bash" on 4.11-STABLE. Perhaps both should be added to /etc/shells or revert back to the old behavior. The way it is violates POLA in my view. > Just adding /usr/local/bin/bash to /etc/shells should be enough to > allow you to use either chsh or sysinstall to set it as a user/root shell. Yes, that will work or specifying /usr/local/bin/bash2 in chsh will also work. However, during installation, modifying /etc/shells is not an option. The problem is that none of this is documented and is going to cause new users grief and confuse present users. Thanks for your quick response and identification of the problem. I'll file a PR so it doesn't get lost in the shuffle. Thanks! Randy > G'luck, > Peter > > -- > Peter Pentchev roam@ringlet.net roam@cnsys.bg roam@FreeBSD.org > PGP key: http://people.FreeBSD.org/~roam/roam.key.asc > Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 > If I were you, who would be reading this sentence? > -- From owner-freebsd-qa@FreeBSD.ORG Thu Dec 30 19:47:08 2004 Return-Path: Delivered-To: freebsd-qa@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1118416A4CE for ; Thu, 30 Dec 2004 19:47:08 +0000 (GMT) Received: from mail4.speakeasy.net (mail4.speakeasy.net [216.254.0.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id C3E8E43D4C for ; Thu, 30 Dec 2004 19:47:07 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: (qmail 23731 invoked from network); 30 Dec 2004 19:47:07 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 30 Dec 2004 19:47:06 -0000 Received: from [10.50.41.243] (gw1.twc.weather.com [216.133.140.1]) (authenticated bits=0) by server.baldwin.cx (8.12.11/8.12.11) with ESMTP id iBUJkrwK011705; Thu, 30 Dec 2004 14:47:02 -0500 (EST) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: freebsd-qa@FreeBSD.org Date: Thu, 30 Dec 2004 14:47:24 -0500 User-Agent: KMail/1.6.2 References: <20041230104848.114b267a.rpratt1950@earthlink.net> <20041230155340.GA795@straylight.m.ringlet.net> <20041230141133.330f187c.rpratt1950@earthlink.net> In-Reply-To: <20041230141133.330f187c.rpratt1950@earthlink.net> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200412301447.24917.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx cc: Randy Pratt Subject: Re: 4.11-RC1: Setting bash as user default shell X-BeenThere: freebsd-qa@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD Quality Assurance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Dec 2004 19:47:08 -0000 On Thursday 30 December 2004 02:11 pm, Randy Pratt wrote: > On Thu, 30 Dec 2004 17:53:40 +0200 > > Peter Pentchev wrote: > > On Thu, Dec 30, 2004 at 10:48:48AM -0500, Randy Pratt wrote: > > > I did a fresh install of 4.11-RC1 on an older box: > > > > > > FreeBSD dell.weeble.com 4.11-RC1 FreeBSD 4.11-RC1 #0: Fri Dec 17 > > > 16:47:15 GMT 2004 > > > root@perseus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 > > > > > > I was not able to set bash as the user's default shell during > > > installation even though bash had been installed. The message said > > > that it was not a valid user shell. I decided to leave it as > > > /bin/sh to complete the installation. I tried adding a new user > > > after installation and setting the shell to > > > /usr/local/bin/bash and a pop-up said: > > > > Is bash (or rather, /usr/local/bin/bash) listed in your /etc/shells file? > > If not, have you by any chance had the root filesystem mounted read-only > > during the bash port/package installation? > > The root filesystem is read/write as freshly installed. > > However, you are correct in that /etc/shells contains > "/usr/local/bin/bash2" on 4.11-RC1 and it is "/usr/local/bin/bash" > on 4.11-STABLE. Perhaps both should be added to /etc/shells or > revert back to the old behavior. The way it is violates POLA in > my view. > > > Just adding /usr/local/bin/bash to /etc/shells should be enough to > > allow you to use either chsh or sysinstall to set it as a user/root > > shell. > > Yes, that will work or specifying /usr/local/bin/bash2 in chsh will also > work. However, during installation, modifying /etc/shells is not > an option. > > The problem is that none of this is documented and is going to > cause new users grief and confuse present users. > > Thanks for your quick response and identification of the problem. > I'll file a PR so it doesn't get lost in the shuffle. > > Thanks! > > Randy This is a problem with the bash port as the bash port is what adds lines to /etc/shells. Actually, you probably chose the bash2 port and that is installed as /usr/local/bin/bash2. If you install the 'bash' port which contains bash 3.0, then that will install /usr/local/bin/bash and add it to your /etc/shells file. Looking at the scripts used to build the CDs, it seems that the bash2 port is included on the first CD but not the 'bash' port. Perhaps trying e-mailing re@ and asking them to use the shells/bash port rather than shells/bash2? -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org From owner-freebsd-qa@FreeBSD.ORG Fri Dec 31 01:43:38 2004 Return-Path: Delivered-To: freebsd-qa@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4791E16A4CE; Fri, 31 Dec 2004 01:43:38 +0000 (GMT) Received: from carver.gumbysoft.com (carver.gumbysoft.com [66.220.23.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D71143D2D; Fri, 31 Dec 2004 01:43:38 +0000 (GMT) (envelope-from dwhite@gumbysoft.com) Received: by carver.gumbysoft.com (Postfix, from userid 1000) id 1BBC172DD4; Thu, 30 Dec 2004 17:43:38 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by carver.gumbysoft.com (Postfix) with ESMTP id 1630872DCB; Thu, 30 Dec 2004 17:43:38 -0800 (PST) Date: Thu, 30 Dec 2004 17:43:38 -0800 (PST) From: Doug White To: Pawel Jakub Dawidek In-Reply-To: <20041229095102.GA2846@darkness.comp.waw.pl> Message-ID: <20041230174245.F67243@carver.gumbysoft.com> References: <2ff9b55d0412270234634d2e96@mail.gmail.com> <20041229095102.GA2846@darkness.comp.waw.pl> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-qa@freebsd.org cc: c0x@daemon.pp.ru cc: freebsd-geom@freebsd.org Subject: Re: 5.3 LiveCD fixit shell geom(8) environment broken? X-BeenThere: freebsd-qa@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD Quality Assurance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Dec 2004 01:43:38 -0000 On Wed, 29 Dec 2004, Pawel Jakub Dawidek wrote: > On Tue, Dec 28, 2004 at 08:30:10PM -0800, Doug White wrote: > +> > 2. missing necessary libs in /lib (hardcoded path?) > +> > fix: ln -s /mnt2/lib / > +> > +> or preferably 'ldconfig -m /mnt2/lib'. Again there is a compatibility > +> issue that would make this unsafe to do automatically. > > This won't help, because geom(8) use dlopen(3) to load class-specific > library and the path is hardcoded. Well that's silly. Can we get a config option to change that? Or an environment variable? :) -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org