daniel.lezcano at free.fr
Tue Aug 25 02:58:00 PDT 2009
Scott Helvick wrote:
> Hello all,
> I've set up a system container with a mostly-complete filesystem, built from
> scratch. However, I'm having several minor issues, which leads me to
> believe I'm misunderstanding something about how lxc works. For one thing,
> I find myself unable to kill processes within the container itself (process
> handling is a whole other issue)... yet when I run 'shutdown', it not only
> shuts down the container, but also the host! Somehow I don't think this was
> a design decision. :-)
> Any tips would be appreciated.
It is not yet supported.
You can drop PR_CAPBSET_DROP capability for your system container, that
will avoid to poweroff your host.
I proposed to send a signal to the parent of the process 1, telling if
the container was doing poweroff or reboot but I didn't have any response :(
More information about the Containers