Gentoo Archives: gentoo-user

From: Bruce Hill <daddy@×××××××××××××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] udev-197 moves from /usr/lib to /lib
Date: Fri, 11 Jan 2013 22:46:18
Message-Id: 20130111224259.GC11506@server
In Reply to: [gentoo-user] udev-197 moves from /usr/lib to /lib by walt
1 On Fri, Jan 11, 2013 at 06:04:01AM -0800, walt 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?
16
17 So, what you're telling us is that those "shmart fellers" who've been messing
18 up the init system That Just Works (TM) since at least last March, are finally
19 getting back to where they were with the last sane version of udev?
20
21 mingdao@server ~ $ eshowkw sys-fs/udev
22 Keywords for sys-fs/udev:
23 | | u |
24 | a a p s | n |
25 | l m h i m m p s p | u s | r
26 | p d a p a 6 i p c 3 a x | s l | e
27 | h 6 r p 6 8 p p 6 9 s r 8 | e o | p
28 | a 4 m a 4 k s c 4 0 h c 6 | d t | o
29 -----------+---------------------------+-----+-------
30 141-r1 | ~ ~ ~ + ~ ~ ~ ~ ~ ~ ~ ~ ~ | # 0 | gentoo
31 146-r1 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ | # | gentoo
32 149 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ | # | gentoo
33 151-r4 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ | # | gentoo
34 164-r2 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ | # | gentoo
35 [I]171-r9 | + + + + + + ~ + + + + + + | o | gentoo
36 171-r10 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ | o | gentoo
37 195 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ | # | gentoo
38 196-r1 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ | # | gentoo
39 197 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ | # | gentoo
40 197-r1 | ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ | o | gentoo
41 9999 | o o o o o o o o o o o o o | o | gentoo
42 mingdao@server ~ $ ls -l /lib/udev/rules.d/
43 total 100
44 -r--r--r-- 1 root root 6539 Feb 20 2012 10-dm.rules
45 -r--r--r-- 1 root root 1286 Jul 7 2010 11-dm-lvm.rules
46 -r--r--r-- 1 root root 1011 Nov 13 2009 13-dm-disk.rules
47 -rw-r--r-- 1 root root 742 Nov 18 16:46 30-kernel-compat.rules
48 -rw-r--r-- 1 root root 349 Nov 18 16:46 40-gentoo.rules
49 -rw-r--r-- 1 root root 764 Nov 18 16:46 42-qemu-usb.rules
50 -rw-r--r-- 1 root root 219 Nov 18 16:46 50-firmware.rules
51 -rw-r--r-- 1 root root 3777 Nov 18 16:46 50-udev-default.rules
52 -rw-r--r-- 1 root root 392 Nov 18 16:46 60-cdrom_id.rules
53 -rw-r--r-- 1 root root 672 Nov 18 16:46 60-persistent-alsa.rules
54 -rw-r--r-- 1 root root 2457 Nov 18 16:46 60-persistent-input.rules
55 -rw-r--r-- 1 root root 889 Nov 18 16:46 60-persistent-serial.rules
56 -rw-r--r-- 1 root root 1423 Nov 18 16:46 60-persistent-storage-tape.rules
57 -rw-r--r-- 1 root root 5565 Nov 18 16:46 60-persistent-storage.rules
58 -rw-r--r-- 1 root root 785 Nov 18 16:46 60-persistent-v4l.rules
59 -rw-r--r-- 1 root root 1973 Feb 20 2012 64-md-raid.rules
60 -rw-r--r-- 1 root root 254 Nov 18 16:46 75-probe_mtd.rules
61 -rw-r--r-- 1 root root 657 Nov 18 16:46 80-drivers.rules
62 -rw-r--r-- 1 root root 280 Nov 18 16:46 90-network.rules
63 -r--r--r-- 1 root root 492 Nov 1 2009 95-dm-notify.rules
64 -rw-r--r-- 1 root root 155 Nov 18 16:46 95-udev-late.rules
65 -rw-r--r-- 1 root root 28 Oct 14 20:42 99-fuse.rules
66 -rw-r--r-- 1 root root 51 Dec 30 10:32 99-ntfs3g.rules
67 mingdao@server ~ $ ls -l /usr/lib/udev/
68 ls: cannot access /usr/lib/udev/: No such file or directory
69
70
71
72 Hmm ... maybe someone can replace Kay and Lennart and Do It Right (TM).
73 --
74 Happy Penguin Computers >')
75 126 Fenco Drive ( \
76 Tupelo, MS 38801 ^^
77 support@×××××××××××××××××××××.com
78 662-269-2706 662-205-6424
79 http://happypenguincomputers.com/
80
81 Don't top-post: http://en.wikipedia.org/wiki/Top_post#Top-posting