Yes, the kernel has IPv6 support enabled so socket_ipv6_is_supported()
returns true and with that it tries to setup the IPv6 part of the
interface.

The two problems which I've found so far are:

 - an empty IFLA_AF_SPEC seems to cause the kernel to return EINVAL
 - having IPv6 enabled and IFLA_AF_SPEC is filled with the ipv6ll mode we get 
EINVAL

So to fix this we have to do two things:

 1. disable IPv6 support in the 3.4 kernel; if that is not acceptable for the 
real product later than we have to find another solution.
 2. move the open/close_container() inside the if() statement to avoid an empty 
container.

For 2. we may can work around this on the kernel side too to allow empty
IFLA_AF_SPEC containers.

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to