Re: [RFC] Skeleton jail (rc.d feature proposal)

From: Alexander Leidinger <Alexander_at_Leidinger.net>
Date: Wed, 11 Feb 2009 12:02:26 +0100
Quoting Xin LI <delphij_at_delphij.net> (from Tue, 10 Feb 2009 19:52:50 -0800):

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Lawrence Stewart wrote:
>> Xin LI wrote:
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>>>
>>> Hi,
>>>
>>> Ok, some local users has prodded me in committing the "skeleton jail"
>>
>> [snip]
>>
>> Can you describe how this differs from the functionality provided by the
>> ezjail port? (/usr/ports/sysutils/ezjail/)
>
> I think they have different targets.  Skeleton jail is more lightweight
> which is only very few lines of changes to the base system (i.e. the aim
> is to provide convenient shortcut for common tasks, not to be a complete
> solution); the functionality provided by skeleton jail, on the other
> hand, could be useful building blocks to ezjail.

Ezjail already has this skeleon feature. It's used for every jail you  
create with ezjail. You can then upadate this skeleton, and you update  
the basesystem of all jails at once. Your solution looks a little bit  
more generic, as you can use a different skeleton for each jail. The  
make installskel part could be compatible with ezjail, but I'm not  
sure if the rc.d part could be used easily by ezjail. Ezjail is  
nullfs-mounting (RO) the skeleton into each jail, and it has symlinks  
from the normal directory layout to the "<jail>/basejail/..."  
location. It creates the basejail by doing a full install and then  
removing some parts.

Maybe you can have a look at ezjail to see the requirements of it?  
It's simple to setup, you just need to specify the path to the  
location where you want all jails to be installed to, and then you can  
install a jail (it does a buildworld if ou do not tell to skip this  
part, e.g. becuse you already did one yourself).

Bye,
Alexander.

-- 
God said it, I believe it and that's all there is to it.

http://www.Leidinger.net    Alexander _at_ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org       netchild _at_ FreeBSD.org  : PGP ID = 72077137
Received on Wed Feb 11 2009 - 10:02:41 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:42 UTC