On 11/06/2015 16:06, Roman I Khimov wrote:
It was noted that with no servers in resolv.conf s6-dns always leaks an fd after s6dns_resolve_parse_g() usage. I wasn't able to trace it deeper, but always cleaning up in s6dns_resolve_parse() won't hurt.
Thanks for the report! However, this isn't the correct fix. I have committed the correct one in the latest git head. (s6dns_resolve_core is supposed to recycle dt itself if it fails.) I also have applied your second patch, thanks :) New release coming soon. -- Laurent