Re: [systemd-devel] Unit to test if a domain is reachable

2014-08-14 Thread Lennart Poettering
On Thu, 17.07.14 11:37, Moviuro (movi...@gmail.com) wrote: However, everything I tried proved an utter failure: target says reached even though it doesn't even have an IP on any link; wait-online obviously didn't even check if I had a DNS whatsoever. This sounds like a shortcoming of your

Re: [systemd-devel] Unit to test if a domain is reachable

2014-07-18 Thread Tom Gundersen
On Fri, Jul 18, 2014 at 1:37 PM, Colin Guthrie gm...@colin.guthr.ie wrote: 'Twas brillig, and Moviuro at 17/07/14 11:41 did gyre and gimble: On Thursday 17 July 2014 12:12:22 you wrote: Why not just use network-online.target?

[systemd-devel] Unit to test if a domain is reachable

2014-07-17 Thread Moviuro
Hi all! Since (from my understanding) systemd devel team did not want to interpret nor force its interpretation of network availability on systemd consumers, we have to use some other services and cross fingers (network.target, systemd- networkd-wait-online.service and so on). However,

Re: [systemd-devel] Unit to test if a domain is reachable

2014-07-17 Thread Moviuro
On Thursday 17 July 2014 12:12:22 you wrote: Why not just use network-online.target? http://www.freedesktop.org/software/systemd/man/systemd.special.html#network -online.target o If it succeeds, the unit that needs to reach %i gets launched and my reachable-retry@ *does not* enter SUCCESS or