1 |
On Sat, Jan 26 2013, Allan Gottlieb wrote: |
2 |
|
3 |
> I have read the news item and still have questions. The news item |
4 |
> covers several points. |
5 |
> |
6 |
> 1. remove udev-postmount: |
7 |
> I did this but worry that I now cannot reboot until I upgrade |
8 |
> udev. Is that correct? |
9 |
> |
10 |
> 2. Add CONFIG_DEVTMPFS=y. Easy. Kernel rebuilt and installed |
11 |
> in /boot (but have not rebooted). |
12 |
> |
13 |
> 3. Predictable network interface names. |
14 |
> I have the problematic udev rule. |
15 |
> Specifically 70-persistent-net.rules has (on one line) |
16 |
> |
17 |
> SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", |
18 |
> ATTR{address}=="00:1e:c9:48:f9:a0", ATTR{type}=="1", |
19 |
> KERNEL=="eth*", NAME="eth0" |
20 |
> |
21 |
> I read the bug report, but it is not as clear as I would like. |
22 |
> Is it true that I can change my file to simply |
23 |
> |
24 |
> SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", |
25 |
> ATTR{address}=="00:1e:c9:48:f9:a0", ATTR{type}=="1", |
26 |
> KERNEL=="eth*", NAME="net0" |
27 |
> |
28 |
> That is just change the NAME from eth0 to net0 ? |
29 |
> |
30 |
> 4. No support for kernels older than 2.6.39. No problem. |
31 |
> |
32 |
> 5. Separate /usr not affected. Good. |
33 |
> |
34 |
> The news item does not mention the problem of moving files |
35 |
> from /usr/lib/udev/rules.d to /lib/udev/rules.d. Am I correct in |
36 |
> believing that we still need one of the equivalents of |
37 |
> equery belongs -n /usr/lib/udev | xargs emerge -pv |
38 |
|
39 |
Thanks for all the suggestions. I did the following, which worked. |
40 |
|
41 |
1. Built and installed kernel with CONFIG_DEVTMPFS=y |
42 |
|
43 |
2. Moved udev-postmount back to /etc/init.d (I had moved it to /tmp). |
44 |
rc-update add udev-postmount default. |
45 |
3. Reboot with new kernel (udev unchanged). Success. |
46 |
|
47 |
4. Changed NAME=eth0 to NAME=net0 in 70-persistent-net.rules and |
48 |
eliminated clauses so have only (on one line) |
49 |
SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="00:1e:c9:48:f9:a0", |
50 |
NAME="net0" |
51 |
Corresponding changes to /etc/init.d /etc/runlevels/default |
52 |
|
53 |
5. Emerge update world to get new udev (just -1 udev has blocks) |
54 |
|
55 |
6. Change kernel configs as per udisks emerge output |
56 |
|
57 |
7. /usr/lib/udev already empty (due to make world?) so nothing to do |
58 |
|
59 |
8. Reboot with new kernel. Success |
60 |
|
61 |
allan |