From: Alan McKinnon <alan.mckinnon@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: Anyone switched to eudev yet?
Date: Wed, 19 Dec 2012 11:26:07 +0200 [thread overview]
Message-ID: <20121219112607.5f1b8f31@khamul.example.com> (raw)
In-Reply-To: <CA+czFiCW2CujKfg8Gd7gQESh9pqn2U9HfPB9+sDOE5CwTVEYUQ@mail.gmail.com>
On Tue, 18 Dec 2012 17:55:16 -0500
Michael Mol <mikemol@gmail.com> wrote:
> On Tue, Dec 18, 2012 at 9:33 AM, Alan McKinnon
> <alan.mckinnon@gmail.com> wrote:
> > On Tue, 18 Dec 2012 09:08:53 -0500
> > Michael Mol <mikemol@gmail.com> wrote:
> >
> >
> > This sentence summarizes my understanding of your post nicely:
> >
> >> Now, why is /usr special? It's because it contains executable code
> >> the system might require while launching.
> >
> > Now there are only two approaches that could solve that problem:
> >
> > 1. Avoid it entirely
> > 2. Deal with it using any of a variety of bootstrap techniques
> >
> > #1 is handled by policy, whereby any code the system might require
> > while launching is not in /usr.
>
> This is the solution I favor. Systemic structure which allows
> dependency leakage is indicative (to me) of lack of foresight and
> proper component role limitation, and ought to be fought.
>
> >
> > #2 already has a solution, it's called an init*. Other solutions
> > exist but none are as elegant as a throwaway temporary filesystem
> > in RAM.
>
> I find virtually nothing elegant about a temporary filesystem in RAM.
> It duplicates code that already exists on the system, and it
> represents and additional maintenance step in system upgrades. It
> seems almost a given that if someone is keeping multiple kernel images
> on a system, they're not updating the initr* for each when binaries
> that would be found in each are upgraded or rebuilt.
You could level the same criticism at boot loaders...
The also duplicate functionality in the main system they launch (albeit
read-only at least in legacy grub) in the fs drivers, are only used
briefly at boot-time and have to be maintained. True, the bootloader
doesn't contain a *copy* of the main system files which is where the
parallel breaks down.
init* may well suck, but they suck less than any other possible
solution. And they come with one more benefit - the community has
agreed on how they work so they form a standard of sorts
>
> In Debian, Ubuntu and others, this is handled by a post-install hook
> where the initr* image is rebuilt. To me, this honestly feels like a
> hack. In something like Gentoo, I'd rather see package placement
> driven by whether or not it will be needed to get all mount points
> mounted. If that means i18n databases under something like /boot/data,
> that seems reasonable. To me, the only cases where initr* feels like
> the right solution are things like netboot or booting from read-only
> media.
Let's not forget the prime reason why init* exists - so that binary
distros can boot and still have all kernel modules required at launch
time compiled as modules.
Bootstrap code and operation is ugly, always has been and always will
be. It also tends to be inflexible unless you use a slipstreaming
technique (my invented description of how init* works). I still think
the solution is elegant given the real-world requirements imposed on
systems.
>
> >
> > I should be clear that I do not necessarily support Lennart's
> > solutions, but I do support his perception of the problem (at least
> > partially). We cannot support situations where *launch* code is
> > haphazardly scattered in location X and this must always work for
> > all values of X. We already have a remarkably parallel situation
> > in /boot - in order to boot at all, the code running at that point
> > in time needs to be able to find stuff, and it finds it (by policy)
> > in what we will later call /boot. I see this /usr debate as the
> > same thing on a larger scale.
>
> --
> :wq
>
--
Alan McKinnon
alan.mckinnon@gmail.com
next prev parent reply other threads:[~2012-12-19 9:31 UTC|newest]
Thread overview: 252+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-14 12:19 [gentoo-user] Anyone switched to eudev yet? Dale
2012-12-14 13:26 ` [gentoo-user] " Nikos Chantziaras
2012-12-14 13:41 ` Dale
2012-12-14 14:04 ` Bruce Hill
2012-12-14 14:25 ` Dale
2012-12-14 15:39 ` Bruce Hill
2012-12-14 16:20 ` Tanstaafl
2012-12-14 17:34 ` Bruce Hill
2012-12-14 19:02 ` Tanstaafl
2012-12-14 16:23 ` Alan McKinnon
2012-12-14 16:32 ` Mark Knecht
2012-12-14 16:33 ` Michael Mol
2012-12-14 17:06 ` Dale
2012-12-14 16:52 ` Dale
2012-12-14 17:44 ` Bruce Hill
2012-12-14 20:49 ` Dale
2012-12-14 15:01 ` [gentoo-user] " Mark Knecht
2012-12-14 15:48 ` Dale
2012-12-14 16:07 ` Mark Knecht
2012-12-14 16:29 ` Dale
2012-12-14 16:53 ` Mark Knecht
2012-12-14 17:14 ` Dale
2012-12-14 21:34 ` Kevin Chadwick
2012-12-15 10:18 ` Volker Armin Hemmann
2012-12-15 17:43 ` Kevin Chadwick
2012-12-16 12:51 ` Volker Armin Hemmann
2012-12-16 21:19 ` [gentoo-user] " Nikos Chantziaras
2012-12-16 21:30 ` Nuno J. Silva
2012-12-16 22:14 ` Volker Armin Hemmann
2012-12-16 22:25 ` Nikos Chantziaras
2012-12-15 8:16 ` Nuno J. Silva
2012-12-16 15:10 ` Alan McKinnon
2012-12-16 18:49 ` Bruce Hill
2012-12-16 20:32 ` Nuno J. Silva
2012-12-16 20:51 ` Dale
2012-12-17 0:26 ` Kevin Chadwick
2012-12-17 5:44 ` Dale
2012-12-17 5:57 ` Michael Orlitzky
2012-12-17 6:09 ` Dale
2012-12-17 6:24 ` Michael Orlitzky
2012-12-17 6:44 ` Dale
2012-12-17 11:33 ` Kevin Chadwick
[not found] ` <CAA2qdGWkfmiQVAKb76wq57scQ-T5p2U7HE4VdN8BnTX0oZHS1g@mail.gmail.com>
2012-12-17 5:54 ` Pandu Poluan
2012-12-17 7:38 ` Alan McKinnon
2012-12-17 7:33 ` Alan McKinnon
2012-12-17 7:29 ` Alan McKinnon
2012-12-17 8:02 ` Mark David Dumlao
2012-12-17 8:46 ` Alan McKinnon
2012-12-18 11:44 ` Mark David Dumlao
2012-12-18 12:55 ` Alan McKinnon
2012-12-18 13:34 ` [Bulk] " Kevin Chadwick
2012-12-18 22:02 ` Marc Joliet
2012-12-19 18:48 ` Volker Armin Hemmann
2012-12-19 21:42 ` Walter Dnes
2012-12-18 14:08 ` Michael Mol
2012-12-18 14:33 ` Alan McKinnon
2012-12-18 22:55 ` Michael Mol
2012-12-18 23:07 ` Neil Bothwick
2012-12-19 3:05 ` Michael Mol
2012-12-19 9:30 ` Alan McKinnon
2012-12-19 9:38 ` Neil Bothwick
2012-12-19 10:14 ` Neil Bothwick
2012-12-19 9:26 ` Alan McKinnon [this message]
2012-12-19 15:03 ` Michael Mol
2012-12-23 10:22 ` Nuno J. Silva
2012-12-23 16:20 ` Alan McKinnon
2012-12-23 17:03 ` Nuno J. Silva
2012-12-23 17:20 ` Alan Mackenzie
2012-12-23 17:44 ` Nuno J. Silva
2012-12-23 17:53 ` Michael Mol
2012-12-23 18:06 ` Nuno J. Silva
2012-12-23 20:39 ` Neil Bothwick
2012-12-24 1:27 ` Walter Dnes
2012-12-24 8:06 ` Mark David Dumlao
2012-12-24 10:58 ` Alan McKinnon
2012-12-24 15:14 ` Kevin Chadwick
2012-12-24 15:52 ` Dale
2012-12-24 23:09 ` William Kenworthy
2012-12-25 20:39 ` Neil Bothwick
2012-12-25 21:05 ` Dale
2012-12-26 21:35 ` Kevin Chadwick
2012-12-27 23:46 ` Alan McKinnon
2012-12-25 11:33 ` Neil Bothwick
2012-12-24 15:10 ` [Bulk] " Kevin Chadwick
2012-12-24 15:20 ` Kevin Chadwick
2012-12-27 19:43 ` Volker Armin Hemmann
2012-12-27 19:59 ` Neil Bothwick
2012-12-27 20:07 ` Michael Mol
2012-12-27 20:14 ` Nuno J. Silva
2012-12-24 6:55 ` Alan McKinnon
2012-12-24 12:58 ` Dale
2012-12-24 13:21 ` Nuno J. Silva
2012-12-24 13:58 ` Dale
2012-12-24 15:06 ` Nuno J. Silva
2012-12-24 15:27 ` Michael Mol
2012-12-24 15:56 ` Nuno J. Silva
2012-12-24 16:00 ` Michael Mol
2012-12-24 16:11 ` Dale
2012-12-24 16:14 ` Dale
2012-12-24 16:34 ` Michael Mol
2012-12-24 17:02 ` Dale
2012-12-24 15:43 ` Dale
2012-12-24 16:29 ` Bruce Hill
2012-12-24 17:00 ` Pandu Poluan
2012-12-25 12:10 ` Nuno J. Silva
2012-12-25 12:46 ` Bruce Hill
2012-12-25 13:22 ` Nuno J. Silva
2012-12-25 16:40 ` Dale
2012-12-25 17:17 ` Nuno J. Silva
2012-12-25 17:53 ` Dale
2012-12-25 18:54 ` Nuno J. Silva
2012-12-25 22:49 ` Dale
2012-12-25 22:54 ` Paul Colquhoun
2012-12-25 23:12 ` Dale
2012-12-26 11:55 ` Neil Bothwick
2012-12-26 14:19 ` pk
2012-12-24 16:25 ` Mark David Dumlao
2012-12-24 16:41 ` Bruce Hill
2012-12-24 17:05 ` Dale
2012-12-24 17:15 ` Bruce Hill
2012-12-24 18:58 ` Mark David Dumlao
2012-12-25 1:54 ` Dale
2012-12-26 15:56 ` Mark David Dumlao
2012-12-24 18:48 ` Alan McKinnon
2012-12-24 20:00 ` Dale
2012-12-24 20:15 ` Michael Mol
2012-12-24 21:23 ` Mark Knecht
2012-12-24 22:36 ` Dale
2012-12-24 23:17 ` Bruce Hill
2012-12-25 0:34 ` Mark Knecht
2012-12-25 2:00 ` Bruce Hill
2012-12-25 2:33 ` Dale
2012-12-25 21:15 ` Neil Bothwick
2012-12-25 21:42 ` Dale
2012-12-25 22:07 ` Neil Bothwick
2012-12-24 23:04 ` Bruce Hill
2012-12-25 0:29 ` »Q«
2012-12-25 0:54 ` Mark Knecht
2012-12-25 1:30 ` Dale
2012-12-25 2:13 ` Bruce Hill
2012-12-25 16:51 ` Todd Goodman
2012-12-25 23:26 ` Bruce Hill
2012-12-26 11:40 ` Neil Bothwick
2012-12-26 14:24 ` Todd Goodman
2012-12-26 17:03 ` Bruce Hill
2012-12-26 17:22 ` Mark Knecht
2012-12-26 20:34 ` Dale
2012-12-26 21:00 ` Mark Knecht
2012-12-25 2:03 ` Bruce Hill
2012-12-25 2:38 ` Dale
2012-12-25 12:58 ` Bruce Hill
2012-12-25 16:01 ` Dale
2012-12-26 16:01 ` Mark David Dumlao
2012-12-26 20:42 ` Dale
2012-12-27 3:23 ` Mark David Dumlao
2012-12-27 16:13 ` Dale
2012-12-27 16:24 ` Mark Knecht
2012-12-27 17:46 ` Mark David Dumlao
2012-12-27 18:15 ` Dale
2012-12-27 18:31 ` Mark David Dumlao
2012-12-27 18:41 ` Michael Mol
2012-12-27 19:02 ` Mark Knecht
2012-12-27 22:29 ` Dale
2012-12-29 0:43 ` Neil Bothwick
2012-12-27 16:28 ` [Bulk] " Kevin Chadwick
2012-12-27 18:22 ` Mark David Dumlao
2012-12-27 18:40 ` Michael Mol
2012-12-27 20:16 ` Mark David Dumlao
2012-12-27 20:59 ` Michael Mol
2012-12-27 22:37 ` Mark David Dumlao
2012-12-28 4:20 ` Michael Mol
2012-12-28 14:10 ` Kevin Chadwick
2012-12-28 14:21 ` Michael Mol
2012-12-26 21:31 ` Kevin Chadwick
2012-12-25 21:19 ` Neil Bothwick
2012-12-25 22:00 ` Mark Knecht
2012-12-25 22:13 ` Neil Bothwick
2012-12-25 22:20 ` Mark Knecht
2012-12-25 23:04 ` Dale
2012-12-25 23:10 ` Mark Knecht
2012-12-25 23:56 ` Dale
2012-12-24 21:43 ` Mark David Dumlao
2012-12-24 22:23 ` Michael Mol
2012-12-24 23:31 ` Bruce Hill
2012-12-24 23:58 ` Dale
2012-12-25 0:44 ` Michael Mol
2012-12-24 22:52 ` Dale
2012-12-24 22:11 ` Daniel Wagener
2012-12-25 3:56 ` Pandu Poluan
2012-12-25 7:38 ` [gentoo-user] Re: Anyone switched to eudev yet? -> what was wron with SysVInit? G.Wolfe Woodbury
2012-12-25 8:01 ` Canek Peláez Valdés
2012-12-25 11:14 ` G.Wolfe Woodbury
2012-12-25 13:14 ` Michael Mol
2012-12-25 13:35 ` Nuno J. Silva
2012-12-25 18:01 ` Canek Peláez Valdés
2012-12-27 0:45 ` Pandu Poluan
2012-12-27 1:14 ` Canek Peláez Valdés
2012-12-27 1:26 ` Canek Peláez Valdés
2012-12-27 16:00 ` pk
2012-12-27 23:24 ` Canek Peláez Valdés
2012-12-28 18:15 ` pk
2012-12-28 18:55 ` Michael Orlitzky
2012-12-28 19:01 ` Canek Peláez Valdés
2012-12-28 22:40 ` pk
2012-12-29 1:05 ` Canek Peláez Valdés
2012-12-28 1:06 ` Volker Armin Hemmann
2012-12-28 1:24 ` Bruce Hill
2012-12-25 13:56 ` Joshua Murphy
2012-12-25 18:14 ` Canek Peláez Valdés
2012-12-26 22:22 ` Kevin Chadwick
2012-12-26 22:19 ` Kevin Chadwick
2012-12-26 23:01 ` Canek Peláez Valdés
2012-12-26 23:51 ` Michael Mol
2012-12-27 0:57 ` Canek Peláez Valdés
2012-12-27 16:29 ` Kevin Chadwick
2012-12-27 23:38 ` Canek Peláez Valdés
2012-12-28 18:53 ` Kevin Chadwick
2012-12-28 19:14 ` Canek Peláez Valdés
2012-12-28 20:17 ` Pandu Poluan
2012-12-28 20:36 ` Canek Peláez Valdés
2012-12-29 3:48 ` Mark David Dumlao
2012-12-28 23:23 ` Kevin Chadwick
2012-12-29 1:06 ` Canek Peláez Valdés
2012-12-27 0:27 ` Kevin Chadwick
2012-12-25 13:02 ` [gentoo-user] Re: Anyone switched to eudev yet? Bruce Hill
2012-12-25 13:18 ` Michael Mol
2012-12-25 15:01 ` Pandu Poluan
2012-12-25 23:31 ` Bruce Hill
2012-12-26 0:19 ` Pandu Poluan
2012-12-26 2:16 ` Michael Mol
2012-12-26 3:24 ` Canek Peláez Valdés
2012-12-26 17:13 ` Bruce Hill
2012-12-26 18:47 ` Canek Peláez Valdés
2012-12-27 23:07 ` Alan McKinnon
2013-01-04 23:22 ` Mike Edenfield
2013-01-05 2:41 ` [Bulk] " Kevin Chadwick
2012-12-27 19:41 ` Volker Armin Hemmann
2012-12-19 18:42 ` Volker Armin Hemmann
2012-12-19 21:53 ` Alan McKinnon
2012-12-19 22:45 ` Kevin Chadwick
2012-12-20 3:45 ` Mark David Dumlao
2012-12-20 16:47 ` Volker Armin Hemmann
2012-12-20 20:59 ` Kevin Chadwick
2012-12-23 10:26 ` Nuno J. Silva
2012-12-20 21:01 ` Kevin Chadwick
2012-12-20 21:46 ` Mark David Dumlao
2012-12-21 0:09 ` Kevin Chadwick
2012-12-21 0:45 ` Kevin Chadwick
2012-12-21 8:28 ` Mark David Dumlao
2012-12-15 10:16 ` [gentoo-user] " pk
2012-12-14 16:17 ` Bruce Hill
2012-12-14 16:31 ` Dale
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=20121219112607.5f1b8f31@khamul.example.com \
--to=alan.mckinnon@gmail.com \
--cc=gentoo-user@lists.gentoo.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