mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Miquel van Smoorenburg" <miquels@cistron.nl>
To: linux-kernel@vger.kernel.org
Subject: Re: /dev/initctl
Date: Tue, 21 Jan 2003 00:27:39 +0000 (UTC)	[thread overview]
Message-ID: <b0i45r$poa$1@ncc1701.cistron.net> (raw)
In-Reply-To: <20030120223459.57535.qmail@web21512.mail.yahoo.com>

In article <20030120223459.57535.qmail@web21512.mail.yahoo.com>,
Jim Holliaoke  <jholliaoke@yahoo.co.uk> wrote:
>    When I try to boot my linux system using a rescue
>disk, login as root, mount my root filesystem,
>pivot_root to it and try to execute '/sbin/init', I
>get an error that says 'error opening/writing control
>channel /dev/initctl'. I understand that /dev/initctl
>is a FIFO that used to pass messages to init and the
>error message is probably caused by the absence of the
>running process on the other end to pick up the
>message, but isn't this the feat that an initrd
>achieves with no special effort? Am I understanding
>this right or is executing init from an interactive
>shell prohibited?

Exactly, you cannot execute init from a shell. Init *must* have
process-id #1. If your shell is PID #1, try exec /sbin/init

If init isn't PID #1, it behaves like 'telinit'.

Mike.
-- 
They all laughed when I said I wanted to build a joke-telling machine.
Well, I showed them! Nobody's laughing *now*! -- acesteves@clix.pt


      reply	other threads:[~2003-01-21  0:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-20 22:34 /dev/initctl Jim Holliaoke
2003-01-21  0:27 ` Miquel van Smoorenburg [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='b0i45r$poa$1@ncc1701.cistron.net' \
    --to=miquels@cistron.nl \
    --cc=linux-kernel@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®