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

Bug#792152: PredictableNetworkInterfaceNames not used in installed /etc/network/interfaces



Package: installation-reports

Boot method: CD (virtual)
Image version: http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/amd64/iso-cd/debian-testing-amd64-netinst.iso
Date: July 11, 2015

Machine: VirtualBox VM
Processor: Intel Core i7-2600K
Memory: 512 MB
Partitions: <df -Tl will do; the raw partition table is preferred>
Filesystem     Type     1K-blocks   Used Available Use% Mounted on
/dev/sda1      ext4       1931600 825488    989940  46% /
udev           devtmpfs     10240      0     10240   0% /dev
tmpfs          tmpfs       101264   4472     96792   5% /run
tmpfs          tmpfs       253156      0    253156   0% /dev/shm
tmpfs          tmpfs         5120      0      5120   0% /run/lock
tmpfs          tmpfs       253156      0    253156   0% /sys/fs/cgroup

Output of lspci -knn (or lspci -nn):
00:00.0 Host bridge [0600]: Intel Corporation 440FX - 82441FX PMC [Natoma] [8086:1237] (rev 02)
00:01.0 ISA bridge [0601]: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II] [8086:7000]
00:01.1 IDE interface [0101]: Intel Corporation 82371AB/EB/MB PIIX4 IDE [8086:7111] (rev 01)
        Kernel driver in use: ata_piix
00:02.0 VGA compatible controller [0300]: InnoTek Systemberatung GmbH VirtualBox Graphics Adapter [80ee:beef]
00:03.0 Ethernet controller [0200]: Intel Corporation 82540EM Gigabit Ethernet Controller [8086:100e] (rev 02)
        Subsystem: Intel Corporation PRO/1000 MT Desktop Adapter [8086:001e]
        Kernel driver in use: e1000
00:04.0 System peripheral [0880]: InnoTek Systemberatung GmbH VirtualBox Guest Service [80ee:cafe]
00:05.0 Multimedia audio controller [0401]: Intel Corporation 82801AA AC'97 Audio Controller [8086:2415] (rev 01)
        Subsystem: Intel Corporation Device [8086:0000]
        Kernel driver in use: snd_intel8x0
00:06.0 USB controller [0c03]: Apple Inc. KeyLargo/Intrepid USB [106b:003f]
        Kernel driver in use: ohci-pci
00:07.0 Bridge [0680]: Intel Corporation 82371AB/EB/MB PIIX4 ACPI [8086:7113] (rev 08)
00:0d.0 SATA controller [0106]: Intel Corporation 82801HM/HEM (ICH8M/ICH8M-E) SATA Controller [AHCI mode] [8086:2829] (rev 02)
        Kernel driver in use: ahci

Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it

Initial boot:           [O]
Detect network card:    [O]
Configure network:      [O]
Detect CD:              [O]
Load installer modules: [O]
Detect hard drives:     [O]
Partition hard drives:  [O]
Install base system:    [O]
Clock/timezone setup:   [O]
User/password setup:    [O]
Install tasks:          [O]
Install boot loader:    [O]
Overall install:        [E]

Comments/Problems:

Network non-functional after first boot, but works during install.
Problem appears to be that network interface is called eth0 in /etc/network/interfaces, but name after first boot is enp0s3. This is shell-only install.
Reinstalled several times, it's reproduced 100% of the time.
Problem seems to be related to this: http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/
I switched to terminal during install, and 80-net-setup-link.rules is not under /lib/udev/rules.d. So during install network interface is still called eth0, could that be the problem?
If I switch to terminal during install and do: ln -s /dev/null /target/etc/udev/rules.d/80-net-setup-link.rules
then old network names are used after first boot and network starts ok. But that's a step backwards... proper thing would be if the network name written to /target/etc/network/interfaces is correct on first boot.
Alternatively if I change eth0 to enp0s3 in /etc/network/interfaces after install, then ifup, that also fixes it.

My /etc/network/interfaces at first boot looks like:

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp


Reply to: