From: Bodo Eggert <7eggert@gmx.de>
To: "H. Peter Anvin" <hpa@zytor.com>
Cc: Bodo Eggert <7eggert@gmx.de>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 0/3][try 1] init: enable system-on-initramfs
Date: Sun, 15 Jul 2007 03:58:11 +0200 (CEST) [thread overview]
Message-ID: <Pine.LNX.4.58.0707150339480.2213@be1.lrz> (raw)
In-Reply-To: <4699337E.2060908@zytor.com>
On Sat, 14 Jul 2007, H. Peter Anvin wrote:
> Bodo Eggert wrote:
> > On Sat, 14 Jul 2007, H. Peter Anvin wrote:
> >> Bodo Eggert wrote:
> >>> Setting the name of the rdinit process to the name of the init process
> >>> in order to select the root device should not be the right knob.
> >>>
> >> What's wrong with it?
> >
> > rdinit is supposed to be the program that mounts, root is supposed to be
> > whatever is mounted and init is supposed to run the system. Three
> > different things. Now if you want to change the third, just set the first
> > to the second ...
>
> That only applies to a model that you explicitly doesn't want to use.
I don't want to use rdinit, because there is no task for rdinit(3), and I
don't want to mount a filesystem(3). But I do want to use init(2).
I have to lie to the kernel saying (2) is (1) in order to trick it into
beleaving I'd do (3) myself, which I don't, just in order to not do (3).
If the bug of not calling the security hook would be fixed, this trick
would use the path where rdinit is expected to trigger the callback, but
since that rdinit would be no rdinit, that callback would still be wrongly
skipped. That would not be a bad thing for my setup, but it clearly shows
this setup to be wrong.
The correct solution is tell the kernel not to do (3) if you don't want
it to do (3). The rest will work as intended.
--
This message transmitted on 100% recycled electrons.
next prev parent reply other threads:[~2007-07-15 1:59 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-13 18:56 Bodo Eggert
2007-07-13 18:59 ` [PATCH 1/3][try 1] init: enable system-on-initramfs: enable root=rootfs Bodo Eggert
2007-07-13 19:00 ` [PATCH 2/3][try 1] init: enable system-on-initramfs: root-on-tmpfs Bodo Eggert
2007-07-13 19:02 ` [PATCH 3/3][try 1] init: enable system-on-initramfs: make mount-on-boot optional Bodo Eggert
2007-07-13 19:47 ` [PATCH 0/3][try 1] init: enable system-on-initramfs H. Peter Anvin
2007-07-13 22:37 ` Bodo Eggert
2007-07-13 22:50 ` H. Peter Anvin
2007-07-14 15:20 ` Bodo Eggert
2007-07-14 18:45 ` H. Peter Anvin
2007-07-14 19:46 ` Bodo Eggert
2007-07-14 20:35 ` H. Peter Anvin
2007-07-15 1:58 ` Bodo Eggert [this message]
2007-07-18 21:54 ` Rob Landley
2007-07-19 13:56 ` Bodo Eggert
2007-07-19 14:41 ` Stephen Smalley
2007-07-19 17:22 ` Bodo Eggert
2007-07-28 16:07 ` Rob Landley
[not found] <8GGkX-2Xv-5@gated-at.bofh.it>
2007-07-14 18:49 ` [PATCH 2/3][try 1] init: enable system-on-initramfs: root-on-tmpfs Bodo Eggert
2007-07-15 5:24 ` [PATCH 0/3][try 1] init: enable system-on-initramfs Al Boldi
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=Pine.LNX.4.58.0707150339480.2213@be1.lrz \
--to=7eggert@gmx.de \
--cc=hpa@zytor.com \
--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®