[lkml]   [2010]   [Nov]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] tty: prevent SAK to kill init process
    On Mon, Nov 01, 2010 at 12:40:41PM -0700, Eric W. Biederman wrote:
    > Jiri Olsa <> writes:
    > > hi,
    > >
    > > hitting "Secure Attention Key" on console that's openned
    > > by init process, causing panic due to an attempt to kill
    > > the init process.
    > >
    > > Fixing this by skipping the init process in the loop.
    > This sounds like proper behavior. The goal of SAK is the guarantee that
    > no one else has the tty one, and this violates that goal. Which version
    > init opens a controlling tty? I expect it is time to deliver SIGCLUE
    > to it.
    I was using some older upstart version, which kept the console open

    I found this log entry in changelog :)

    * No longer holds /dev/console open, so the SAK SysRq key will not
    kill Upstart. (Bug: #486005)

    So probably no need for the patch

    sry for noise,

     \ /
      Last update: 2010-11-02 09:59    [W:0.020 / U:12.948 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site