On 04/15/2017 09:14 PM, Christian Schrötter wrote:
Are you sure network.target is enough?
network-online.target sounds much better for me.
Hi Christian,
No, I'm not really sure. Just tried it after finding #854475 thinking
that it might actually catch two problems at once.
Especially after stumbling previously over #847440 with resolvconf where
I expected the problem to be in the first place.
Now, in combination with the proposed change there, my guess would be
network.target could be sufficient.
Setting network.target with postfix at least with my two machines works
but maybe network-online.target might be the safe bet considering there
are many machines out there that run slower or faster.
Since I'm currently hunting down some similar race-conditions with
systemd machines (e.g. start of inn2) I can tell you with systemd
nothing is really easy. Start a machine 20 times and at least 2 times of
these you get something quite different.
Best regards,
Marcus Jodorf