[PATCH] [RFC] c/r: Add UTS support

Cedric Le Goater legoater at free.fr
Wed Mar 18 08:46:39 PDT 2009

Dan Smith wrote:
> SH> (Note that in Dan's next version, he did move unshare into
> SH> userspace)
> The idealist in me still wants it to be in the kernel.  However, after
> seeing it done I agree that it's the right thing to do, at least in
> this case.

I would say in all cases.

as you can't unshare(CLONE_NEWPID), you might consider doing a 


to restart 1 and then restart the container process tree under it, block
them, restore the container namespaces and other shared resources in the
right order and then release the processes to let them restart themselves. 
that's how we've implemented restart. You might be doing that already, 
sorry I haven't had time to look at your code. 

1 being an invariant between checkpoint and restart.


More information about the Containers mailing list