On Wed, Apr 2, 2014 at 3:22 PM, Matthew Monaco <[email protected]> wrote:
> On 04/02/2014 03:41 AM, Ivan Shapovalov wrote:
>> Hello all,
>>
>> I've noticed that systemd-networkd.service (ordered Before=network.target)
>> finishes its startup before the connection is established/failed. Because of
>> this, some networking daemons ordered After=network.target (like openvpn) are
>> prone to failures when they attempt to connect at startup.
>>
>> Is this intended, or is this a bug, or have I overlooked some piece of
>> configuration?
>>
>> Thanks, -- Ivan Shapovalov / intelfx /
>>
>
> For OpenVPN specifically, I *think* this is a bug (which I've poked at a
> little). OpenVPN should be able to handle the networking coming and going as
> it's running, but for some reason it can't resolve the remote address if it
> wasn't able to at first start, even though it attempts to resolve it at each
> connection attempt.

It could also be glibc issue. glibc caches /etc/resolv.conf, so if it
is updated when interface comes up glibc is unaware of it.
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to