Re: Isolated shutdown?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 :(


_______________________________________________
Containers mailing list
Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/containers

[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux