Mailinglist Archive: opensuse (1047 mails)

< Previous Next >
Re: [opensuse] dracut adds ifname=enp65s1:ma:ca:dd:re:ss ip=enp65s1:static ?
  • From: Per Jessen <per@xxxxxxxxxxxx>
  • Date: Tue, 19 Jan 2016 14:41:30 +0100
  • Message-id: <n7leea$bsm$>
Per Jessen wrote:

Andrei Borzenkov wrote:

18.01.2016 15:59, Per Jessen пишет:
Over the weekend I've been playing with a new box, trying to make it
boot over nfs. Not many hairs left on my head.

After a lot of trial&error with both openSUSE Leap42 and 13.2, I
finally(!) noticed what dracut adds as default cmdline arguments -

ifname=enp65s1:ma:ca:dd:re:ss ip=enp65s1:static

The first bit is probably okay, but the second is certain not, when
use DHCP. Okay, I just override it "ip=dhcp" in the bootloader, but
surely this is new behaviour?

The change was submitted upstream by Thomas Renninger, so I suggest
you open bug report and assign it to trenn.

Thanks for digging that out, Andrei.

Just in case someone finds this later - the dracut config mentioned is
most probably correct. "ip=enp65s1:static" does not mean "use a static
network config", it means "use the stored config for this interface",
i.e. /etc/sysconfig/network/ifcfg-enp65s1. However, I'm installing
xen, and somehow the installation has decided to automatically create a
br0 device, and also amend ifcfg-enp65s1 to say "bootproto=none". This
is correct for a bridged xen network setup, but it won't work when
dracut wants to use enp65s1. I'm not sure who is to blame here, sofar
I've assigned the report to the xen maintainr.

Per Jessen, Zürich (-0.4°C) - virtual servers, made in Switzerland.

To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >