[lkml]   [2006]   [Jun]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: emergency or init=/bin/sh mode and terminal signals
On Tue, 20 Jun 2006 06:28:02 +0200, Willy Tarreau said:
> Then, I think that a solution which would fit everyone's needs would be
> to add a command line parameter (eg: "setsid=1") which will allow
> the two lines to be executed whatever the init or shell. This way,
> you want a session ? -> "init=/bin/sh setsid=1".

Get 2 for the price of one:


Or once you get a # prompt from /bin/sh, 'exec /bin/something_saner'.

Remember - if it's trivially done in userspace, it probably shouldn't
be cluttering the kernel.
[unhandled content-type:application/pgp-signature]
 \ /
  Last update: 2006-06-20 07:06    [W:0.034 / U:2.352 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site