[PC-BSD Testing] warden via ports fails jail create due to uname?

Kris Moore kris at pcbsd.org
Thu Feb 20 09:32:57 PST 2014


On 02/14/2014 19:59, Curt Dox wrote:
> Hello.
>
> I previously successfully (afaik) installed warden both cli and gui
> versions via pcbsd utils ports.  I am guessing that due to the result
> of uname, it is unable to obtain the appropriate base.txz file.
>  Assuming I were to obtain it manually, where would I put it and how
> could I let warden know it is present on my system?  Is there any
> other way already built-in to warden?
>
> Output of failed attempt:
>
>     root at professorx:/usr/home/tigersharke # warden create
>     ERROR: No jail specified!
>     root at professorx:/usr/home/tigersharke # warden create wikijail
>     /usr/bin/uname
>     10.0-STABLE
>     DEF: 10.0-STABLE-amd64
>     Fetching jail environment. This may take a while...
>     fetch: http://iso.cdn.pcbsd.org/10.0-STABLE/amd64/dist/base.txz:
>     Not Found
>     ERROR: Failed downloading: //amd64/dist/base.txz
>     Fetching jail environment. This may take a while...
>     fetch:
>     ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/amd64/10.0-STABLE/base.txz:
>     File unavailable (e.g., file not found, no access)
>     Trying ftp-archive...
>     fetch:
>     http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/amd64/amd64/10.0-STABLE/base.txz:
>     Not Found
>     Looking for old versions of FreeBSD
>     fetch:
>     ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/10.0-STABLE//.inf: File
>     unavailable (e.g., file not found, no access)
>     Looking for older versions of FreeBSD
>     fetch:
>     http://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/amd64/10.0-STABLE//.inf:
>     Not Found
>     ERROR: Failed downloading: FreeBSD 10.0-STABLE - .inf
>     ERROR: Failed create default template
>
>
> Here is machine info:
>
>     root at professorx:/usr/home/tigersharke # uname -a
>
>     FreeBSD professorx 10.0-STABLE FreeBSD 10.0-STABLE #0 r261826: Thu
>     Feb 13 02:40:42 CST 2014    
>     root at professorx:/usr/obj/usr/src/10/sys/PROFX  amd64
>
>      
>
>     root at professorx:/usr/home/tigersharke # dmesg | head
>
>     Copyright (c) 1992-2014 The FreeBSD Project.
>
>     Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992,
>     1993, 1994
>
>             The Regents of the University of California. All rights
>     reserved.
>
>     FreeBSD is a registered trademark of The FreeBSD Foundation.
>
>     FreeBSD 10.0-STABLE #0 r261826: Thu Feb 13 02:40:42 CST 2014
>
>         root at professorx:/usr/obj/usr/src/10/sys/PROFX amd64
>
>     FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610
>
>     CPU: AMD Phenom(tm) II X4 975 Processor (3901.17-MHz K8-class CPU)
>
>       Origin = "AuthenticAMD"  Id = 0x100f43  Family = 0x10  Model =
>     0x4  Stepping = 3
>
>      
>     Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
>
>      
>
>
> The jail is intended to be used for my exploration of mediawiki and
> associated tools. :) 
>
>
> _______________________________________________
> Testing mailing list
> Testing at lists.pcbsd.org
> http://lists.pcbsd.org/mailman/listinfo/testing

Yes, this is due to the 10-STABLE dist files not being on mirrors. Do
this instead:

# warden template create -trueos 10.0-RELEASE -arch amd64 -nick 10amd64
# warden create myjail --template 10amd64

That will force it to use the 10.0-RELEASE distfiles for the jail.

-- 
Kris Moore
PC-BSD Software
iXsystems

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pcbsd.org/pipermail/testing/attachments/20140220/1bd4bf61/attachment.html>


More information about the Testing mailing list