[Bug 1623068] Re: Networkd fails to configure a ethernet network device on a 3.4 kernel

Simon Fels simon.busch at canonical.com
Wed Sep 14 09:46:23 UTC 2016


The actual error message comes from
https://github.com/systemd/systemd/blob/95adafc428b5b4be0ddd4d43a7b96658390388bc/src/network
/networkd-link.c#L1441 and due to the nature of this the problem only
occurs when the network interface isn't already up.

If lines 1391 to 1420 are commented on
https://github.com/systemd/systemd/blob/95adafc428b5b4be0ddd4d43a7b96658390388bc/src/network
/networkd-link.c#L1391 the kernel doesn't return EINVAL and the
interface is properly setup.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1623068

Title:
  Networkd fails to configure a ethernet network device on a 3.4 kernel

Status in systemd package in Ubuntu:
  Confirmed

Bug description:
  Knowing that a 3.4 based kernel is unsupported we have to get it
  working for a specific customer.

  Systemd itself boots up nicely already but networkd fails to configure
  a network device with the following configuration file in
  /etc/systemd/network

  $ cat /etc/systemd/network/enp1s0.network 
  [Match]
  Name=enp1s0

  [Network]
  DNS=8.8.8.8
  Address=192.168.178.30
  Gateway=192.168.178.1

  This gives the following error messages

  $ sudo /lib/systemd/systemd-networkd
  Enumeration completed
  enp1s0: Could not bring up interface: Invalid argument
  enp1s0: Could not set route: Invalid argument

  ifupdown or NetworkManager is reliable able to get the same interface
  up and configured.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1623068/+subscriptions



More information about the foundations-bugs mailing list