https://bugzilla.novell.com/show_bug.cgi?id=653365
https://bugzilla.novell.com/show_bug.cgi?id=653365#c4
Marius Tomaschewski changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hare@novell.com
--- Comment #4 from Marius Tomaschewski 2010-12-09 15:27:13 UTC ---
==> Hannes, Markus,
please correct me when I didn't understood you and something is wrong.
We were discussing this a bit with Hannes (iBFT) and Markus (kiwi/PXE)
yesterday and the iBFT and PXE code in the initrd rely on a specific
behavior here and if the default (users can configure it explicitly!)
selection of the DHCP primary interface is not consistent with initrd,
the users will run into problems.
On systems with iBFT, the iBFT primary (/sys/firmware/ibft/ethernet0)
should be also the dhcp primary, even when booting from primary failed
and the system booted from secondary [stable & same order as in iBFT]
as fallback.
On systems booting via PXE, the interface specified in the BOOTIF
parameter should be the dhcp primary by default [the user already
made an explicit choice with the "ipappend 2" parameter in the
pxelinux.cfg].
As usually, there is an exception: When the user has two interfaces
using dhcp, and the BOOTIF interface is for booting only (e.g. admin
and log only network) and maybe the dhcp server does not even provide
a default route on this interface, the another interfaces has to be
the primary, so the default route is set properly.
But this requires explicit configuration (also before, except when
the user has had luck and it just worked).
I've added the iBFT handling as a new setting now:
DHCLIENT_PRIMARY_DEVICE=first
It allows to revert to the old "first up wins" behavior.
Further, fixed the documentation (moved the DHCLIENT_PRIMARY_DEVICE
variable from ifcfg.template to dhcp config file).
The commit is:
http://gitorious.org/opensuse/sysconfig/commit/9f83ac4f48920bc5d781d75702ccd...
and (has to build, currently blocked by glibc build)
http://download.opensuse.org/repositories/home:/mtomaschewski:/branches:/Bas...
I'm going to retest it & submit to factory soon.
--
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.