Tinderbox inside a jail

Joe Marcus Clarke marcus at marcuscom.com
Sun Jul 19 22:39:20 EDT 2009


On Mon, 2009-07-20 at 11:13 +1000, Terry Sposato wrote:
> Joe Marcus Clarke wrote:
> > On Mon, 2009-07-20 at 10:23 +1000, Terry Sposato wrote:
> >   
> >> Hi,
> >>
> >> I am very new to the Tinderbox game and am wondering if it is possible
> >> to have Tinderbox run within a Jail.
> >> My host machine is running FreeBSD 7.2-RELEASE i386. I have tried to
> >> get it working with very weird results and was told that it may or may
> >> not be possible.
> >>
> >> Can anyone give me a definitive answer if it is possible or not?
> >>     
> >
> > Yes, provided you don't try and build anything for FreeBSD > 7.2.  You
> > will also need to adjust some of your sysctls, and probably add
> > NO_FSCHG= to your TB Jail's src.conf.
> >
> > Joe
> >
> >   
> Joe,
> 
> Thanks for the prompt response.
> I am testing builds for 6-STABLE and 7-STABLE, would this matter?

7-STABLE may become a problem unless the underlying kernel is running
the same version of 7-STABLE.

> I couldn't find any documentation on how to get tinderbox working
> correctly from inside a jail, is there any?

Not that I know of.

> 
> If not do you know what sysctls specifically I would need to change to
> get them working?

You would need to enable sysvipc at the very least.

> 
> The problem I am currently having is this:
> tinderbox# ./tc tinderbuild -b 6-STABLE irc/znc-extra
> tinderbuild: creating makefile...
> tinderbuild: Creating build directory for 6-STABLE
> makeBuild: tarball for jail "6" doesn't exist.
>            run "tc makeJail -j 6" first.
> 
> I get this all the time which is probably the issue with the sysctls
> which you are saying above, even if I update the jail successfully.
> I will start off a tc makeJail -j 6 now after updating my TB Jail's
> src.conf and see how I go.

This has nothing to do with sysctls.  It just looks like you didn't
build your "6" Jail yet.

Joe

> 
> Sorry about the duplicate email, I left out the list on the first one.
> 
> Regards,
> 
> Terry
> 
> 
> 
> 
> 
-- 
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <http://marcuscom.com/pipermail/tinderbox-list/attachments/20090719/f08b97bb/attachment.bin>


More information about the tinderbox-list mailing list