[PC-BSD Testing] Cannot import jail with Warden
Kris Moore
kris at pcbsd.org
Thu Aug 19 06:26:20 PDT 2010
On 08/18/2010 22:37, Jeff wrote:
> After updating The Warden, I can no longer import a jail.
>
> Got this error:
>
> /Programs/Warden/warden/scripts/backend/importjail.sh: ${IFILE:0...}:
> Bad substitution
>
>
> I'm totally hosed without this jail. If it can't quickly be fixed, can
> I get a copy of the old Warden which did work?
>
>
>
> _______________________________________________
> Testing mailing list
> Testing at lists.pcbsd.org
> http://lists.pcbsd.org/mailman/listinfo/testing
>
In that file on Line 49 or so, change it to this:
chk=`echo "${IFILE}" | cut -c 1-1`
if [ "$chk" != "/" ]
then
IFILE="`pwd`/${IFILE}"
fi
That should correct the problem, and I'll get it fixed in the next cut.
http://trac.pcbsd.org/changeset/7401
--
Kris Moore
PC-BSD Software
iXsystems
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pcbsd.org/pipermail/testing/attachments/20100819/15eb5039/attachment.html>
More information about the Testing
mailing list