Bug #3082

Unexpected ethernet interface rename

Added by Giacomo Sanchietti over 6 years ago. Updated over 6 years ago.

Status:CLOSEDStart date:
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:nethserver-base
Target version:v6.6
Security class: Resolution:
Affected version:v6.6-rc1 NEEDINFO:No

Description

Steps to reproduce
  • On a system with only one interface (eth0) add a new network interface
  • After reboot, the new interface is named eth2 and not eth1
Expected result
  • The new interface should be named eth1

When a new interface is added, udev triggers an event with a custom scripts.
If the script fails (eg. the filesystem is not mounted), the event is triggered again and multiple lines for the same mac address appear inside /etc/udev/rules.d/70-persistent-net.rules file.

Associated revisions

Revision f499d0e2
Added by Giacomo Sanchietti over 6 years ago

udev, rc.local: avoid interface rename. Refs #3082

History

#1 Updated by Giacomo Sanchietti over 6 years ago

  • Category set to nethserver-base
  • Status changed from NEW to TRIAGED
  • Target version set to v6.6-final
  • % Done changed from 0 to 20
  • Affected version set to v6.6-rc1

#2 Updated by Giacomo Sanchietti over 6 years ago

  • Status changed from TRIAGED to ON_DEV
  • Assignee set to Giacomo Sanchietti
  • % Done changed from 20 to 30

#3 Updated by Giacomo Sanchietti over 6 years ago

  • Status changed from ON_DEV to MODIFIED
  • % Done changed from 30 to 60

#4 Updated by Giacomo Sanchietti over 6 years ago

  • Status changed from MODIFIED to ON_QA
  • Assignee deleted (Giacomo Sanchietti)
  • % Done changed from 60 to 70
Package in nethserver-testing:
  • nethserver-base-2.6.1-1.1.gf499d0e.ns6.noarch.rpm
Test case
  • Check the bug is not reproducible

#5 Updated by Davide Principi over 6 years ago

  • Assignee set to Davide Principi

#6 Updated by Davide Principi over 6 years ago

  • Status changed from ON_QA to VERIFIED
  • Assignee deleted (Davide Principi)
  • % Done changed from 70 to 90

VERIFIED

#7 Updated by Giacomo Sanchietti over 6 years ago

  • Status changed from VERIFIED to CLOSED
  • Target version changed from v6.6-final to v6.6
  • % Done changed from 90 to 100
Released in nethserver-base:
  • nethserver-base-2.6.2-1.ns6.noarch.rpm

Also available in: Atom PDF