[PC-BSD Testing] Cannot import jail with Warden

Jeff dejamuse at yahoo.com
Sun Aug 22 21:33:48 PDT 2010


I found a copy of version 1.0 on some mirror after failing to find one on pcbsd.org anywhere and was able to import that jail that way, but now cannot export the jail - process quits with no error message.

--- On Sat, 8/21/10, Jeff <dejamuse at yahoo.com> wrote:

From: Jeff <dejamuse at yahoo.com>
Subject: Re: [PC-BSD Testing] Cannot import jail with Warden
To: "PC-BSD Testing list" <testing at lists.pcbsd.org>
Date: Saturday, August 21, 2010, 12:27 AM

Now getting this error:



#yiv1352400425 p, #yiv1352400425 li {white-space:pre-wrap;}

/Programs/Warden/warden/scripts/backend/importjail.sh: cannot open *.header: No such file or directory

--- On Thu, 8/19/10, Kris Moore <kris at pcbsd.org> wrote:

From: Kris Moore <kris at pcbsd.org>
Subject: Re: [PC-BSD Testing] Cannot import jail with Warden
To: testing at lists.pcbsd.org
Date: Thursday, August 19, 2010, 9:26 AM





  
On 08/18/2010 22:37, Jeff wrote:

  
    
      
        After updating The Warden, I can no longer import a jail.

        

Got this error:
        

        
        
#yiv1352400425 #yiv1352400425yiv1774920210 p, #yiv1352400425 #yiv1352400425yiv1774920210 li {white-space:pre-wrap;}

        /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
 

-----Inline Attachment Follows-----

_______________________________________________
Testing mailing list
Testing at lists.pcbsd.org
http://lists.pcbsd.org/mailman/listinfo/testing









      
-----Inline Attachment Follows-----

_______________________________________________
Testing mailing list
Testing at lists.pcbsd.org
http://lists.pcbsd.org/mailman/listinfo/testing



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


More information about the Testing mailing list