Gentoo Archives: gentoo-dev

From: William Hubbs <williamh@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] udev-ng? (Was: Summary Council meeting Tuesday 13 November 2012)
Date: Sun, 18 Nov 2012 17:23:40
Message-Id: 20121118172255.GA25320@linux1
In Reply to: Re: [gentoo-dev] udev-ng? (Was: Summary Council meeting Tuesday 13 November 2012) by Pacho Ramos
1 On Sun, Nov 18, 2012 at 10:48:33AM +0100, Pacho Ramos wrote:
2 > El dom, 18-11-2012 a las 11:13 +0200, Samuli Suominen escribió:
3 > > On 18/11/12 07:19, Greg KH wrote:
4 > > > On Sun, Nov 18, 2012 at 12:00:52AM -0500, Richard Yao wrote:
5 > > >> Having a builtin is a good idea, but the implementation as a mandatory
6 > > >> dependency on kmod is not. The plan is to reintroduce it as an optional
7 > > >> dependency, so that distributions (and Gentoo users) that do not want it
8 > > >> can avoid it. None of us want to force dependencies on others and there
9 > > >> is no need for this one.
10 > > >
11 > > > You do realize that you didn't really drop the dependency at all, right?
12 > >
13 > > Exactly what I had in mind. So far I see bunch of regressions (back to
14 > > bundling code :() in the "eudev" repository and more it deviates from
15 > > the orig. upstream the less attractive it's looking...
16 > >
17 > > What should be done, at most, is to cherry-pick and revert the things
18 > > that killed the sep. /usr support, put it behind an USE flag to the
19 > > current udev's ebuild, perhaps IUSE="+vanilla", and be done with it.
20 > >
21 > > - Samuli
22 > >
23 > >
24 >
25 > +1
26 >
27 > @eudev maintainers, Wouldn't that be possible?
28
29 Anything is possible.
30
31 The issue right now is the relationship between ryao and the udev team
32 (at least me).
33
34 I don't want to bore the list with the details, but ryao misunderstood
35 some action (or lack of action) on my part as ignoring him.
36
37 Samuli, myself and robbat2 are the udev team for gentoo. What I do not
38 know is if ryao spoke to the other team members, but what I do know is
39 that a private irc conversation months ago is fine, but, from my
40 perspective, it would have made sure that I didn't lose track of things
41 if bugs had been filed, and they were not, so that is the only reason I
42 lost track of his concerns.
43
44 I asked him several times about joining the udev team, but for whatever
45 reason, he feels that starting this fork was the best option, and he
46 has told me he can't stop it.
47
48 I'm with gregkh on the separate /usr issue though. It isn't just udev
49 that has issues when /usr is split off. I think the myth that udev is
50 the only culprit came out of the April 2012 council meeting.
51
52 I'm pretty sure that what I'm about to say will be dismissed by the
53 supporters of separate /usr without an initramfs or without using the
54 sep-usr option we now have in our busybox ebuild, but in truth,
55 splitting / from /usr is broken another way that we have been ignoring
56 for a decade.
57
58 We have been getting around part of the issue by moving shared libraries
59 from /usr/lib* to /lib* and using gen_usr_ldscript to make sure the
60 linker knows what we have done with them.
61
62 The other breakage is any program that reads data from /usr/share does
63 not work right if / and /usr are split and that program starts in early boot.
64
65 I don't know what else would have to be fixed off the top of my head,
66 but I can tell you that locales/nls are broken for early boot without
67 an initramfs if / and /usr are split.
68
69 Basically, if we want separate /usr without an initramfs and we want to
70 do it right, we have to create /share and start copying things from
71 /usr/share/* to /share/* and patching code to support reading both locations,
72 starting with gettext/NLS support.
73
74 So here is the question I'll pose. Is it worth all of that extra
75 work for us to support separate /usr correctly, or should we just tell
76 everyone to start using initramfs or, if they don't want to use
77 initramfs and they are just using plain filesystems, the
78 busybox[sep-usr] option once all of the tools are stable?
79
80 I used separate /usr for a long time here without an initramfs, but
81 after studying why this was broken, I switched over to an initramfs, and
82 have been running one for months, because that seems to be the cleanest
83 way forward.
84
85 There is one other issue right now,
86 and I don't know what util-linux is doing with it since our bug hasn't
87 been updated in some time [1].
88
89 William
90
91 [1] https://bugs.gentoo.org/show_bug.cgi?id=410605

Replies