[Bug 1014251] New: dracut can't get default network device
http://bugzilla.suse.com/show_bug.cgi?id=1014251 Bug ID: 1014251 Summary: dracut can't get default network device Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: bnc-team-screening@forge.provo.novell.com Reporter: cbosdonnat@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Steps to reproduce ------------------ * Get a machine with 2 network devices * Connect both of the NICs to get such routes:
# ip route show default via 192.168.2.1 dev enp0s25 proto static metric 100 default via 192.168.1.254 dev wlp3s0 proto static metric 600 192.168.1.0/24 dev wlp3s0 proto kernel scope link src 192.168.1.131 metric 600 192.168.2.0/24 dev enp0s25 proto kernel scope link src 192.168.2.2 metric 100
* Run dracut --force Actual Results -------------- The dracut log shows these sort of error messages:
Failed to look up reference node - returned empty list sed: can't read /etc/install.inf: No such file or directory sed: -e expression #1, char 13: unterminated address regex Failed to look up reference node - returned empty list /lib/kdump/setup-kdump.functions: line 468: /sys/class/net/enp0s25 wlp3s0/addr_assign_type: No such file or directory /lib/kdump/setup-kdump.functions: line 469: [: : integer expression expected Cannot read permanent address: No such device Failed to look up reference node - returned empty list sed: can't read /etc/install.inf: No such file or directory sed: -e expression #1, char 13: unterminated address regex Failed to look up reference node - returned empty list /lib/kdump/setup-kdump.functions: line 468: /sys/class/net/enp0s25 wlp3s0/addr_assign_type: No such file or directory /lib/kdump/setup-kdump.functions: line 469: [: : integer expression expected Cannot read permanent address: No such device
Problem analysis ---------------- The function kdump_default_netdev in /lib/kdump/setup-kdump.functions doesn't handle the case where several default routes are existing. Using the metric to get one default device (or pick the first one if all with the same metric), could fix the problem. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1014251
Chenzi Cao
http://bugzilla.suse.com/show_bug.cgi?id=1014251
Chenzi Cao
http://bugzilla.suse.com/show_bug.cgi?id=1014251
http://bugzilla.suse.com/show_bug.cgi?id=1014251#c1
亚聃 范
http://bugzilla.suse.com/show_bug.cgi?id=1014251
pgnd _
http://bugzilla.suse.com/show_bug.cgi?id=1014251
Michal Koutný
participants (1)
-
bugzilla_noreply@novell.com