public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug network/30683] New: Add environment override for /etc/resolv.conf path
@ 2023-07-25 17:16 carlos at redhat dot com
  2023-07-25 17:16 ` [Bug network/30683] " carlos at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: carlos at redhat dot com @ 2023-07-25 17:16 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=30683

            Bug ID: 30683
           Summary: Add environment override for /etc/resolv.conf path
           Product: glibc
           Version: 2.38
            Status: NEW
          Severity: normal
          Priority: P2
         Component: network
          Assignee: unassigned at sourceware dot org
          Reporter: carlos at redhat dot com
  Target Milestone: ---

We support RESOLV_HOST_CONF to override /etc/hosts.conf, so it makes sense to
extend this to override /etc/resolv.conf.

Possible options include a RESOLV_CONF environment variable.

Example:
RESOLV_CONF=/tmp/resolv.conf getent ahosts example.org

Should this be a tunable that has an environment variable specified?
e.g. GLIBC_TUNABLES=glibc.resolv.conf=/tmp/resolv.conf

It would have to be SXID_ERASE (default) IMO since AT_SECURE should not alter
their resolver configurations and subprocesses should also consistently produce
the same resolution results as the parent process.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug network/30683] Add environment override for /etc/resolv.conf path
  2023-07-25 17:16 [Bug network/30683] New: Add environment override for /etc/resolv.conf path carlos at redhat dot com
@ 2023-07-25 17:16 ` carlos at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: carlos at redhat dot com @ 2023-07-25 17:16 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=30683

Carlos O'Donell <carlos at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://bugzilla.redhat.com
                   |                            |/show_bug.cgi?id=2213823

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-07-25 17:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-25 17:16 [Bug network/30683] New: Add environment override for /etc/resolv.conf path carlos at redhat dot com
2023-07-25 17:16 ` [Bug network/30683] " carlos at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).