Gentoo Archives: gentoo-dev

From: Mike Gilbert <floppym@g.o>
To: Gentoo Dev <gentoo-dev@l.g.o>
Subject: Re: [gentoo-dev] [PATCH] use.desc: add global USE flag 'split-sbin'
Date: Tue, 15 Oct 2019 16:03:00
Message-Id: CAJ0EP40wHiQj=KBc1gLLgsu9Li2ta6_p_KRKhBoXopFZs=cmUA@mail.gmail.com
In Reply to: Re: [gentoo-dev] [PATCH] use.desc: add global USE flag 'split-sbin' by David Seifert
1 On Tue, Oct 15, 2019 at 8:00 AM David Seifert <soap@g.o> wrote:
2 >
3 > On Sun, 2019-10-13 at 12:33 -0400, Mike Gilbert wrote:
4 > > On Sat, Oct 12, 2019 at 1:52 PM David Seifert <soap@g.o>
5 > > wrote:
6 > > > On Sat, 2019-10-12 at 19:01 +0200, Dennis Schridde wrote:
7 > > > > On Samstag, 12. Oktober 2019 18:02:28 CEST William Hubbs wrote:
8 > > > > > On Sat, Oct 12, 2019 at 01:11:49PM +0200, Michał Górny wrote:
9 > > > > > > On Sat, 2019-10-12 at 13:00 +0200, David Seifert wrote:
10 > > > > > > > * Some distros have not just merged / and /usr, they
11 > > > > > > >
12 > > > > > > > have also merged /usr/bin and /usr/sbin. By giving
13 > > > > > > > users the choice of merging */bin and */sbin,
14 > > > > > > > Gentoo follows suit.
15 > > > > > >
16 > > > > > > What about the scenario when /bin has been merged with
17 > > > > > > /usr/sbin
18 > > > > > > and /sbin with /usr/bin? ;-P
19 > > > > >
20 > > > > > I also don't see the need for something like this. The idea of
21 > > > > > the
22 > > > > > /usr
23 > > > > > merge is to have all binaries available in one place, and there
24 > > > > > really
25 > > > > > is not a good justification for separating bin from sbin.
26 > > > >
27 > > > > Do I read this correctly? USE=-split-usr currently means that
28 > > > > /bin,
29 > > > > /sbin, /
30 > > > > usr/bin and /usr/sbin point to the same directory?
31 > > > >
32 > > > > If that is not the case, then I agree that users should have the
33 > > > > possibility
34 > > > > to set it up like this and USE=-split-sbin should be supported.
35 > > > >
36 > > > > --Dennis
37 > > >
38 > > > I agree, I wasn't aware that USE=-split-usr implies the complete 2-
39 > > > level (/usr and *sbin) merge. In that case, all of this is
40 > > > obsolete.
41 > >
42 > > That was NOT my intention when I introduced the split-usr USE flag.
43 > >
44 > > For bin/sbin, I would prefer to drop any conflicting links
45 > > unconditionally. Do you have examples of scenarios where this is not
46 > > possible?
47 > >
48 >
49 > William has confirmed on IRC that USE=-split-usr performs the complete
50 > Fedora-esque /usr merge (which makes sense IMO).
51
52 William's opinion is not the only one that matters.

Replies