[cups.bugs] [LOW] STR #2920: Initialise resolver after failure in cups-polld
twaugh at redhat.com
Wed Sep 3 07:21:36 PDT 2008
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
When cups-polld has started, it may fail to resolve the required hostname
because the network interface is not yet up.
On Linux (and perhaps other operating systems), hostname resolution
failures are cached. When the network interface becomes available,
getaddrinfo() remembers the previous failure and returns without querying
the name server.
Here is a patch to reinit the resolver if we haven't yet resolved the
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the cups-devel