3 ms·
> After=network.target That only guarantees that your network devices have been enumerated, not that they are available with assigned addresses. I encounter
by dingaling 10y ago
> After=network.target
That only guarantees that your network devices have been enumerated, not that they are available with assigned addresses.
I encountered this problem with SSH failing to start on Ubuntu 16.04 server. systemd was launching SSH before the binding address had been assigned, causing SSH to abort and fail and the server to continue to boot without any way of accessing it remotely.
Workaround ( at the physical console ) was to add a Retry to the SSH unit and time it to coincide with the address having been assigned[0]. hacky, but no other unit imperatives worked.
[0] Default behaviour in the SSH unit, at least on Ubuntu, is that it tries once and never again.
- digi_owl 10y agoAnd here i thought systemd was about getting rid of those waits. Also, i expect the faithful to come and claim it is a Canonical fuckup.