Bug 81287 - networkd: network.target / network.online.target reached while ipv6 address still tentative
Summary: networkd: network.target / network.online.target reached while ipv6 address s...
Status: RESOLVED FIXED
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Tom Gundersen
QA Contact: systemd-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-13 10:12 UTC by Sander Zuidema
Modified: 2014-08-19 17:01 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Sander Zuidema 2014-07-13 10:12:48 UTC
On a network interface with both a (static) ipv4 and ipv6 address, both network.target and network-online.target are reacheu while the requested ipv6 address (or addresses) are still tentative.

On my system, this causes nginx service to fail during boot as it cannot bind the requested ipv6 address yet. Manually starting the service later on works as expected.

IMHO at least network.online target should only be reached when all (as opposed to just one) requested Addresses have been succesfully confirmed.
Comment 1 Zbigniew Jedrzejewski-Szmek 2014-07-14 11:59:49 UTC
What program are you using to configure the network?
Comment 2 Sander Zuidema 2014-07-14 12:08:34 UTC
I'm using systemd-networkd with a straightforward static configuration, so...

- One single ipv4 address
- A handful of ipv6 addresses

With fictional ip addresses, the .network file looks like this

[Match]
Name=en*

[Network]
DHCP=none
Address=101.01.01.010/27
Gateway=100.11.00.110
Address=2a01:4f8:191:c0de::babe/64
Address=2a01:4f8:191:c0de::1337/64
(etc)
Gateway=fe80::1
Comment 3 Tom Gundersen 2014-08-19 17:01:56 UTC
Thanks fro the report!

This should now work with current git, but please reopen if you are experiencing problems.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.