From owner-freebsd-questions@FreeBSD.ORG Sat Jul 28 13:24:51 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8873C106566C for ; Sat, 28 Jul 2012 13:24:51 +0000 (UTC) (envelope-from kickbsd@yandex.com) Received: from forward19.mail.yandex.net (forward19.mail.yandex.net [IPv6:2a02:6b8:0:1402::4]) by mx1.freebsd.org (Postfix) with ESMTP id 92A158FC0A for ; Sat, 28 Jul 2012 13:24:50 +0000 (UTC) Received: from web19g.yandex.ru (web19g.yandex.ru [95.108.252.119]) by forward19.mail.yandex.net (Yandex) with ESMTP id A35641120E0B; Sat, 28 Jul 2012 17:24:49 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1343481889; bh=0WrJUAD3rrqFuv1oDp2rrJIxIqTosQIwQXOQWPueUXc=; h=From:To:Cc:In-Reply-To:References:Subject:MIME-Version:Message-Id: Date:Content-Transfer-Encoding:Content-Type; b=w/oJrcAlTktS+giejBbRSccDeBiPOq7ZYNMMR/1NjW8Mmfb+c4+EQUKaCke3td6t8 RP2qNnEOt1oS7uFgyZxh7Edjogu7RE3FtncmVsIanDcwMLhO4S+msNwmf8gyW7sGwA 7evFkktO6e+MDoj84qQKzRsDv+tlrQr8+2PbgeIw= Received: from 127.0.0.1 (localhost.localdomain [127.0.0.1]) by web19g.yandex.ru (Yandex) with ESMTP id 4B23F2888001; Sat, 28 Jul 2012 17:24:49 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1343481889; bh=0WrJUAD3rrqFuv1oDp2rrJIxIqTosQIwQXOQWPueUXc=; h=From:To:Cc:In-Reply-To:References:Subject:MIME-Version:Message-Id: Date:Content-Transfer-Encoding:Content-Type; b=w/oJrcAlTktS+giejBbRSccDeBiPOq7ZYNMMR/1NjW8Mmfb+c4+EQUKaCke3td6t8 RP2qNnEOt1oS7uFgyZxh7Edjogu7RE3FtncmVsIanDcwMLhO4S+msNwmf8gyW7sGwA 7evFkktO6e+MDoj84qQKzRsDv+tlrQr8+2PbgeIw= Received: from dsl-67-212-16-252.acanac.net (dsl-67-212-16-252.acanac.net [67.212.16.252]) by web19g.yandex.ru with HTTP; Sat, 28 Jul 2012 17:24:48 +0400 From: Darren Baginski To: Matthias Petermann In-Reply-To: <173631343481231@web3g.yandex.ru> References: <20120728114643.ff0b536f.matthias@d2ux.net> <173631343481231@web3g.yandex.ru> MIME-Version: 1.0 Message-Id: <170531343481888@web19g.yandex.ru> Date: Sat, 28 Jul 2012 17:24:48 +0400 X-Mailer: Yamail [ http://yandex.ru ] 5.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=koi8-r Cc: "freebsd-questions@freebsd.org" Subject: Re: bsdinstall to jail aborted (9.0-RELEASE-p3, amd64) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jul 2012 13:24:51 -0000 28.07.2012, 17:13, "Darren Baginski" : > 28.07.2012, 13:46, "Matthias Petermann" : > >> šHello, >> >> šcurrently I experienced an unexpected behavior of the FreeBSD bsdinstall installer. Some weeks ago I could use it sucessfully to create a jail environment with >> >> š# bsdinstall jail /jails/myjail >> >> šToday I tried to repeat this on another system(2) and it fails after the selection of the to-be-used mirror. Also re-trying it on the original system(1) leads to an error but a different one. Since then I upgraded from 9.0-RELEASE to 9.0-RELEASE-p3 using freebsd-update. >> >> šHere are the symptoms: >> >> š(2) FreeBSD 9.0-RELEASE-p3 amd64: After typing "bsdinstall..." it brings me directly to the mirror selection list, but after selecting a mirror it aborts with an error message "An installation step has beeen aborted. Would you like to restart the installer or exit the installer?" >> >> š(1) FreeBSD 9.0-RELEASE-p3 i386: After typing "bsdinstall..." it brings me to the distribution select dialog. After selection of the distribution set, it shows the mirror selection dialog. After selecting a mirror it aborts with a fetch error "Error while fetching /base.txz: Invalid URL scheme" >> >> šI tried different mirrors, too. And they all seem to be basically online - pointing an FTP client to them showed no errors. >> >> šSo what am I doing wrong? Does bsdinstall maintain some hidden configuration file which may influence its behavior? The environment variables mentioned in bsdinstall(8) are not set on both systems. Or is there a known issue with 9.0-RELEASE-p3 which appears different on amd64 and i386 systems? >> >> šIt would be great if anyone could validate this. > > I did a quick test on 9.1-PRERELEASE, šant bsdinstall trying to fetch 9.1-PRERELEASE files, which it surely can't find. > There must be an option like 'TARGET' to specify exact version to fetch like it's the case for Debian debootsrap. > What I did next is: #diff -u mirrorselect.orig mirrorselect --- mirrorselect.orig 2012-07-28 12:55:33.000000000 +0000 +++ mirrorselect 2012-07-28 12:58:49.000000000 +0000 @@ -192,7 +192,7 @@ MIRROR_BUTTON=$? exec 3>&- -BSDINSTALL_DISTSITE="$MIRROR/pub/FreeBSD/releases/`uname -m`/`uname -p`/`uname -r`" +BSDINSTALL_DISTSITE="$MIRROR/pub/FreeBSD/releases/`uname -m`/`uname -p`/$TARGET" case $MIRROR_BUTTON in $DIALOG_CANCEL) and then: #export TARGET=9.0-RELEASE and again #bsdinstall jail /tmp/tstenv Got a working environment after that. I thing release/arch selection has to be a part of the installer, either directly or via environment variables.