This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] resolv/resolv.h: allow alternative resolv.conf files
- From: Florian Weimer <fweimer at redhat dot com>
- To: Renzo Davoli <renzo at cs dot unibo dot it>, libc-alpha at sourceware dot org
- Date: Mon, 18 Sep 2017 17:12:49 +0200
- Subject: Re: [PATCH] resolv/resolv.h: allow alternative resolv.conf files
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx01.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx01.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=fweimer at redhat dot com
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 46A6981DFC
- References: <20170817115013.sepjn4aqfi3dlwje@cs.unibo.it>
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