Gentoo Archives: gentoo-dev

From: Samuli Suominen <ssuominen@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Warn users not to do separate /usr partition without proper initramfs in the handbook?
Date: Sat, 30 Jul 2011 13:58:41
Message-Id: 4E340D4B.8040403@gentoo.org
In Reply to: Re: [gentoo-dev] Warn users not to do separate /usr partition without proper initramfs in the handbook? by Ciaran McCreesh
1 On 07/30/2011 01:46 PM, Ciaran McCreesh wrote:
2 > On Sat, 30 Jul 2011 10:27:27 +0300
3 > Samuli Suominen <ssuominen@g.o> wrote:
4 >> Since running separate /usr without mounting it from initramfs on top
5 >> of / before init is and has been broken with udev for a long time
6 >> now[1][2][3]
7 >>
8 >> [1] http://bugs.gentoo.org/show_bug.cgi?id=364235
9 >> [2] http://fedoraproject.org/wiki/Features/UsrMove#Move_all_to_.2Fusr
10 >> [3]
11 >> http://www.freedesktop.org/wiki/Software/systemd/separate-usr-is-broken
12 >>
13 >> Can we warn users about not doing the separate /usr mistake in the
14 >> handbook?
15 >
16 > It's important to consider the timeline here. Separate /usr was
17 > accidentally broken by a sudden increase in dependencies from base
18 > system packages to desktopy things. It was only later that certain
19 > people decided that "oh, separate /usr is a bad idea anyway", and they
20 > did so because they couldn't figure out how to fix the mess they'd
21 > caused. This is very much a case of carelessly letting the horse escape
22 > and then trying to convince everyone that no-one needs a horse anyway...
23 >
24
25 Someone mentioned NFS mount on /usr. Do we have other reasons? How
26 many users that might be?
27
28 I dislike the documentation not being clear on separate /usr, that it
29 should only be used if you *really* need it due to the potential problems
30
31 I dislike the IUSE="+static" some packages are currently doing to
32 workaround this, instead of moving the needed shared libs to /
33
34 I dislike the idea of pciutils and usbutils database(s) in non-standard
35 location in / to keep udev working
36
37 I dislike the idea of moving libglib-2.0, libdbus-1, libdbus-glib-1, and
38 couple of dozen more libs to /
39
40 I dislike the idea of maintaining and keeping track of the files in /
41 using files from /usr. Does any of the PMs have check for this, like
42 NEEDED entries? I can imagine this getting past the maintainers easily
43 otherwise
44
45 Most likely still not seeing the full picture here, and just scratching
46 the surface...
47 Despite that, I don't have any strong opinion on any of this, just need
48 to know if I should start moving the files over

Replies