Description of problem: network cards were identified as eth0 and eth1 instead of enp2s0 and enp3s5 after boot I used mcc draknetcenter to configure /etc/sysconfig/network-scripts/ifcfg-enp2s0 and /etc/sysconfig/network-scripts/ifcfg-enp3s5 Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. download all.rdz and vmlinuz from mageia/distrib/cauldron/x86_64/isolinux/x86_64/ current test used Jan 29 10:24 all.rdz and Jan 29 10:24 vmlinuz 2. create /boot/grub/menu.lst boot stanza something like title Network_install kernel (hd0,7)/vmlinuz root=/dev/ram3 ramdisk_size=32000 noresume audit=0 vga=791 initrd (hd0,7)/all.rdz 3. run through http network install. note nic name(s) during mirror selection and during network configuration after packages are installed. Reproducible: Steps to Reproduce:
Assignee: bugsquad => thierry.vignaudCC: (none) => mageia
Source RPM: (none) => drakx-installer-stage2
@Bit: can you attach your /root/drakx/report.bug.xz file? @Colin: I was thinking about including /usr/lib/udev/rules.d/60-net.rules & /lib/udev/rename_device from initscripts in installer's stage2, but that's not what we need. Are you aware of any change in udev rules regarding naming interfaces? Do we need to include /etc/udev/hwdb.bin & /usr/bin/systemd-hwdb ? There's also biosdevname: I'm thinking about /usr/lib/udev/rules.d/71-biosdevname.rules & /sbin/biosdevname But that's not supposed to be used by default.
CC: (none) => mageiaKeywords: (none) => NEEDINFO
Created attachment 7630 [details] from my Mageia-6-dev1-x86_64-DVD.iso insall How can I view report.bug.xz
(In reply to Bit Twister from comment #2) > How can I view report.bug.xz It's a compressed text file, so you need to uncompress it with `xz -d report.bug.xz` to read it (but it's good to have attached it compressed though, as it makes it fit bugzilla's size limit).
(In reply to Rémi Verschelde from comment #3) > > It's a compressed text file, so you need to uncompress it with `xz -d > report.bug.xz` to read it (but it's good to have attached it compressed > though, as it makes it fit bugzilla's size limit). Thank you. My notes has zcat report.bug.xz for viewing, but could not find it. Might consider using gdisk instead of fdisk. Snippet of my sda drive. Number Start (sector) End (sector) Size Code Name 1 2048 1640447 800.0 MiB 8300 recovery part 2 1640448 2164735 256.0 MiB 8300 EFI SYSTEM 3 2164736 2410495 120.0 MiB 8300 Ms reserved 4 2410496 86378495 40.0 GiB 8300 mga3 5 86378496 170346495 40.0 GiB 8300 mga4 6 170346496 254314495 40.0 GiB 8300 mga5 7 254314496 338282495 40.0 GiB 8300 cauldron
The problem causes a dead network and causes shorewall to be mis-configured upon reboot. User then has to reconfigure the network, modify /etc/shorewall/interfaces and possibly zones depending on number of nics, and remove the /etc/sysconfig/network-scripts/ifcfg-eth* files.
Summary: mga6: network cards were identified as eth0 and eth1 instead of enp2s0 and enp3s5 => 6_d1: network cards were identified as eth0 and eth1 instead of enp2s0 and enp3s5Keywords: NEEDINFO => (none)Severity: normal => major
(In reply to Bit Twister from comment #2) > Created attachment 7630 [details] > from my Mageia-6-dev1-x86_64-DVD.iso insall > > How can I view report.bug.xz with xzcat report.bug.xz | less Btw, I had missed this report when I first saw bug 17683, so missed that was a duplicate. It is mentioned there that this bug is also valid for wlan cards https://bugs.mageia.org/show_bug.cgi?id=17683#c2
CC: (none) => marja11
*** Bug 17683 has been marked as a duplicate of this bug. ***
CC: (none) => westel
CC: (none) => paiiou
*** Bug 17928 has been marked as a duplicate of this bug. ***
CC: (none) => dvgevers
Created attachment 7708 [details] try including more udev/systemd stuff
valid for Mageia-6-sta1-i586-DVD.iso DATE.txt: Mon Apr 25 22:13:53 CEST 2016
Keywords: (none) => 6sta1
Colin, I played with adding more udev rules when I saw: systemd-udevd[908]: Error changing net interface name 'eth0' to 'ens3': Device or resource busy systemd-udevd[908]: could not rename interface '2' from 'eth0' to 'ens3': Device or resource busy Any idea? Shouldn't we include the renaming rules in stage1?
err forgot last line as those logs came from stage1. Any idea though? Should we run "udevadm settle" before using network?
Source RPM: drakx-installer-stage2 => drakx-installer-binaries, systemdSummary: 6_d1: network cards were identified as eth0 and eth1 instead of enp2s0 and enp3s5 => 6_d1: network cards were identified as eth[01] instead of enp2s[05] ("Error changing net interface name")
Created attachment 7710 [details] wait for udevd to complete I've tried this. This silenced the systemd error but still the interface kept be named "eth0"...
Status: NEW => ASSIGNED
Mageia-6-sta1-i586-DVD my wired lan connection is identified as enp3s0. however connects to modem, does not connect to internet. removing connection and configuring a new wired connection works. new connection is identified as enp3s0
Depends on: (none) => 18509
Source RPM: drakx-installer-binaries, systemd => drakx-installer-binaries, systemd, udev
*** Bug 18509 has been marked as a duplicate of this bug. ***
Depends on: 18509 => (none)
Interface renaming in stage1 fixed in dracut-044-10.mga6 and drakx-installer-images-2.35-15.mga6
Status: ASSIGNED => RESOLVEDCC: (none) => tmbResolution: (none) => FIXED
commit 69461af9b8bd2fc335142856d97cc2669fb55098 Author: Thomas Backlund <tmb@...> Date: Sun Jun 12 14:41:10 2016 +0000 mgainstaller: fix network interface renaming (mga#17651) Since systemd 220 interface renaming changed, and this file is needed for it to trigger in stage1 as we dont run full systemd/udev there. Fixes: https://bugs.mageia.org/show_bug.cgi?id=17651 Signed-of-by: Thomas Backlund <tmb@mageia.org> --- Commit Link: https://gitweb.mageia.org/software/mageia-dracut-conf/commit/?id=69461af9b8bd2fc335142856d97cc2669fb55098