public inbox for glibc-bugs@sourceware.org help / color / mirror / Atom feed
From: "carlos at redhat dot com" <sourceware-bugzilla@sourceware.org> To: glibc-bugs@sourceware.org Subject: [Bug network/30683] New: Add environment override for /etc/resolv.conf path Date: Tue, 25 Jul 2023 17:16:15 +0000 [thread overview] Message-ID: <bug-30683-131@http.sourceware.org/bugzilla/> (raw) 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.
next reply other threads:[~2023-07-25 17:16 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-07-25 17:16 carlos at redhat dot com [this message] 2023-07-25 17:16 ` [Bug network/30683] " carlos at redhat dot com
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-30683-131@http.sourceware.org/bugzilla/ \ --to=sourceware-bugzilla@sourceware.org \ --cc=glibc-bugs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).