public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Udev update and persistent net rules changes
@ 2013-03-30 15:15 Tanstaafl
  2013-03-30 16:29 ` [gentoo-user] " Nuno J. Silva (aka njsg)
  2013-03-31 10:34 ` Nikos Chantziaras
  0 siblings, 2 replies; 102+ messages in thread
From: Tanstaafl @ 2013-03-30 15:15 UTC (permalink / raw
  To: gentoo-user

Ok, just read the new news item and the linked udev-guide wiki page, and 
the only thing left that I'm unsure/concerned about now is the 
persistent net rules changes...

The very last line on the wiki page says:

> 4. Known problems
>
> Stale 70-persistent-net.rules (or other network rules) in
> /etc/udev/rules.d can prevent the predictable network naming from being
> enabled. Both 70-persistent-net.rules and 70-persistent-cd.rules are
> from the now deleted rule_generator

These 'stale' 70- rules are all I have right now (again I'm still on 
udev-171-r10), and while the wiki page doesn't say what to do with/about 
them, it seems to hint that I could leave these in place and... they 
would still work as they did previously (prevent the predictable network 
naming from being enabled)?

My system (8+ years old) has a Tyan motherboard (S2895) with dual Gb 
ethernet ports, with only one port currently used (but both are enabled 
in the BIOS so both are listed in my current rules file).

Contents of rules.d:

myhost : Sat Mar 30, 08:33:28 : ~
  # ls -al /etc/udev/rules.d
total 16
drwxr-xr-x 2 root root 4096 Feb 23 15:04 .
drwxr-xr-x 4 root root 4096 Feb 23 15:04 ..
-rw-r--r-- 1 root root 1187 Apr 11  2010 70-persistent-cd.rules
-rw-r--r-- 1 root root  492 Feb 23 15:04 70-persistent-net.rules
-rw-r--r-- 1 root root    0 Feb 23 15:04 .keep_sys-fs_udev-0
myhost : Sat Mar 30, 08:33:29 : ~

Contents of 70-persistent-net.rules:

> # This file was automatically generated by the /lib/udev/write_net_rules
> # program, probably run by the persistent-net-generator.rules rules file.
> #
> # You can modify it, as long as you keep each rule on a single line.
>
> # PCI device 0x10de:0x0057 (forcedeth)
> SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:e0:81:54:9c:8b", KERNEL=="eth*", NAME="eth1"
>
> # PCI device 0x10de:0x0057 (forcedeth)
> SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:e0:81:54:9c:8a", KERNEL=="eth*", NAME="eth0"

So... after reading the new news item, am I right that all I need to do 
to make sure that my network comes up properly is... edit the 80-* 
rule(s) that are created after udev is updated to make sure the same 
adapters that were named eth0/1 are now named net0/1, and the kernel 
will now take care of naming net0/1 eth0/1?

Also, is it critical to remove (or at least rename) the old 70- rules 
*before* the update, or just be sure to do so before I reboot after the 
update?

Thanks - I'm sure I'm just being paranoid, but it has helped me to avoid 
lots of pain in the past with other major updates on this system over 
these last 8+ years.

(I'm not concerned about the cd rule because obviously that won't affect 
the system booting, so I can come back and fix this one later if needed)


^ permalink raw reply	[flat|nested] 102+ messages in thread

end of thread, other threads:[~2013-04-08 15:46 UTC | newest]

Thread overview: 102+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-30 15:15 [gentoo-user] Udev update and persistent net rules changes Tanstaafl
2013-03-30 16:29 ` [gentoo-user] " Nuno J. Silva (aka njsg)
2013-03-31 10:34 ` Nikos Chantziaras
2013-03-31 11:48   ` Nuno J. Silva (aka njsg)
2013-03-31 12:11     ` Nuno J. Silva (aka njsg)
2013-03-31 16:26       ` Pandu Poluan
2013-03-31 17:01         ` Dale
2013-03-31 17:45           ` Nuno J. Silva (aka njsg)
2013-03-31 18:26             ` Dale
2013-03-31 18:37               ` Nuno J. Silva (aka njsg)
2013-03-31 18:44                 ` Dale
2013-03-31 19:37                   ` Neil Bothwick
2013-03-31 20:19                     ` Tanstaafl
2013-03-31 21:30                       ` Mick
2013-04-01 13:18                       ` Neil Bothwick
2013-03-31 21:02                     ` Nuno J. Silva (aka njsg)
2013-04-01 19:26                   ` William Hubbs
2013-04-01 19:51                     ` Michael Mol
2013-04-01 20:11                       ` Dale
2013-04-02  0:00                       ` Peter Humphrey
2013-04-02 19:13                         ` Paul Hartman
2013-04-02 19:21                           ` Jarry
2013-04-02 19:41                             ` Tanstaafl
2013-04-02 19:58                               ` Alan McKinnon
2013-04-02 20:31                                 ` Grant Edwards
2013-04-02 20:56                                   ` Alan McKinnon
2013-04-02 21:15                                   ` Marc Joliet
2013-04-02 21:23                                     ` Marc Joliet
2013-04-02 21:36                                   ` Neil Bothwick
2013-04-03 15:13                                     ` Grant Edwards
2013-04-03 15:35                                       ` Neil Bothwick
2013-04-03 16:38                                         ` Grant Edwards
2013-04-03 17:42                                           ` Lee
2013-04-03 18:06                                           ` Jörg Schaible
2013-04-03 19:46                                             ` Bruce Hill
2013-04-03 22:28                                               ` Mick
2013-04-04 14:59                                                 ` Grant Edwards
2013-04-04 15:20                                                   ` Michael Mol
2013-04-04 16:27                                                 ` Bruce Hill
2013-04-05 16:07                                                 ` Tanstaafl
2013-04-04 15:58                                           ` Neil Bothwick
2013-04-04 16:37                                             ` [gentoo-user] " Jörg Schaible
2013-04-06 22:31                                               ` ny6p01
2013-04-03 16:01                                 ` [gentoo-user] " Jarry
2013-04-02 19:21                           ` Alan McKinnon
2013-04-04  8:10                             ` Nuno J. Silva (aka njsg)
2013-04-04  9:13                               ` Alan McKinnon
2013-04-04 13:07                                 ` Tanstaafl
2013-04-04 16:05                                   ` Neil Bothwick
2013-04-04 21:58                                     ` Walter Dnes
2013-04-05 16:17                                   ` William Hubbs
2013-04-05 17:32                                     ` Tanstaafl
2013-04-05 18:41                                       ` William Hubbs
2013-04-05 18:58                                         ` Tanstaafl
2013-04-05 20:21                                           ` William Hubbs
2013-04-05 18:59                                         ` William Hubbs
2013-04-05 19:38                                         ` Bruce Hill
2013-04-05 20:11                                           ` William Hubbs
2013-04-05 22:08                                             ` Bruce Hill
2013-04-06 14:25                                             ` Tanstaafl
2013-04-07 20:09                                               ` William Hubbs
2013-04-07 20:15                                                 ` Tanstaafl
2013-04-08 15:04                                                 ` Bruce Hill
2013-04-08 15:40                                                   ` Michael Mol
2013-04-08 15:46                                                 ` Bruce Hill
2013-04-06  1:14                                         ` Walter Dnes
2013-04-06  8:43                                           ` Neil Bothwick
2013-04-06 10:45                                             ` Mick
2013-04-06 12:11                                             ` Pandu Poluan
2013-04-06 12:31                                               ` kwkhui
2013-04-06 14:22                                                 ` Tanstaafl
2013-04-06 14:40                                                   ` Neil Bothwick
2013-04-06 15:02                                                     ` Tanstaafl
2013-04-06 14:46                                                 ` Pandu Poluan
2013-04-07  4:34                                                   ` Walter Dnes
2013-04-07 10:58                                                     ` Neil Bothwick
2013-04-07 15:26                                                       ` Pandu Poluan
2013-04-07 15:50                                                         ` Neil Bothwick
2013-04-06 15:17                                               ` Bruce Hill
2013-04-07  3:06                                               ` Grant Edwards
2013-04-07  3:32                                                 ` Michael Mol
2013-04-07 10:57                                                 ` Neil Bothwick
2013-04-04  8:01                       ` Nuno J. Silva (aka njsg)
2013-04-01 15:00                 ` »Q«
2013-03-31 19:06               ` Alan McKinnon
2013-03-31 19:46                 ` Dale
2013-04-01  6:25                 ` Pandu Poluan
2013-03-31 23:40           ` William Kenworthy
2013-03-31 14:40     ` [Bulk] " Kevin Chadwick
2013-03-31 19:55       ` Neil Bothwick
2013-03-31 20:01         ` Michael Mol
2013-03-31 20:34         ` Kevin Chadwick
2013-04-01  6:53           ` Neil Bothwick
2013-04-01  6:57             ` Pandu Poluan
2013-04-01 13:12               ` Neil Bothwick
2013-04-01 13:29                 ` Michael Mol
2013-04-01 13:54                   ` Neil Bothwick
2013-04-01 14:02                     ` Michael Mol
2013-04-01 13:30                 ` Kevin Chadwick
2013-04-01  1:02         ` Volker Armin Hemmann
2013-04-01  6:54           ` Neil Bothwick
2013-04-01  6:55       ` Neil Bothwick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox