[Trac-bugs] [PC-BSD Trac] #1236: Warden creates default template based on `uname -r` ignoring --version flag

PC-BSD trac at pcbsd.org
Thu Jul 10 05:55:52 PDT 2014


#1236: Warden creates default template based on `uname -r` ignoring --version flag
----------------------------------------+--------------------------
 Reporter:  clinta                      |      Owner:
     Type:  Package Issue - Production  |     Status:  new
 Priority:  major                       |  Milestone:
Component:  System Tool                 |    Version:  10.1-RELEASE
 Keywords:  warden                      |
----------------------------------------+--------------------------
 Experienced on FreeBSD 11.0-CURRENT with the sysutils/pcbsd-utils port
 installed.

 When trying to create a jail with `warden create testjail --version
 10.0-RELEASE` it attempts to create a default template based on
 11.0-CURRENT. Looking at the source it appears that a default template is
 always created based on `uname -r` even when the --version flag is
 specified.


 {{{
 # warden create testjail02 --version 10.0-RELEASE
 DEF: 11.0-CURRENT-amd64
 Fetching jail environment. This may take a while...
 fetch: http://iso.cdn.pcbsd.org/11.0-CURRENT/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/11.0-CURRENT/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/11.0-CURRENT/base.txz: Not Found
 Looking for old versions of FreeBSD
 fetch:
 ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/11.0-CURRENT//.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/11.0-CURRENT//.inf: Not Found
 ERROR: Failed downloading: FreeBSD 11.0-CURRENT - .inf
 ERROR: Failed create default template
 }}}

--
Ticket URL: <http://trac.pcbsd.org/ticket/1236>
PC-BSD <http://trac.pcbsd.org>
PC-BSD Project Management


More information about the Trac-bugs mailing list