Mageia Bugzilla – Attachment 7710 Details for
Bug 17651
6_d1: network cards were identified as eth[01] instead of enp2s[05] ("Error changing net interface name")
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
wait for udevd to complete
udev.patch (text/plain), 739 bytes, created by
Thierry Vignaud
on 2016-04-29 14:00:53 CEST
(
hide
)
Description:
wait for udevd to complete
Filename:
MIME Type:
Creator:
Thierry Vignaud
Created:
2016-04-29 14:00:53 CEST
Size:
739 bytes
patch
obsolete
>commit 188dc425c4d6aea09f020cc5fe4c654b224db3ca >Author: Thierry Vignaud <thierry.vignaud@gmail.com> >Date: Fri Apr 29 11:17:42 2016 +0200 > > wait for udev to rename network interfaces if needed > >diff --git a/mdk-stage1/probing.c b/mdk-stage1/probing.c >index 956038d..b25a32b 100644 >--- a/mdk-stage1/probing.c >+++ b/mdk-stage1/probing.c >@@ -963,6 +963,7 @@ char ** get_net_devices(void) > if (!already_probed) { > already_probed = 1; /* cut off loop brought by: probe_that_type => my_modprobe => get_net_devices */ > probe_that_type(NETWORK_DEVICES, BUS_ANY); >+ system("udevadm settle"); // wait for udev to rename network interfaces if needed > } > > /* use /proc/net/dev since SIOCGIFCONF doesn't work with some drivers (rt2500) */
commit 188dc425c4d6aea09f020cc5fe4c654b224db3ca Author: Thierry Vignaud <thierry.vignaud@gmail.com> Date: Fri Apr 29 11:17:42 2016 +0200 wait for udev to rename network interfaces if needed diff --git a/mdk-stage1/probing.c b/mdk-stage1/probing.c index 956038d..b25a32b 100644 --- a/mdk-stage1/probing.c +++ b/mdk-stage1/probing.c @@ -963,6 +963,7 @@ char ** get_net_devices(void) if (!already_probed) { already_probed = 1; /* cut off loop brought by: probe_that_type => my_modprobe => get_net_devices */ probe_that_type(NETWORK_DEVICES, BUS_ANY); + system("udevadm settle"); // wait for udev to rename network interfaces if needed } /* use /proc/net/dev since SIOCGIFCONF doesn't work with some drivers (rt2500) */
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 17651
:
7630
|
7708
| 7710