Gentoo Archives: gentoo-user

From: "Canek Peláez Valdés" <caneko@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] udev-197 moves from /usr/lib to /lib
Date: Fri, 11 Jan 2013 16:44:25
In Reply to: [gentoo-user] udev-197 moves from /usr/lib to /lib by walt
1 On Fri, Jan 11, 2013 at 8:04 AM, walt <w41ter@×××××.com> wrote:
2 > This seems to me like very happy news indeed, but I'm interested in contrary
3 > opinions. There's a recent thread discussing how udev-197 breaks lvm2, but
4 > that's a trivial fix once you know about it.
5 >
6 > The problem is caused because many apps including lvm2 install their udev
7 > config scripts in /usr/lib/udev/rules.d/ (where they never belonged in the
8 > first place IMO) and they should instead now go in /lib/udev/rules.d/.
9 > All you need to do is to re-emerge all of those packages *after* installing
10 > udev-197 and the config scripts will go in the correct place.
11 >
12 > You should do this before rebooting the machine because lvm2 won't work until
13 > its udev scripts are in the correct directory.
14 >
15 > Doesn't this seem to fix the problem with booting a separate /usr partition?
17 No, because the problem has never been in udev (nor systemd, for that
18 matter). It fixes how *Gentoo* packages udev; probably the devs read
19 the following comment from Lennart (note it was written almost a month
20 ago):
24 Certainly, <=sys-fs/udev-171-r9 didn't use --with-rootprefix in the ebuilds.
26 That's the reason Greg and many others were so dubious about eudev:
27 one of the primary reasons for the fork to exist is supposedly to
28 support a separate /usr without an initramfs... but that has *always*
29 been supported by udev. And systemd, for that matter. systemd/udev
30 prints a warning if it doesn't finds /usr at early boot, but both work
31 in such configuration without any problem (if configured properly by
32 the distribution, which apparently in Gentoo's case wasn't true).
34 So, no, it doesn't "fix" the separate /usr problem, because that has
35 never been a problem of udev nor systemd. And it's not going to be
36 "fixed" by eudev either, for the same reason.
38 But it fixes how udev it's packaged in Gentoo, which is very good
39 news. I haven't upgraded, since I need systemd-197 also (which wasn't
40 yet in the tree yesterday), and I don't use LVM, but I'm wondering if
41 the LVM problem happens when you use an initramfs. I'm guessing it
42 doesn't, since udev should read rules from /lib/udev/rules.d AND
43 /usr/lib/udev/rules.d.
45 Regards.
46 --
47 Canek Peláez Valdés
48 Posgrado en Ciencia e Ingeniería de la Computación
49 Universidad Nacional Autónoma de México


Subject Author
Re: [gentoo-user] udev-197 moves from /usr/lib to /lib Sascha Cunz <sascha-ml@×××××××××.org>
Re: [gentoo-user] udev-197 moves from /usr/lib to /lib Walter Dnes <waltdnes@××××××××.org>