Gentoo Archives: gentoo-dev

From: "Nuno J. Silva (aka njsg)" <nunojsilva@×××××××.pt>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: Request of news item review: 2013-03-29-udev-predictable-network-interface-names.en.txt
Date: Sun, 31 Mar 2013 10:24:57
Message-Id: kj92nh$q4o$2@ger.gmane.org
In Reply to: Re: [gentoo-dev] Re: Request of news item review: 2013-03-29-udev-predictable-network-interface-names.en.txt by Walter Dnes
1 On 2013-03-31, Walter Dnes <waltdnes@××××××××.org> wrote:
2 > On Fri, Mar 29, 2013 at 04:45:50PM +0200, Samuli Suominen wrote
3 >
4 >> Those 70-* and 80-* are in udev pkg_postinst, this news item,
5 >> everywhere... can all 3 be deleted if you haven't modified them yourself.
6 >>
7 >> So that leaves one... local.rules... dunno about that. I'm curious.
8 >
9 > One paragraph you should add to the news item is...
10 >
11 >=======================================================================
12 >
13 > Users who change interface names will need to search, as root, for
14 > references to eth[0-9] in their config files. Then they will have to
15
16 "references to *their network devices* in their config files. [...]"
17
18 And maybe provide something like
19
20 "If you want a quick way to generate a list of network devices affected
21 by udev persistency rules, run:
22
23 grep -o 'NAME="[^"]*"' /etc/udev/rules.d/70-persistent-net.rules"
24
25 although I don't know for sure how reliable is this in other
26 systems/shells.
27
28
29 > change the config files to reflect the new names. At least the
30 > following search is suggested...
31 >
32 > grep -rl eth[0-9] /etc /var/lib
33 >
34 > Also any custom firewall/routing/network scripts in other locations
35 > should be searched for references to eth[0-9].
36 >
37 >=======================================================================
38 >
39
40
41 --
42 Nuno Silva (aka njsg)
43 http://njsg.sdf-eu.org/