Adventures in tinderbox

Submitted by Shane on Sat, 23/06/2012 - 11:38pm

For those that don't know anything about FreeBSD it is an operating system
that traces it's heritage back to the original unix development at AT&T
starting in 1970. FreeBSD uses what is called ports to build a whole range of
software that you can use. If you know linux and say well we just use yum to
install binary programs, that's fine, ports is the structure holding up the
FreeBSD equivalent, which is called packages. So you get two options,
1. use a port to compile the software yourself or
2. have a pre-built binary package installed. The port needs to be setup and
working before you can get a binary package to install.

Being in the process of helping fix issues related to getting programs
to compile within the FreeBSD ports system I have gone and setup tinderbox
on my machine. Basically tinderbox allows you to setup virtual systems to
test the build process of the port you are working on. This means you can
test that the port builds on any number of FreeBSD versions, which is a good
starting point to allowing others to use it. Yeah, I said a good starting
point, someone will find that it won't work on their machine while program
x is installed. But hey that's one of the joys of programming. ;-)

Anyway to the point of this post - setting up tinderbox. While there is
some decent documentation it doesn't fully cover all features, maybe these
are the newer features. Anyway this is the first of a series of posts that
cover my exploration into setting up tinderbox my way.

Tinderbox uses some terms a little different than you may expect so lets
start with the first building block - a tinderbox jail. Within tinderbox a
jail is a copy of a FreeBSD install of a particular version, that is what
you get when you run make buildworld installworld from /usr/src. The idea is
you have a few of these jails setup, I will use 10-CURRENT and 9-STABLE as
examples here. One area here that isn't covered in the docs is using subversion
to get your source files, so that is what I will use. The main FreeBSD
development changed to using svn several years ago now but with them keeping
the cvs repo mirrored to the svn updates there doesn't appear to be much
info on using svn yet. This wiki page
seems to be the best info available.

So to get started install tinderbox - from ports of course.

cd /usr/ports/ports-mgmt/tinderbox
make install clean

Before install you can run make config to change a few options - personally
I swapped mysql with PostgreSQL and csup with cvsup, which I didn't end
up using. Installing will put all the scripts in /usr/local/tinderbox/scripts
and I will assume that is where your setup is. Beside the scripts dir you
will also find several other empty dirs at this point, I'll mention them as
we get to the relevant parts.

I won't go into the setup step here as what you need to know is in
the docs (tinderbox/scripts/README) basically create the database to be used
and save a few options into config files.

Then you stat by creating some jails, you obviously need to give it some info for that.

Jailname sounds obvious - the catch is it must start with the main system
version number so 10-CURRENT not FREEBSD-10, -u will be SVN and can be
left out if you setup SVN as your default, protocol will be svn (this may
also be http or svn+ssh but you'll need a login account for ssh access to
the official repo), update host will be svn.freebsd.org unless you get
fancy and run your own mirror, updatehostdirectory is the svn path to get
to what you want. So for a jail based on the current head development we get

So you may notice that the FreeBSD svn setup is a little different than
you might expect - they don't use tags or branches the way you expect.
Instead the path defines the release tag as such. So you can see that you
get 9-stable from base/stable/9 you can also get 9.0-release from
base/releng/9.0 or 5.2.1 from base/release/5.2.1 (yes 5.2.1 was the last
minor release update) If you want to know the difference between RELEASE
and RELENG then read this page.
I would say current along with 8 and 9 stable would be sufficient but some
may want to add other main releases to their testing list and may need them
to find a regression between updates.

At this stage you will find that within /usr/local/tinderbox/jails a
folder is created that contains the source and build files for each jail
you create. When it is finished there will be a nice tarball of the jails
world setup. If you mess around and want to start again then run ./tc rmJail -j my-messed-up-jail
(from within tinderbox/scripts) and then remove it's folder within jails.
rmJail removes the info from your database but leaves the jail files in place
for you - I think there should probably be an option to delete all the files
along with the jail definition, note for a suggestion or patch.

1097 comments

I do agree with all of the ideas you've introduced to
your post. They are really convincing and will certainly work.
Nonetheless, the posts are very quick for novices.
May you please prolong them a bit from subsequent time?

We are a group of volunteers and opening a
new scheme in our community. Your site offered us with valuable info to
work on. You have done an impressive job and our entire community will be
thankful to you.

An intriguing discussion is definitely worth comment.
There's no doubt that that you ought to publish more on this subject, it may not be a taboo matter
but usually folks don't speak about these issues. To the next!
Cheers!!

When I originally commented I clicked the "Notify me when new comments are added" checkbox
and now each time a comment is added I get three e-mails with the
same comment. Is there any way you can remove me from that service?
Many thanks!

I 'd enjoy to see a post that took care of the highlighted portion of
Ms. Rodger's piece, as it's there that she specifies soome of the
techniques that lawyers consistently take part in that
offer them a bad name.

Therefore, have patience and meet a chiropractor with right expectations.
However, looking for a chiropractor must be done with great care
and research as treatments usually involve manipulating the spine.
To ensure that patients have a certain specific problem, diagnostic tests
are given.

Here are Vapir Vaporizer Reviews which are like that; vapir vaporizer
is extremely efficient and helpful on each level.
It produces the precise helpful ingredients for your health with none harmful effects.
This vaporizer can also be used for several other purposes such as
that of an herb vaporizer for inhaling the healthy ingredients of herbs for curing certain diseases.

Hi there, I found your website by way of Google while looking for a comparable matter,
your web site came up, it appears to be like
great. I've bookmarked it in my google bookmarks.

Hi there, just was alert to your blog via Google, and found that it
is truly informative. I'm going to be careful
for brussels. I will be grateful in the event you continue this in future.
Lots of folks will likely be benefited out of
your writing. Cheers!

Hi! This post couldn't be written any better! Reading through this post reminds me of my good old
room mate! He always kept chatting about this. I will forward this
write-up to him. Pretty sure he will have a good read. Thanks
for sharing!

) Palmer, was 1 of his students and dedicated to promote chiropractic which he did taking more than the helm in 1906.

In addition, they will help to treat these imbalances by massaging the muscles that surround
the spine, and also using acupressure to help correct imbalances
in the central nervous system. Remember that there quite a lot of misconceptions floating around regarding
the subject and misconceptions, especially about health, can be quite critical.

An impressive share! I have just forwarded this onto a coworker who had been conducting a little research
on this. And he actually ordered me lunch due to
the fact that I stumbled upon it for him... lol. So allow me
to reword this.... Thanks for the meal!! But
yeah, thanks for spending some time to talk about
this issue here on your web site.

Hi! Quick question that's entirely off topic.
Do you know how to make your site mobile friendly?
My web site looks weird when browsing from my iphone.
I'm trying to find a theme or plugin that might be able to fix this problem.
If you have any recommendations, please share. Many thanks!

I appreciate you spending some time and effort to put this short
article together. I once again find myself personally spending way too much time both reading and posting comments.
But so what, it was still worth it!

Pretty nice post. I just stumbled upon your blog and wished to
say that I have really enjoyed surfing around your blog
posts. After all I'll be subscribing to your rss feed and I hope you write again very soon!

My job in the martial arts started out in 1964 with irony.
I analyzed a martial art commonly classified as "delicate"
judo, but located that in application there was a good deal of "hard".
Judo furnished the toughest exercise of any sport I
had at any time practiced together with soccer. I had extra sore muscular tissues,
far more muscle mass strains, and much more bruises in judo than in all my other
athletics merged. And, in contest software, the notion of harmonizing electricity or making use of the other person's
strength against him was all but invisible. It was battle,
simple and basic. Afterwards I additional the "difficult"
artwork of karate and the "delicate" art of aiki-ju-jutsu
to my repertoire. Unifying them produced me know that at moments karate can be delicate and aiki can be
tough. Teaching emphasis was a person issue, software a different.

One's private interpretation of and ability at the art also
experienced an influence on the resulting "hardness" or "softness".

The apparent dichotomy of difficult and gentle was
getting homogenized and unified inside me as a martial artist.

Other main themes (long vs. small range, straight vs. round motion, inside vs.
external strength, regular vs. modern-day tactics, etcetera.) seemed also to be in conflict and still existed within one particular martial artist, a single process of instruction,
1 college, a single design, or one artwork--this was a paradox.
But I did not take it as a true paradox since I considered that paradox is a assertion of our own restrictions in comprehending.

Anything simply cannot be black and white at the exact time, in the
very same sense, in the very same context. That they may feel
to be paradoxical but are essentially ironic. Obvious paradoxes then need to be equipped to be settled.

F. Scott Fitzgerald after explained that the greatest form of assumed
was to be capable to hold two conflicting strategies at the similar time.

I do not agree. Conflicting suggestions produce inadequate being familiar with, indecision, inaction, thus insufficient achievements.
But seemingly conflicting strategies which are solved in just the thinker--now that's one thing else.

Unquestionably mastery and "significant believed" are not realized simply
by using a couple of conflicting tips, figuring out how to solve them to one's individual gratification, and then advertising oneself to twelfth dan (common ranks go
up to only tenth dan which are very unusual and are usually
awarded to extremely expert, quite aged, and usually very clever practitioners of the martial arts).
As a substitute, mastery of any issue, specifically those like the martial
arts which are fraught with perfectionism, commitment,
genuine believers, fidelity, and multitudes of approaches and emphases --mastery of these arts indicates that
the ironies and clear paradoxes of that analyze ought to
be comprehended and resolved.

Karate and Aiki just about every present us with
a philosophical "paradox" when applying them in self-protection. Karate
claims "Do not battle until pushed to the limit. When there is no other choice, then combat total-out, to the demise if needed." Aiki says, "Harmonize with your opponent and consider to frustrate his aggression or, if vital, command it as a result of the use of his own overextended harmony and energy." If pushed to the limit Karate resists while Aiki accepts and redirects.
And nonetheless a specialized path in every single art would seem to
contradict the philosophical route just about every prefers.
Karate insists that the initial movement should really often be defensive.
Aiki indicates that just one can capture an opponent much more unaware and off-balanced
if a single "assaults the assault". Yet Karate is normally seen as an aggressive artwork Aiki is viewed
as a defensive art.

Of the perceived philosophical decisions in between Aiki
and Karate, I have a tendency to choose the additional peaceful Aiki route.
But I understand that (a) a single perception may possibly not precisely portray the art as a entire and (b) even if it did, at times a person is specified no preference but to stand up for himself
and resist! Aiki's peaceful "redirection philosophy" suggests pretty
tiny ethically if just one does not have the cannon of karate "combat to the end philosophy" in one's arsenal.
You do not pick out a tranquil harmony if that is your only option!

Hi! I just wanted to ask if you ever have any trouble with
hackers? My last blog (wordpress) was hacked and I ended up losing months of hard work due to no back up.
Do you have any methods to stop hackers?

The acquisition of Nex - Tel was considered one
of the worst acquisitions ever and now, with Verizon pushing 4G LTE, Sprint is left spinning
as to which direction they want to take. Offer web-based psychotherapies as first-line
interventions for depression and anxiety (and probably insomnia), as recommended by the
UK's National Institute for Health and Care Excellence.
The mind needs to perform typically and continually at all times.

Yesterday, while I was at work, my sister stole my iPad and tested to see
if it can survive a twenty five foot drop, just so
she can be a youtube sensation. My iPad is now broken and she has 83 views.
I know this is totally off topic but I had to share it with someone!

Undoubtedly, the internet is among the most preferred market
places where sellers and buyers meet. So, you are not required
to move from one dealer to another for ideal model. This is a rear-wheel drive car, and that means that unlike front-wheel
drive cars - which typically can't be used much beyond B class - the
MR2 can be upgraded all the way to the top of A - although
going into S class is probably a bit much.

If one of these men had been a leader, he'd have spoken out against this
bill. You should also keep in mind that in the cage
you will put food bowls, toys and other accessories.
Australian Birds were introduced in Europe only about 200 years ago.

Therefore, have patience and meet a chiropractor with
right expectations. In addition, they will help to treat these imbalances by massaging
the muscles that surround the spine, and
also using acupressure to help correct imbalances in the central nervous system.
Chiropractors are one of those types of medical professionals that people like to talk about.

PTs may need to be physically strong and able to withstand long hours in which they stand, crouch, and lift heavy medical equipment and even patients.
In addition, they will help to treat these imbalances by massaging the muscles that surround the spine, and also using acupressure to help correct imbalances in the central nervous system.
On his initial pay a visit to, the Chiropractor observed a slight spinal issue in Jonny
- in the location linked with asthma.

So let's ask why this is the Mercedes-Benz of vaporizers.
It is not necessary that only smoking can give you
a different feeling, a vaporizer can do that too. Vaporizers enable you to have healthier lungs compared to smoking, without the risk of cancer or any other respiratory disease.