Re: bsdinstall to jail aborted (9.0-RELEASE-p3, amd64)
Hi Darren, On Sun, 29 Jul 2012 04:57:43 +0400 Darren Baginski kick...@yandex.com wrote: No, feel free to open if you feel it needed. I would say it's more a feature request, but without it, bsdinstall not usable on non release environments. thanks, I submitted the PR here: http://www.freebsd.org/cgi/query-pr.cgi?pr=170264 Kind regards, Matthias -- Matthias Petermann matth...@d2ux.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
bsdinstall to jail aborted (9.0-RELEASE-p3, amd64)
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. Kind regards, Matthias -- Matthias Petermann matth...@d2ux.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: bsdinstall to jail aborted (9.0-RELEASE-p3, amd64)
28.07.2012, 13:46, Matthias Petermann matth...@d2ux.net: 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. Kind regards, Matthias ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: bsdinstall to jail aborted (9.0-RELEASE-p3, amd64)
28.07.2012, 17:13, Darren Baginski kick...@yandex.com: 28.07.2012, 13:46, Matthias Petermann matth...@d2ux.net: 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.0 + +++ mirrorselect2012-07-28 12:58:49.0 + @@ -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. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: bsdinstall to jail aborted (9.0-RELEASE-p3, amd64)
Hi Darren, thanks for diving into the issue. I looked through the mentioned places in the bsdinstall code and understand it now. On Sat, 28 Jul 2012 17:24:48 +0400 Darren Baginski kick...@yandex.com wrote: I thing release/arch selection has to be a part of the installer, either directly or via environment variables. Yes, I think so too. I guess there usually no FTP directories created for patch level releases like 9.0-RELEASE-p3? Your proposal to introduce a new environment variable like TARGET makes sense. This could work like an override - when it is not set it can fall back to the default (using uname -r which makes sense for the installation media). Should I file a PR or did you already? Thanks, Matthias -- Matthias Petermann matth...@d2ux.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org