[Bug 653365] New: network scripts pick always eth0 instead of (PXE) boot interface as PRIMARY
https://bugzilla.novell.com/show_bug.cgi?id=653365 https://bugzilla.novell.com/show_bug.cgi?id=653365#c0 Summary: network scripts pick always eth0 instead of (PXE) boot interface as PRIMARY Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: mt@novell.com ReportedBy: adrian@novell.com QAContact: qa@suse.de CC: ms@novell.com, ro@novell.com Found By: --- Blocker: --- when booting via a network interface != eth0 the network scripts do not apply DNS, default route and hostname, because they always handle eth0 as primary boot interface. As discussed with Marius and Marcus we should check for BOOTIF in /proc/cmdline, which can be set by pxelinux.0 to pick the correct network interface. Only observed on 11.3, but SLES 11 may be affected as well (I may just had luck that eth0 was used there on our build hosts). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=653365
https://bugzilla.novell.com/show_bug.cgi?id=653365#c
Marius Tomaschewski
https://bugzilla.novell.com/show_bug.cgi?id=653365
https://bugzilla.novell.com/show_bug.cgi?id=653365#c3
--- Comment #3 from Marius Tomaschewski
https://bugzilla.novell.com/show_bug.cgi?id=653365
https://bugzilla.novell.com/show_bug.cgi?id=653365#c4
Marius Tomaschewski
https://bugzilla.novell.com/show_bug.cgi?id=653365
https://bugzilla.novell.com/show_bug.cgi?id=653365#c5
Marius Tomaschewski
I've added the iBFT handling as a new setting now: DHCLIENT_PRIMARY_DEVICE=first
I've added the iBFT handling _and_ a new setting now: DHCLIENT_PRIMARY_DEVICE=first It allows to revert to the old "first up wins" behavior. Tested, the BOOTIF code works fine for me. Can go to factory when Hannes verifies the iBFT code is correct. Hannes: iBFT primary (/sys/firmware/ibft/ethernet0) == always the "dhcp primary" (sets default route & hostname) in ifup when multiple ifaces are configured with BOOTPROTO=ibft / dhcp? Except the user configures it differently, of course... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=653365
https://bugzilla.novell.com/show_bug.cgi?id=653365#c6
--- Comment #6 from Adrian Schröter
https://bugzilla.novell.com/show_bug.cgi?id=653365 https://bugzilla.novell.com/show_bug.cgi?id=653365#c Bug 653365 depends on bug 654649, which changed state. Bug 654649 Summary: dhcpcd ignores -G (--nogateway) option and sets default route http://bugzilla.novell.com/show_bug.cgi?id=654649 What |Old Value |New Value ---------------------------------------------------------------------------- Status|ASSIGNED |CLOSED Resolution| |FIXED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com