Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o, David Seifert <soap@g.o>
Subject: Re: [gentoo-dev] [PATCH] use.desc: add global USE flag 'split-sbin'
Date: Wed, 16 Oct 2019 10:38:30
Message-Id: 428f72eb77b2da8bfecc8aac7c782ba70bee0614.camel@gentoo.org
In Reply to: Re: [gentoo-dev] [PATCH] use.desc: add global USE flag 'split-sbin' by Jaco Kroon
1 On Wed, 2019-10-16 at 12:03 +0200, Jaco Kroon wrote:
2 > Hi,
3 >
4 > -- large trim --
5 > > > For what it's worth. All of my systems are installed with a fixed-
6 > > > size
7 > > > 512MB / with everything else (including /usr) on separate LVs.
8 > > >
9 > > > Whilst sbin vs bin is just a matter of what's available, to me it
10 > > > makes
11 > > > sense to keep these split. To me it's always been logical to keep
12 > > > administrative type (root) tools under sbin, and stuff that's
13 > > > generally
14 > > > useful for users under bin.
15 > > >
16 > > > Keeping / and /usr split (or the ability to keep it split) is rather
17 > > > crucial for me. It's for historic installations a matter of space
18 > > > constraints on /. For new installations it's a matter of keeping /
19 > > > as
20 > > > small as possible in order to have a smallish bootable system which
21 > > > can
22 > > > be used for recovering the rest of the system, ideally without an
23 > > > initrd
24 > > > (which also works to an extent).
25 > > >
26 > > > Kind Regards,
27 > > > Jaco
28 > > >
29 > > For the umpteenth time time: nothing will change. You can keep your
30 > > (albeit broken) separate / and /usr partitions. *NOTHING* will change
31 > > for anyone. There are no plans to change the defaults. This is *MERELY*
32 > > about giving people the chance to opt in to the /usr-merge.
33 > Thanks for the confirmation. As long as it's an OPTION I'm happy. And
34 > no, other than on my desktop machine a split /usr is working very well,
35 > and even in that case a split off /lib/firmware actually caused me much,
36 > much more problems (for i915 and amdgpu firmware) than a split /usr.
37 > Unfortunately /lib/firmware grew over the years and so I had no choice
38 > other than to split it off after the fact.
39 > > That said, the idea of using / as a "recovery" filesystem in general is
40 > > broken:
41 > > https://freedesktop.org/wiki/Software/systemd/separate-usr-is-broken/
42 > > And no, this is not systemd breaking your system, or Lennart, it's
43 > > distros and userlands not being careful to have things in / never
44 > > depend on things in /usr.
45 >
46 > It's saved my butt more than once when the (extremely) limited tools in
47 > the initrds on those same systems failed to do so. Mostly these cases
48 > weren't Gentoo. Yes RHEL, I'm looking at you. Gentoo I generally
49 > recover crazy faults without the use of system rescue CDs (probably
50 > required it 10 times over 15 years). Can't say the same for those
51 > distro's pushing for "recovery systems in initrd", and I'm running
52 > probably 3x more Gentoo systems than all other distro's combined.
53 >
54 > The only stuff so far I really wished worked without /usr was editors
55 > such as vim and/or nano (sed sufficed in those cases).
56 >
57 > Would contributing a script that's able to check which binaries in /bin
58 > (and /sbin) depend on libs not also on / be useful here? Perhaps as a
59 > QA check somehow?
60 >
61
62 I've been doing that for quite some time, and the usual answer was 'I
63 don't care, use initramfs, but I WON'T move files correctly to /usr'.
64
65 --
66 Best regards,
67 Michał Górny

Attachments

File name MIME type
signature.asc application/pgp-signature