Questions about tinderbox

Chris Rees crees at marcuscom.com
Wed Jun 15 16:16:39 EDT 2011


On 15 June 2011 21:10, Stephen Montgomery-Smith <stephen at missouri.edu> wrote:
> Chris Rees wrote:
>>
>> On 15 June 2011 20:43, Stephen Montgomery-Smith<stephen at missouri.edu>
>>  wrote:
>>>
>>> Chris Rees wrote:
>>>>
>>>> On 15 June 2011 18:07, Ion-Mihai Tetcu<itetcu at freebsd.org>    wrote:
>>
>>>>> Populate make.conf for the jail / build / PT ... with
>>>>> MAKE_JOBS_NUMBER=2 via one of the early hooks (ie. postJailExtract).
>>
>>>>
>>>> So ./tc updateHookCmd -h postJailExtract -c 'echo MAKE_JOBS_NUMBER=2
>>>> ${DESTDIR}/etc/make.conf' would be OK?
>>>
>>> I can see that this would limit the number of parallel build processes
>>> within each port.
>>>
>>> But does tinderbox build all the ports one at a time, or does it try to
>>> build several at once?  Looking at the output of top, I had the
>>> impression
>>> that it was trying to do several things at once.  This is what I would
>>> really like to control.  But maybe I am wrong.
>>>
>>> And if it doesn't do many builds at once, how does it work on a cluster?
>>>  Can you run many tinderbox builds at once, and they make sure that they
>>> stay out of each others' way (i.e. they don't both try to build the same
>>> dependency at once)?
>>>
>>> Thanks, Stephen
>>>
>>
>> Tinderbox locks a build when a tinderbuild is running -- you can check
>> for the existence of a lockfile in the builds/${build_name} directory.
>>
>> This is why we have a queue for tinderd to deal with.
>>
>> Have you installed the webui? Have you read the README (try the online
>> HTML version)? These are both extremely useful for setting up your
>> environment -- I hardly ever call tc in my general usage.
>>
>
> I have read the README, and it was extremely helpful.  Without it I would
> have been completely lost.  But I think I missed the stuff about the locks.
>  I haven't installed the webui yet.
>
> One more thing.  When I installed tinderbox from ports, it installed the
> wrong versions of the database.  I had to try setting up tinderbox, read the
> error messages, and figure out what they were trying to tell me. Then I
> figured out that I had to deinstall sql, then install the versions of sql
> that tinderbox needs, and then install the tinderbox port again.  This took
> me a couple of weeks to figure out, and greatly frustrated me to the point
> that I almost gave up.
>
> Could the README be adjusted to make this process clearer?
>
> Or even better, could the tinderbox port make sure that it installs the
> correct versions of sql?
>
> (I did all this a month or two ago, so if you have fixed all this in the
> interim, thank you.)
>
> One more thing - I know almost nothing about sql, nor php.  So if the
> instructions could have more of a "monkey see, monkey do" feel to them, that
> would be great.
>
> For example, in Chapter 3, step 5, you tell the user to give certain
> privileges to the "tinder" user, I have no idea how to do this.  (I ended up
> making everything log on as "root" which hopefully is not a security problem
> for me as I am on a LAN.)
>
> A lot of your README is "monkey see, monkey do," and I really appreciate the
> effort you put into it.  Most of it is very well written and very clear, and
> these are just a few nitpicks I have.  For example, the instructions on how
> to set up NFS are very well done.
>
>

The content of the README was written by Pav, marcus, and aDe
(apologies to anyone who's been missed), so direct thanks to them.

I'll have a look at your suggestions at the weekend, and address them.
Any patches you want to send against it in the meantime (please excuse
the indentation) are welcome.

Chris

http://www.marcuscom.com:8080/cgi-bin/cvsweb.cgi/tinderweb/dbsrc/



More information about the tinderbox-list mailing list