lkml.org 
[lkml]   [2012]   [Apr]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] pidns: reboot_pid_ns: use SEND_SIG_FORCED instead of force_sig()
    Hi Serge,

    On 04/13, Serge Hallyn wrote:
    >
    > Quoting Oleg Nesterov (oleg@redhat.com):
    > > cf3f8921 "pidns: add reboot_pid_ns() to handle the reboot syscall"
    > > uses force_sig() to kill the SIGNAL_UNKILLABLE cinit, this was the
    > > only choice.
    > >
    > > After 629d362b we can use SEND_SIG_FORCED instead, force_sig() has
    > > the special semantics and should be avoided if possible.
    > >
    > > Signed-off-by: Oleg Nesterov <oleg@redhat.com>
    >
    > Hi Oleg,
    >
    > I like the patch in theory, however after applying it containers are
    > no longer able to shutdown/reboot. I can externally kill them with
    > lxc-stop, but internal shutdown fails.

    Oh, thanks a lot for testing.

    Strange... I even tested this change, but only in the root namespace.
    OK, thanks, I'll investigate. I hope you verified your kernel has
    629d362b commit ;)

    Oleg.



    \
     
     \ /
      Last update: 2012-04-13 21:27    [W:0.022 / U:60.860 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site