On 2012-05-25 16:40, Christian Seiler wrote:
> I'd really prefer shutting down a container just worked out of the box
> without any strange modifications to /etc/inittab for sysvinit. I
> really think shutting down containers properly is a functionality that
> LXC should support out of the box.
De
Quoting Stéphane Graber (stgra...@ubuntu.com):
> On 05/25/2012 11:24 AM, Christian Seiler wrote:
> > Hi,
> >
> >> Have you looked at the lxc-shutdown script we have in Ubuntu and the
> >> integration we have with upstart?
> >
> > No, not yet, but I'll look at it later.
> >
> >> lxc-shutdown send
On 25/05/12 11:28, Ward, David - 0663 - MITLL wrote:
On 25/05/12 10:40, Christian Seiler wrote:
Hi,
my lxc management script uses lxc-stop just for an emergency action
called "fored-stop" and it will be also applied, if a normal "stop"
(alias "halt") action will timeout after 5min. For this no
On 05/25/2012 11:24 AM, Christian Seiler wrote:
> Hi,
>
>> Have you looked at the lxc-shutdown script we have in Ubuntu and the
>> integration we have with upstart?
>
> No, not yet, but I'll look at it later.
>
>> lxc-shutdown sends two different signals:
>> reboot => SIGINT
>> shutdown => SIG
On 25/05/12 10:40, Christian Seiler wrote:
Hi,
my lxc management script uses lxc-stop just for an emergency action
called "fored-stop" and it will be also applied, if a normal "stop"
(alias "halt") action will timeout after 5min. For this normal
shutdown (or reboot) of a container, I'm sending
Hi,
> Have you looked at the lxc-shutdown script we have in Ubuntu and the
> integration we have with upstart?
No, not yet, but I'll look at it later.
> lxc-shutdown sends two different signals:
> reboot => SIGINT
> shutdown => SIGPWR
>
> These are caught by upstart and will trigger a clean re
On 05/25/2012 07:56 AM, Christian Seiler wrote:
> Hi,
>
> Currently, lxc-stop sends SIGKILL to the init process of the container,
> which causes all the other processes in the container to also receive
> a SIGKILL. I don't think that is a good course of action, since sending
> SIGKILL to for examp
Hi,
> my lxc management script uses lxc-stop just for an emergency action
> called "fored-stop" and it will be also applied, if a normal "stop"
> (alias "halt") action will timeout after 5min. For this normal
> shutdown (or reboot) of a container, I'm sending just a SIGPWR (or
> SIGINT) to the con