Gentoo Archives: gentoo-dev

From: Joshua Kinard <kumba@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] usr merge
Date: Sun, 10 Apr 2016 11:56:04
Message-Id: 570A3F35.6080405@gentoo.org
In Reply to: [gentoo-dev] usr merge by William Hubbs
1 On 04/04/2016 21:19, William Hubbs wrote:
2 > All,
3 >
4 > I thought that since the usr merge is coming up again, and since I lost
5 > track of the message where it was brought up, I would open a
6 > new thread to discuss it.
7 >
8 > When it came up before, some were saying that the /usr merge violates
9 > the fhs. I don't remember the specifics of what the claim was at the
10 > time, (I'm sure someone will point it out if it is still a concern).
11 >
12 > I don't think creating usr merged stages would be that difficult. I
13 > think it would just be a matter of creating a new version of baselayout
14 > that puts these symlinks in place:
15 >
16 > /bin->usr/bin
17 > /lib->usr/lib
18 > /lib32->usr/lib32
19 > /lib64->usr/lib64
20 > /sbin->usr/bin
21 > /usr/sbin->bin
22 >
23 > Once that is in place in a new baselayout, I think portage's colission
24 > detection would be able to catch files that had the same names and were
25 > originally in different paths when building the new stages.
26 >
27 > I put some thought also in how to nigrate live systems, and I'm not sure
28 > what the best way to do that is. I wrote a script, which would do it in
29 > theory, but I haven't tested because I only have one system and if
30 > it breaks it the only way back would be to reinstall.
31 >
32 > The script is attached.
33 >
34 >
35 > Thoughts on any of this?
36 >
37 > William
38
39 I looked at Thunderbird, at my folder labeled "gentoo-dev", and it had "666"
40 unread messages. I should've done the smart thing and closed my mail program.
41 But noooo, I had to look inside the folder. I am now regretting this decision.
42
43 *sigh*, I can see the thread has gone clongie 'round the blonger, so all I'll
44 have to say is we should still try to maintain the choice for users. But, in
45 order to evaluate what amount of effort is needed to maintain that choice, we
46 need to know what packages break on such a setup, what the level of effort
47 needed to fix them is, and do those fixes impact the non-split crowd.
48
49 Create like, a table on the Wiki or some kind of metadata property per-package
50 that can contain a boolean or tri-state flag indicating whether it works or
51 doesn't work (or kinda works) on split-usr. Or a tracker on Bugzie. Something.
52
53 Once we know this, then we can work out what's the minimum system that can be
54 successfully run on split-usr. Then, knowing *that*, we can see if that system
55 can be supported by our @system target or some minimal subset of @world. As
56 new package versions come out of upstream, we update this metadata with changes
57 to the split-usr status, and this then provides a history of the more or less
58 amount of difficulty needed to maintain support for split-usr, and *then*, we
59 can make an objective decision to continue supporting or not supporting the
60 capability.
61
62 As for me, I am flat out ruling out a full-reinstall of all my systems. I have
63 fixed disk partition layouts on all of them that cannot be re-arranged unless I
64 tar up each filesystem and temporarily move it off, then rebuild the MD-RAID
65 and reformat the filesystems. I am simply not going to do that on my many SGI
66 systems, and whatever facet of upstream, whether it's some core GNU package or
67 RH itself, can go pound sand for all I care. I'll go back to a static /dev and
68 I'll manually mknod any missing devices if I have to.
69
70 You know it's getting ridiculous when you can maintain a Windows/NTFS partition
71 layout easier than a Linux one.
72
73 --
74 Joshua Kinard
75 Gentoo/MIPS
76 kumba@g.o
77 6144R/F5C6C943 2015-04-27
78 177C 1972 1FB8 F254 BAD0 3E72 5C63 F4E3 F5C6 C943
79
80 "The past tempts us, the present confuses us, the future frightens us. And our
81 lives slip away, moment by moment, lost in that vast, terrible in-between."
82
83 --Emperor Turhan, Centauri Republic

Replies

Subject Author
Re: [gentoo-dev] usr merge Rich Freeman <rich0@g.o>
Re: [gentoo-dev] usr merge "Anthony G. Basile" <blueness@g.o>