public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Joe Schulz <joe@spamfilter.de>
To: Denis Vlasenko <vda@port.imtp.ilyichevsk.odessa.ua>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Problem spawning init from script
Date: Sat, 01 May 2004 17:24:04 +0200	[thread overview]
Message-ID: <1083425043.13689.24.camel@rtfm> (raw)
In-Reply-To: <200405010014.07259.vda@port.imtp.ilyichevsk.odessa.ua>

On Fr, 2004-04-30 at 23:14, Denis Vlasenko wrote:

> > Kernel panic: Attempted to kill init!
> 
> This typically means that process #1 exited. Kernel does not like that.
> I always use 'exec /path/something' as the last command in my sh scripts
> which I start instead of 'standard' /sbin/init.
> 
> Post your script.

I have found the reason. Due to a linking problem, the exec'ed process
always quietly died. Of course only in the boot process, not during
dry-run testing. So I had falsely assumed that exec'ing from #1 might
always lead to a panic if you don't use the initrd procedure.

Thanks four your kind advice.

br, Joe

      reply	other threads:[~2004-05-01 15:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-30  7:21 Problem spawning init from script Joe Schulz
2004-04-30 21:14 ` Denis Vlasenko
2004-05-01 15:24   ` Joe Schulz [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1083425043.13689.24.camel@rtfm \
    --to=joe@spamfilter.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=vda@port.imtp.ilyichevsk.odessa.ua \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox