[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#784877: netcfg: Network interfaces are detected twice when d-i "auto" parameter is specified



Package: netcfg
Version: 1.131
Severity: normal
Tags: d-i


I use preseeding to install Debian on several servers, which each have two ethernet cards.
The network interfaces seems to be detected twice by Debian Installer, who ask me to choose between eth2 and eth3 interfaces. While eth1 and eth2 interfaces does not appear during setup, all the network interfaces are duplicated in /etc/udev/rules.d/70-persistent-net.rules: 


# This file was automatically generated by the /lib/udev/write_net_rules
# program, run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and change only the value of the NAME= key.

# PCI device 0x8086:0x1521 (igb)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="0c:c4:7a:4a:53:8e", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

# PCI device 0x8086:0x1521 (igb)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="0c:c4:7a:4a:53:8f", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"

# PCI device 0x8086:0x1521 (igb)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="0c:c4:7a:4a:53:8e", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth2"

# PCI device 0x8086:0x1521 (igb)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="0c:c4:7a:4a:53:8f", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth3"


I use the following boot parameters: 
 auto=true priority=critical interface=eth0 netcfg/dhcp_timeout=30 url=tftp://XXXXXX/preseed.cfg languagechooser/language-name=English countrychooser/shortlist=FR debian-installer/locale=en_US.UTF-8 keyboard-configuration/xkb-keymap=fr  

If I remove "auto" and locale-related parameters this bug disappears.



-- System Information:
Debian Release: 8.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)


Reply to: