Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-2902

sys-fs/eudev-3.1.2-r10 Error when renaming network interfaces by persistent-net-rules

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • None
    • None

      When useing the new udev package 3.1.2-r10 the usage of 70-net-persistent.rules does not work properly, when switching network interface names.

      When switching eth0 to eth1 and eth1 to eth0 by MAC address i get the following error at boot:

      [ 2.372007] e1000 0000:00:08.0 eth0: (PCI:33MHz:32-bit) 08:00:27:73:3e:58
      [ 2.372483] e1000 0000:00:08.0 eth0: Intel(R) PRO/1000 Network Connection
      [ 2.741815] e1000 0000:00:11.0 eth1: (PCI:33MHz:32-bit) 08:00:27:96:79:b8
      [ 2.742448] e1000 0000:00:11.0 eth1: Intel(R) PRO/1000 Network Connection
      [ 4.472025] udevd[1921]: Error changing net interface name 'eth0' to 'eth1': File exists
      [ 4.475308] udevd[1912]: Error changing net interface name 'eth1' to 'eth0': File exists

      When using 3.1.2-r1 all seems to work with temporary interface names:

      [ 2.411276] e1000 0000:00:08.0 eth0: (PCI:33MHz:32-bit) 08:00:27:73:3e:58
      [ 2.411753] e1000 0000:00:08.0 eth0: Intel(R) PRO/1000 Network Connection
      [ 2.793389] e1000 0000:00:11.0 eth1: (PCI:33MHz:32-bit) 08:00:27:96:79:b8
      [ 2.793833] e1000 0000:00:11.0 eth1: Intel(R) PRO/1000 Network Connection
      [ 4.584331] e1000 0000:00:11.0 eth125: renamed from eth1
      [ 4.610154] udevd[1918]: renamed network interface eth1 to eth125
      [ 4.610186] e1000 0000:00:08.0 eth126: renamed from eth0
      [ 4.660166] udevd[1923]: renamed network interface eth0 to eth126
      [ 4.660201] e1000 0000:00:08.0 eth1: renamed from eth126
      [ 4.690244] udevd[1923]: renamed network interface eth126 to eth1
      [ 4.690262] e1000 0000:00:11.0 eth0: renamed from eth125
      [ 4.730299] udevd[1918]: renamed network interface eth125 to eth0

            drobbins drobbins
            dk dk
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: