From: William Hubbs <williamh@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Re: rfc: locations of binaries and separate /usr
Date: Sun, 1 Jan 2012 12:32:59 -0600 [thread overview]
Message-ID: <20120101183259.GB11860@linux1> (raw)
In-Reply-To: <pan.2012.01.01.09.23.10@cox.net>
[-- Attachment #1: Type: text/plain, Size: 2762 bytes --]
On Sun, Jan 01, 2012 at 09:23:11AM +0000, Duncan wrote:
> Gentoo has historically been both "light patch", with a policy of staying
> close to upstream if possible, and "customizer's choice", allowing users
> far more flexibility than most distros. Keeping both goals in mind,
> migrating with upstream is ultimately the only viable alternative for a
> whole host of reasons including both staying close to upstream and simple
> manpower resource issues.
> That said, we can continue to try to support a separate /usr as long as
> possible, while switching new installs to the new way and changing the
> handbook to document it, preferably as soon as possible.
In this situation, I don't know how we will be able to support both
ways because there is more involved than just where things are
installed.
Udev 175 is currently masked, because the way it operates has changed
enough that it doesn't work correctly if it starts before /usr is
mounted, and the failures you find will be very difficult to track down.
So, udev isn't only changing where it is installed, but how it runs.
Supporting a separate /usr without an initramfs will require one of two
things.
One possibility is a customization to openrc, which we have been
looking at, that would be able to run fsck on /usr and mount /usr all
before udev starts. The drawback here is this will only work for openrc
users.
Another possibility is a script that would run as the init= parameter to
the kernel, which would fsck /usr and mount /usr then start the real
init process. This would be more generic and would be able to run
regardless of whether you are using sysvinit/openrc.
Here is the big problem with both of these solutions as I see them. They
depend on several pieces of software remaining on the root filesystem,
and if/when this software is migrated, we will be back to having this discussion
again.
> Further, as
> previously discussed, a near-static bare-minimal initramfs that can be
> configured and forgotten about for long periods over many kernel upgrades
> should make the switch as painless as possible at least for "simple" bare-
> partition installations.
I want to look at dracut and see if there is a way to configure it to
create a minimal initramfs like you are suggesting, because, if there is
we don't need to re-invent the wheel.
I don't think your portage feature/use flag suggestion is a good idea,
because, right now most of this is about where things are installed,
but, eventually we might have to start actually patching software to
make it work if it is installed on / instead of /usr, and there is no
way to know how much patching we would have to do.
What are your thoughts?
William
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2012-01-01 18:37 UTC|newest]
Thread overview: 224+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-01 1:59 [gentoo-dev] rfc: locations of binaries and separate /usr William Hubbs
2012-01-01 6:16 ` [gentoo-dev] " Ryan Hill
2012-01-02 17:54 ` Alexis Ballier
2012-01-02 18:30 ` Michał Górny
2012-01-01 7:12 ` [gentoo-dev] " Olivier Crête
2012-01-01 7:33 ` Matthew Thode
2012-01-01 20:09 ` Olivier Crête
2012-01-01 20:51 ` Dale
2012-01-01 21:49 ` Olivier Crête
2012-01-05 3:12 ` Jeroen Roovers
2012-01-05 3:43 ` Dale
2012-01-01 20:18 ` Michał Górny
2012-01-01 7:33 ` Patrick Lauer
2012-01-01 20:21 ` Olivier Crête
2012-01-01 20:23 ` Ciaran McCreesh
2012-01-01 21:50 ` Olivier Crête
2012-01-02 8:41 ` Eray Aslan
2012-01-03 18:50 ` Olivier Crête
2012-01-03 18:54 ` Ciaran McCreesh
2012-01-03 19:07 ` Michał Górny
2012-01-03 19:02 ` William Hubbs
2012-01-03 19:12 ` Fabian Groffen
2012-01-03 20:01 ` William Hubbs
2012-01-03 21:22 ` Fabian Groffen
2012-01-03 23:09 ` William Hubbs
2012-01-03 23:27 ` Michał Górny
2012-01-04 0:47 ` Thomas Sachau
2012-01-04 8:17 ` Michał Górny
2012-01-04 12:06 ` Thomas Sachau
2012-01-04 15:37 ` Michał Górny
2012-01-04 16:33 ` Fabian Groffen
2012-01-04 16:47 ` Michał Górny
2012-01-04 17:12 ` Ulrich Mueller
2012-01-04 17:32 ` Olivier Crête
2012-01-04 18:26 ` Marc Schiffbauer
2012-01-04 20:12 ` Eray Aslan
2012-01-05 2:40 ` Zac Medico
2012-01-07 3:10 ` Michael Weber
2012-01-07 6:58 ` Zac Medico
2012-01-07 9:35 ` Michał Górny
2012-01-07 20:20 ` Michael Weber
2012-01-04 18:27 ` Kent Fredric
2012-01-04 18:47 ` Michał Górny
2012-01-04 18:51 ` Olivier Crête
2012-01-04 19:09 ` Fabian Groffen
2012-01-07 0:41 ` Walter Dnes
2012-01-07 0:59 ` Olivier Crête
2012-01-07 1:10 ` Matthew Thode
2012-01-07 9:41 ` Michał Górny
2012-01-04 18:55 ` Rich Freeman
2012-01-05 19:30 ` William Hubbs
2012-01-05 20:08 ` Ciaran McCreesh
2012-01-05 20:40 ` Rich Freeman
2012-01-05 20:44 ` Sven Vermeulen
2012-01-05 21:02 ` Olivier Crête
2012-01-05 21:09 ` Ciaran McCreesh
2012-01-05 21:26 ` Olivier Crête
2012-01-06 0:44 ` Patrick Lauer
2012-01-06 0:57 ` Arun Raghavan
2012-01-06 2:15 ` Olivier Crête
2012-01-06 2:58 ` Marc Schiffbauer
2012-01-06 8:16 ` Alec Warner
2012-01-06 15:28 ` Ian Stakenvicius
2012-01-06 8:55 ` Fabian Groffen
2012-01-05 22:06 ` Michał Górny
2012-01-05 22:08 ` Ciaran McCreesh
2012-01-05 22:36 ` Alex Alexander
2012-01-06 13:35 ` Rich Freeman
2012-01-06 16:07 ` Alex Alexander
2012-01-07 23:47 ` Lars Wendler
2012-01-08 9:33 ` Michał Górny
2012-01-10 18:14 ` Enrico Weigelt
2012-01-10 18:46 ` Michał Górny
2012-01-10 18:56 ` Dale
2012-01-10 19:03 ` Michał Górny
2012-01-10 19:04 ` Ciaran McCreesh
2012-01-10 22:40 ` Dale
2012-01-11 7:41 ` Michał Górny
2012-01-11 8:38 ` Christopher Head
2012-01-11 8:44 ` Ulrich Mueller
2012-01-11 17:03 ` Michał Górny
2012-01-11 17:04 ` Matthew Thode
2012-01-11 16:34 ` Dale
2012-01-11 17:01 ` Michał Górny
2012-01-11 17:13 ` Dale
2012-01-11 17:26 ` Nirbheek Chauhan
2012-01-11 18:24 ` Alec Warner
2012-01-11 18:42 ` Dale
2012-01-17 22:15 ` [gentoo-dev] " Steven J Long
2012-01-17 22:29 ` Rich Freeman
2012-01-10 19:08 ` [gentoo-dev] " Rich Freeman
2012-01-10 22:49 ` Dale
2012-01-10 19:09 ` Hinnerk van Bruinehsen
2012-01-10 22:55 ` Dale
2012-01-17 22:00 ` [gentoo-dev] " Steven J Long
2012-01-18 3:38 ` [gentoo-dev] " Dale
2012-01-18 4:18 ` Mike Gilbert
2012-01-18 5:57 ` Dale
2012-01-18 7:02 ` Michał Górny
2012-01-18 7:20 ` Dale
2012-01-18 13:36 ` Michał Górny
2012-01-21 12:28 ` Dale
2012-01-21 14:57 ` Michał Górny
2012-01-21 21:34 ` Dale
2012-01-21 21:50 ` Zac Medico
2012-01-21 23:45 ` Dale
2012-01-22 0:12 ` Zac Medico
2012-01-21 22:01 ` Michał Górny
2012-01-21 23:43 ` Dale
2012-01-04 18:50 ` Michał Górny
2012-01-04 19:00 ` Fabian Groffen
2012-01-04 19:28 ` Michał Górny
2012-01-04 19:32 ` Fabian Groffen
2012-01-04 18:48 ` Thomas Sachau
2012-01-04 19:26 ` Michał Górny
2012-01-04 19:36 ` Fabian Groffen
2012-01-03 19:19 ` Olivier Crête
2012-01-03 19:35 ` Rich Freeman
2012-01-03 19:47 ` Nirbheek Chauhan
2012-01-03 20:15 ` Olivier Crête
2012-01-03 19:39 ` William Hubbs
2012-01-03 19:47 ` Fabian Groffen
2012-01-03 20:32 ` Eray Aslan
2012-01-06 18:26 ` Enrico Weigelt
2012-01-01 16:56 ` William Hubbs
2012-01-01 18:40 ` Ciaran McCreesh
2012-01-01 22:39 ` Robin H. Johnson
2012-01-01 8:53 ` Sven Vermeulen
2012-01-01 9:09 ` Nirbheek Chauhan
2012-01-02 18:41 ` Michał Górny
2012-01-01 9:45 ` Dale
2012-01-01 13:44 ` Rich Freeman
2012-01-01 14:05 ` Dale
2012-01-01 20:21 ` Olivier Crête
2012-01-02 11:47 ` Sven Vermeulen
2012-01-02 12:58 ` Rich Freeman
2012-01-02 13:31 ` Kent Fredric
2012-01-02 16:01 ` Michał Górny
2012-01-03 22:47 ` Sven Vermeulen
2012-01-04 0:32 ` Olivier Crête
2012-01-02 18:43 ` Michał Górny
2012-01-04 13:50 ` [gentoo-dev] " Steven J Long
2012-01-04 13:54 ` Rich Freeman
2012-01-04 15:19 ` [gentoo-dev] " Steven J Long
2012-01-04 15:24 ` Rich Freeman
2012-01-04 18:16 ` Robin H. Johnson
2012-01-04 15:51 ` [gentoo-dev] " Michał Górny
2012-01-04 15:54 ` Ciaran McCreesh
2012-01-04 16:02 ` Michał Górny
2012-01-04 17:40 ` Olivier Crête
2012-01-04 18:06 ` Ciaran McCreesh
2012-01-04 18:30 ` Marc Schiffbauer
2012-01-04 18:53 ` Olivier Crête
2012-01-04 20:45 ` Marc Schiffbauer
2012-01-04 21:55 ` Olivier Crête
2012-01-05 3:24 ` Marc Schiffbauer
2012-01-05 4:58 ` Duncan
2012-01-06 18:10 ` Enrico Weigelt
2012-01-05 8:26 ` Michał Górny
2012-01-05 11:08 ` Marc Schiffbauer
2012-01-05 14:30 ` Olivier Crête
2012-01-05 14:31 ` Olivier Crête
2012-01-05 17:12 ` Duncan
2012-01-05 18:17 ` Michał Górny
2012-01-06 18:08 ` Enrico Weigelt
2012-01-03 15:53 ` [gentoo-dev] " Ian Stakenvicius
2012-01-03 16:08 ` G.Wolfe Woodbury
2012-01-03 16:40 ` Michał Górny
2012-01-03 17:56 ` Rich Freeman
2012-01-04 9:07 ` [gentoo-dev] " Nicolas Sebrecht
2012-01-03 17:45 ` Duncan
2012-01-03 18:18 ` Ian Stakenvicius
2012-01-03 23:58 ` Duncan
2012-01-01 9:23 ` Duncan
2012-01-01 10:15 ` Zac Medico
2012-01-01 17:54 ` Duncan
2012-01-03 16:03 ` Ian Stakenvicius
2012-01-03 16:51 ` William Hubbs
2012-01-03 17:00 ` Fabian Groffen
2012-01-03 17:03 ` Ian Stakenvicius
2012-01-03 17:35 ` Duncan
2012-01-03 17:59 ` William Hubbs
2012-01-01 18:32 ` William Hubbs [this message]
2012-01-01 18:46 ` William Hubbs
2012-01-01 20:17 ` Olivier Crête
2012-01-02 5:39 ` Duncan
2012-01-02 6:44 ` Zac Medico
2012-01-02 14:48 ` William Hubbs
2012-01-01 17:54 ` [gentoo-dev] " Michał Górny
2012-01-02 17:54 ` William Hubbs
2012-01-02 18:37 ` Michał Górny
2012-01-02 18:46 ` William Hubbs
2012-01-03 16:18 ` Ian Stakenvicius
2012-01-02 6:24 ` Nguyen Thai Ngoc Duy
2012-01-02 9:45 ` Michał Górny
2012-01-02 17:03 ` William Hubbs
2012-01-03 9:51 ` Walter Dnes
2012-01-03 15:10 ` William Hubbs
2012-01-03 16:40 ` Ian Stakenvicius
2012-01-03 18:02 ` [gentoo-dev] " Duncan
2012-01-03 18:36 ` [gentoo-dev] " William Hubbs
2012-01-03 19:19 ` Olivier Crête
2012-01-03 19:30 ` Fabian Groffen
2012-01-03 19:28 ` Rich Freeman
2012-01-03 19:39 ` Nirbheek Chauhan
2012-01-04 12:58 ` Arun Raghavan
2012-01-04 13:13 ` Rich Freeman
2012-01-04 13:23 ` Nirbheek Chauhan
2012-01-06 17:50 ` Enrico Weigelt
2012-01-06 18:25 ` Michał Górny
2012-01-06 18:41 ` Enrico Weigelt
2012-01-06 19:05 ` Michał Górny
2012-01-06 19:21 ` Enrico Weigelt
2012-01-12 15:29 ` Ralph Sennhauser
2012-01-12 16:06 ` Alec Warner
2012-01-07 1:08 ` Walter Dnes
2012-01-07 19:01 ` Enrico Weigelt
2012-01-08 11:48 ` Walter Dnes
2012-01-08 22:58 ` Michael Weber
2012-01-09 7:20 ` Zac Medico
2012-01-09 8:22 ` Michał Górny
2012-01-09 10:30 ` Alec Warner
2012-02-04 16:31 ` Alexey Shvetsov
2012-02-04 17:27 ` Rich Freeman
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=20120101183259.GB11860@linux1 \
--to=williamh@gentoo.org \
--cc=gentoo-dev@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