| Summary: | 6_d1: network cards were identified as eth[01] instead of enp2s[05] ("Error changing net interface name") | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Bit Twister <bittwister2> |
| Component: | Installer | Assignee: | Thierry Vignaud <thierry.vignaud> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | Normal | CC: | dvgevers, mageia, mageia, marja11, paiiou, tmb, westel |
| Version: | Cauldron | Keywords: | 6sta1 |
| Target Milestone: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | drakx-installer-binaries, systemd, udev | CVE: | |
| Status comment: | |||
| Attachments: |
from my Mageia-6-dev1-x86_64-DVD.iso insall
try including more udev/systemd stuff wait for udevd to complete |
||
|
Description
Bit Twister
2016-01-30 21:24:25 CET
Samuel Verschelde
2016-02-02 14:33:21 CET
Assignee:
bugsquad =>
thierry.vignaud
Bit Twister
2016-04-02 08:08:12 CEST
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) =>
mageia 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 enp3s5 (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
Georges Eckenschwiller
2016-04-27 15:40:54 CEST
CC:
(none) =>
paiiou 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
Marja Van Waes
2016-04-29 11:08:37 CEST
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?
Thierry Vignaud
2016-04-29 13:21:26 CEST
Source RPM:
drakx-installer-stage2 =>
drakx-installer-binaries, systemd 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"...
Thierry Vignaud
2016-04-29 15:09:06 CEST
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
Marja Van Waes
2016-05-23 10:59:36 CEST
Depends on:
(none) =>
18509
Thierry Vignaud
2016-06-08 17:12:52 CEST
Source RPM:
drakx-installer-binaries, systemd =>
drakx-installer-binaries, systemd, udev Interface renaming in stage1 fixed in dracut-044-10.mga6 and drakx-installer-images-2.35-15.mga6 Status:
ASSIGNED =>
RESOLVED 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
|