Gentoo Archives: gentoo-dev

From: "J. Roeleveld" <joost@××××××××.org>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: eudev project announcement
Date: Wed, 19 Dec 2012 23:28:49
Message-Id: 71370075.XjM0oziCTt@eve
In Reply to: Re: [gentoo-dev] Re: eudev project announcement by Greg KH
1 On Wednesday, December 19, 2012 09:13:28 AM Greg KH wrote:
2 > On Tue, Dec 18, 2012 at 08:21:36AM +0100, J. Roeleveld wrote:
3 > > On Mon, December 17, 2012 22:31, Greg KH wrote:
4 > > > On Mon, Dec 17, 2012 at 09:03:40PM +0100, J. Roeleveld wrote:
5 > > >> Olav Vitters <olav@×××××××.nl> wrote:
6 > > >> >On Mon, Dec 17, 2012 at 09:29:26AM -0500, Richard Yao wrote:
7 > > >> >> As I said in an earlier email, Lennart Poettering claims that it
8 > > >> >> does
9 > > >> >> not work. We are discussing some of the things necessary to make it
10 > > >> >
11 > > >> >work.
12 > > >> >
13 > > >> >Just to repeat:
14 > > >> >In this thread it was claimed that a separate /usr is not supported by
15 > > >> >systemd/udev.
16 > > >> >
17 > > >> >A case which works with latest systemd on various distributions. I
18 > > >> >checked with upstream (not Lennart), and they confirmed it works. I
19 > > >> >can
20 > > >> >wait for Lennart to say the same, but really not needed.
21 > > >> >
22 > > >> >I assume this will again turn into a "but I meant something else".
23 > > >>
24 > > >> Olav.
25 > > >>
26 > > >> Lennart has stated that he considers a seperate /usr without init*
27 > > >> broken.
28 > > >
29 > > > Yes, as do I, and so do a lot of other developers.
30 > >
31 > > It is only "broken", because upstream decided to move everything into /usr
32 > > that was previously in /.
33 >
34 > No, not at all, please see the web page that describes, in detail, the
35 > problems that has been going on for quite some time now, with the /usr
36 > and / partitions and packages.
37 > http://freedesktop.org/wiki/Software/systemd/separate-usr-is-broken
38 >
39 > One good solution to this issue is to move everything into /usr, and
40 > that's something that has wonderful benifits in the long run, and is
41 > something that I expect all Linux distros to eventually implement.
42 > Those that don't, will suffer because of it.
43 >
44 > Again, see the web page for why moving stuff into /usr is a good idea
45 > for the reasons behind this.
46 > http://www.freedesktop.org/wiki/Software/systemd/TheCaseForTheUsrMerge
47
48 Example: /usr Network Share
49 When /usr is on a network share, why not add a / on network as well?
50 I have multiple systems and as they all have different uses, they all have
51 different software installed.
52
53 Example: Multiple Guest Operating Systems on the Same Host
54 See answer to previous example.
55
56 How many environments actually currently exist where a shared /usr is being
57 used?
58
59 > > >> This has worked correctly in the past.
60 > > >
61 > > > Define "past" please.
62 > >
63 > > Recent past, like a few months ago no errors during boot and the system
64 > > running stable.
65 >
66 > You have gotten lucky, see the above links for why.
67
68 ALSA, LVM and HPLIP work perfectly with /usr on LVM without an initramfs.
69 I have sound, the LVM partitions are detected and mounted correctly and I can
70 use the full functionality of any HP printer I get access to.
71 Those three are listed as being broken.
72
73 > > Please provide a simple way to let me see that it is broken on systems
74 > > that do not use bluetooth keyboards.
75 >
76 > Again, see the above link for how to do this.
77
78 See above, 3 items that I use daily (apart from hplip, don't need printing and
79 scanner daily) are listed as broken, but work without error.
80 In what way should they be broken and how can I find out?
81
82 > > The requirement of having userspace working to have input devices working
83 > > seems to be related to bluetooth, not to USB or PS/2 keyboards.
84 >
85 > Not at all, see the above link.
86
87 Ok, a few other devices are mentioned, the only one I need to mount /usr in
88 that list is LVM, which starts correctly already.
89
90 > > And using a bluetooth connection to access a NFS share is, in my humble
91 > > opinion, a corner case that requires additional work to make it work.
92 >
93 > One person's "corner case" is another person's default operating mode.
94
95 Yes, but the "corner case" I just mentioned is one that won't work without a
96 init*. My use-case has been stable for years.
97
98 > > > Note, it's still broken, I have yet to see any upstream fixes to resolve
99 > > > all of the issues that are involved here with "fixing" this up.
100 > >
101 > > Reverting back to an older version makes it work.
102 >
103 > Because of how we package udev?
104
105 If it's packaging, then why are we having this discussion and do we need a
106 fork to fix udev?
107
108 > > Using "mdev" also works.
109 >
110 > mdev is not recommended for desktop or server systems, but feel free to
111 > use it if you want.
112
113 I might not be recommended, but it does proof that a seperate /usr is not
114 broken. The way udev doesn't handle it is.
115
116 > > > Yes, as always, for some subset of users, you can be lucky and it will
117 > > > work for them, but those systems are getting rarer and rarer these days,
118 > > > as the rest of upstream (not systemd here) are moving on and not doing
119 > > > anything to change their behavior for this topic.
120 > >
121 > > Why rarer? Any system I can buy in a random shop will work using a
122 > > seperate /usr, provided the software is installed sanely.
123 >
124 > Again, see above for why this is not true.
125
126 Only because udev-upstream declares such systems broken.
127
128 > > By moving everything into /usr, this brokenness is forced upon users.
129 >
130 > Not at all, but that's a separate topic than what we are talking about
131 > here.
132
133 True, but that move is done by the same individual(s). (Based on the name at
134 the bottom of both those pages you referenced)
135
136 > > >> The direction udev development is going, according to Lennart, is to
137 > > >> make that impossible and he refuses to fix this regression.
138 > > >
139 > > > Again, this has NOTHING to do with udev or systemd, as has been pointed
140 > > > out numerous times. I understand your _wish_ that it would have
141 > > > something to do with it, but that will not change the facts, sorry.
142 > >
143 > > Then what does it have to do with?
144 > > When it was made public that it is considered "broken", the news came from
145 > > udev-upstream. This was before most systems encountered any breakage.
146 >
147 > That is because things were failing silently for some people, and not so
148 > silently for others. Now udev warns about this type of situation,
149 > shooting the messenger is usually a bad idea.
150
151 Not planning to shoot the messenger.
152 But when upstream takes the easy way out by declaring seperate /usr broken
153 when that has been working correctly for years and then forcing additional
154 parts onto peoples systems that they do not need or want will not be accepted
155 with a smile.
156
157 > > >> I am really happy with this project and intend on testing it once
158 > > >> requests for this appear in the eudev mailing list.
159 > > >
160 > > > Good luck, the root problems still remain, and nothing that eudev ever
161 > > > does can resolve that, sorry.
162 > > >
163 > > > Can this topic finally be put to rest please? There is a whole web page
164 > > > devoted to this topic, why do people blindly ignore it?
165 > >
166 > > Where is this page?
167 > > I've read the page written by Lennart. Is there a decent (as in, going
168 > > into detail why it is broken and what it is caused by) analysis about the
169 > > "problem"?
170 >
171 > See above for the links and the details.
172
173 Those I already read before.
174 These show the following timeline:
175 1) Lets move everything into /usr
176 2) Wait, with everything in /usr, we can't mount /usr. Lets declare a seperate
177 /usr to be broken.
178 3) To solve 2, lets force everyone to use an init* that contains the stuff
179 that should have stayed in /.
180
181 > > > Again, a separate /usr without an initrd has NOTHING to do with systemd
182 > > > or udev, with the minor exception that Gentoo's packaging of those
183 > > > programs _might_ have an issue, but that is Gentoo's issue, NOT
184 > > > upstream's issue.
185 > > >
186 > > > If anyone involved with eudev, or is involved with the Gentoo Council
187 > > > thinks that the previous paragraph is incorrect, they are flat out
188 > > > wrong.
189 > >
190 > > I have yet to hear about a clear explanation why a seperate /usr is broken
191 > > apart from the use of bluetooth keyboards. (Which are still in the
192 > > minority when I check local shops/webstores)
193 >
194 > Again, see above for specifics.
195
196 See above why I feel those 2 links are insufficient as an explanation.
197
198 --
199 Joost

Replies

Subject Author
Re: [gentoo-dev] Re: eudev project announcement "Michał Górny" <mgorny@g.o>