> Gregory Kurz proposed a solution:
>    * when shutdown is called and we are not in the init pidns, then we kill 
> the process 1 of the pidnamespace.
>    * when reboot is called and we are not in the init pidns, then we reexec 
> the init process, using the same command line. I guess this one could be 
> easily retrieved if we are able to display /proc/1/cmdline ;)
>
> IMHO, this is a good proposition because it is generic and intuitive, no ?
>
> What do you thing ?

Yes, I think it makes sense. Do we have any prototype patches that
implement this behavior ?
_______________________________________________
Containers mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/containers

_______________________________________________
Devel mailing list
[email protected]
https://openvz.org/mailman/listinfo/devel

Reply via email to