[PATCH] resolv/resolv.h: allow alternative resolv.conf files

Florian Weimer fweimer@redhat.com
Mon Sep 18 15:12:00 GMT 2017


My main concern at this point is that a lot of software hard-codes the 
/etc/resolv.conf path and parses the file on its own, to obtain the 
search path and the configured name servers.

Once we add an environment variable to change the path, that's going to 
add a lot of confusion because the system will have an inconsistent view 
on the data.  I do not have a good answer to that.

Thanks,
Florian



More information about the Libc-alpha mailing list