[PC-BSD Testing] 9.1-RC2 - Warden - Jails Outside Default Directory

Kris Moore kris at pcbsd.org
Fri Oct 19 00:55:32 PDT 2012


On 10/19/2012 00:46, Mikey wrote:
> Hello,
>
> TrueOS install using PC-BSD 9.1-RC2 with the following three conditions:
>
> -- select a directory for JDIR other than the default of /usr/jails
> -- /usr/jails not yet created (true for default install)
> -- chroot not yet downloaded
>
> In /usr/local/share/warden/scripts/backend/functions.sh, WORLDCHROOT is hard coded to be "/usr/jails/.warden-chroot.txz". The downloadchroot function tries to move the tarball to WORLDCHROOT after downloading, which does not exist. This causes any traditional jail created using Warden to fail to install world, since createjail.sh looks for the tarball in the WORLDCHROOT directory.
>
> Looks like in functions.sh one could set:
> WORLDCHROOT="${JDIR}/.warden-chroot.txz"
>
> Thanks for the good work,
> Mike
> _______________________________________________
> Testing mailing list
> Testing at lists.pcbsd.org
> http://lists.pcbsd.org/mailman/listinfo/testing

Good catch, I've added this fix now, and it will be in RC3.

-- 
Kris Moore
PC-BSD Software
iXsystems



More information about the Testing mailing list