new jail framework with vnet, zfs and jail.conf support

Łukasz Wąsikowski lukasz at wasikowski.net
Tue May 13 06:50:41 UTC 2014


W dniu 2014-05-13 08:13, wishmaster pisze:

>  --- Original message ---
>  From: freebsd_jail at dachev.info
>  Date: 13 May 2014, 08:18:21

>> I'm currently in process of development of new tool for easy jail 
>> administration with zfs and vimage/vnet(bridge epair interface) support
>> The idea is to have a single application (python script) without any 
>> other confg files and customization
>> This tool is written on Python, also work only with vnet, zfs and 
>> FreeBSD 10 (probably will work on FreeBSD 9.1 but i never test it)
>> JADM work only with native /etc/jail.conf
>> When is started for first time jadm generate new /etc/jail.conf in 
>> special format developed by me.
>> jail.conf file can be used and without JADM.
>>
>> for more information please contact me or visit: 
>> https://github.com/NikolayDachev/jadm
>>
>> JADM is in development status more of functions work normal (with bugs 
>> but work :)).
>>
>> Unfortunately i don't have a lot of time for it so i need test users.
>> At the moment last function for JADM is to support skeleton jail model 
>> (similar to ezjail with base jail and etc.)
>> This function is still in progress meanwhile, if someone have a time to 
>> test all other functions and to report any issue, bug or ideas

>   This is good idea. But..
>   Skeleton mode is fine, but model implemented in ezjail is awful. You must install software in each jail. Therefore if I have 2 or more jails, I must install/upgrade/test software in each jail! Oh my God.
>  IMHO, true 'lite' jail model is: have one basejail with installed soft and the rest jails - with own /var, /tmp and so on.
>  I use this model.

It all depends on what you really need. There are a bunch of us who need
"thin" jails - just like you describe it. And there are people who need
customized jails (which ezjail or jadm can provide). With pkg(8)
upgrading bunch of jails is an easy task, just go with:

jls jid | xargs -oI% pkg -j % upgrade

-- 
best regards,
Lukasz Wasikowski


More information about the freebsd-jail mailing list