public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: William Hubbs <williamh@gentoo.org>
To: "Michał Górny" <mgorny@gentoo.org>
Cc: gentoo-dev@lists.gentoo.org, robbat2@gentoo.org
Subject: Re: [gentoo-dev] rfc: locations of binaries and separate /usr
Date: Mon, 2 Jan 2012 11:54:57 -0600	[thread overview]
Message-ID: <20120102175457.GB1636@linux1> (raw)
In-Reply-To: <20120101185434.3d019941@pomiocik.lan>

[-- Attachment #1: Type: text/plain, Size: 3218 bytes --]

On Sun, Jan 01, 2012 at 06:54:34PM +0100, Michał Górny wrote:
> On Sat, 31 Dec 2011 19:59:47 -0600
> We should *at least* start doing some preparations, like ensuring that
> random things don't unnecessarily hardcode /sbin or /bin paths. Most
> importantly, if a particular tool runs in a complete environment (which
> is true for most of the cases), there is no need to hardcode paths to
> tools.
> 
> As I see it, 2) seems achievable within a reasonable time now. It
> shouldn't require any specific changes from users (except for fixing
> their own broken scripts) yet some tree-wide action of fixing hardcoded
> paths.
> 
> We could create /sbin and /usr/sbin symlinks as well but that shouldn't
> be really necessary, especially if we prepare packages well beforehand.
> Introducing such symlinks would be hard to perform and getting rid of
> them later would be even harder; mostly due to PMS-enforced limitations.

I'm not really a fan of the compatibility symlinks either the more I
think about it. I think that basically packages can revbump to make this
migration happen, or in the case of udev and kmod and other upstreams
that support it, not hard code the configuration.

> 
> For a long-term view, 1) is the only way to go. Splitting packages
> randomly between rootfs and /usr was never really correct, and we
> especially shouldn't force users to junk their systems with shattered
> packages and cheap glue to keep it all working.
> 
> I'd suggest going the other way than I did with kmod. Temporary IUSE
> like 'install-to-usr', disabled by default for now. Packages having
> that IUSE should have correct USE-dependencies, and users who need not
> to use that could just enable 'install-to-usr' globally (we'd probably
> want to mask it first).

I'm not sure that a use flag is a good idea for this, because there will
definitely be people who would turn it off, and with upstreams assuming
that this is how things are installed, those who turn it off will have
broken systems.

Here is My thought about how we can make this transition happen:

* Right now, I can re-work our kmod ebuild to install to its default
  locations in /usr.

* When udev 176 is released, I'll put it in the tree, masked, installing
  to its default locations. I can actually rework the live ebuild right
  now to do this.

* I will then open a tracker for issues that will need to be fixed
  before we can unmask it.

* Next, we will need people to unmask udev-176 and test to find issues.
  I will definitely be one of these since I have separate
  /usr on my desktop, however, I can't test all possible
  configurations/packages here, so the more the merrier.

* We also need to get a better understanding of dracut at this point. I
  believe that making an initramfs is as simple as running:
  dracut "" -H
  as root. Then you have to add it to your boot loader. The one thing I
  haven't figured  out yet is whether it is possible to create an
  initramfs that doesn't have to be updated with every kernel upgrade.

* Once the issues are ironed out we unmask udev-176 and go from there.

What does everyone think? What am I leaving out?

William


[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2012-01-02 18:03 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
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 [this message]
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=20120102175457.GB1636@linux1 \
    --to=williamh@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    --cc=mgorny@gentoo.org \
    --cc=robbat2@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