Thoughts on jail.config

James O'Gorman james at netinertia.co.uk
Mon Jun 28 22:58:07 UTC 2010


On 28 Jun 2010, at 16:38, Jamie Gritton wrote:

> On 06/28/10 08:41, Rodrigo Mosconi wrote:
> 
>> An idea: if it works like a "jaild"? A daemon management the start-up,
>> shutdown, console redirection?  All the admins task could be done by a
>> "jailctl"?
> 
> I don't know what work a daemon would have to do. I only see it running
> tasks on startup, and then waiting until something tells it on shutdown
> to wake up and stop the jails. That "something" would have to be that
> jailctl you mention. If there's a jail program running anyway, might as
> well keep all functionality in that one program.

Perhaps it's worth looking at Solaris Zones here, as that runs a daemon in both the global zone and each container. I can't recall exactly what it does off-hand as I don't have a Solaris box to hand but it's probably similar to what you're talking about. I'm pretty sure zoneadm talks to zoneadmd to start/stop/configure each zone in the kernel.

James


More information about the freebsd-jail mailing list