5451328 Spin for connection success also when socket is not (yet) available

1 file Authored by abbra 12 years ago, Committed by mkosek 12 years ago,
    Spin for connection success also when socket is not (yet) available
    
    We were spinning for socket connection if attempt to connect returned errno 111
    (connection refused). However, it is not enough for local AF_UNIX sockets as
    heavy applications might not be able to start yet and therefore the whole path
    might be missing. So spin for errno 2 (no such file or directory) as well.
    
    Partial fix for
      https://fedorahosted.org/freeipa/ticket/1990