lkml.org 
[lkml]   [2006]   [Jun]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: emergency or init=/bin/sh mode and terminal signals
Willy Tarreau, le Mon 19 Jun 2006 05:59:10 +0200, a écrit :
> On Mon, Jun 19, 2006 at 12:48:28AM +0200, Samuel Thibault wrote:
> > Willy Tarreau, le Mon 19 Jun 2006 00:44:24 +0200, a écrit :
> > > On Mon, Jun 19, 2006 at 12:40:51AM +0200, Samuel Thibault wrote:
> > > > Wakko Warner, le Sun 18 Jun 2006 18:39:06 -0400, a écrit :
> > > > > why not only set this if the shell is /bin/sh ?
> > > >
> > > > Because you can't know that. /bin/sh is one example of shell, /bin/ash
> > > > is another /usr/bin/myprog is yet another...
> > >
> > > another possibility would be to do it only if 'init=' has been specified,
> > > since most of the time the kernel finds it itself.
> >
> > Init needs to be patched for the emergency case then.
>
> why ?

For the "emergency" case: for now, init doesn't create a session either
in such case.

Samuel
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-06-19 10:02    [W:0.049 / U:0.276 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site