Bug#868650: network-online.target should not be reached before getaddrinfo() can succeed

Michael Biebl biebl at debian.org
Mon Jul 17 12:15:42 BST 2017


Control: reassign -1 ifupdown

Am 17.07.2017 um 12:57 schrieb Wouter Verhelst:
> Hi,
> 
> On Mon, Jul 17, 2017 at 12:14:45PM +0200, Michael Biebl wrote:
>> Control: tags -1 + moreinfo
>>
>> Hi Wouter
>>
>> Am 16.07.2017 um 12:05 schrieb Wouter Verhelst:
>>> It would seem that systemd reaches network-online.target before the network is
>>> fully functional
>> network-online.target is just a concept not an implementation. It
>> depends on the individual network config tool to hook properly into it.
> 
> Right, okay.
> 
>> What tools do you use to configure your network?
> 
> The test VM used ifupdown.
> 
>> systemd-networkd has systemd-network-wait-online.service which needs to
>> be enabled and then hooks into network-online.target,
>>
>> NetworkManager has NetworkManager-wait-online.service which needs to be
>> enabled and then hooks into network-online-target,
>>
>> ifupdown has no wait-online service. It simply runs ifup -a before
>> network-online.target. This excludes allow-hotplug interfaces.
> 
> I suppose that "ifup -a" returns before everything's set up properly
> then; that would explain it.

I'm reassigning this to ifupdown then. Assuming you use "auto"
interfaces this is supposed to work.

Regards,
Michael


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20170717/d318496a/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list