Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

net: allow all unix /etc/* paths to be assignable #8765

gopherbot opened this issue Sep 17, 2014 · 1 comment


None yet
4 participants
Copy link

commented Sep 17, 2014


go version 1.3

Hope in net/dnsconfig_unix.go able to have a public variable store /etc/resolv.conf,
then able to change it out side of net package. In net/hosts.go same issue on
/etc/hosts, it is a private variable, hope it could be a public variable too. Offer a
public function able to change it is also good.

This comment has been minimized.

Copy link

commented Sep 17, 2014

Comment 1:

CL mentions this issue.

@gopherbot gopherbot added the new label Sep 17, 2014

@bradfitz bradfitz removed the new label Dec 18, 2014

@mikioh mikioh changed the title hopeful /etc/hosts and /etc/resolv.conf could be define out side of "net" package net: allow all unix /etc/* paths to be assignable Jan 9, 2015

@mikioh mikioh added the Go2 label Feb 4, 2015

@rsc rsc added this to the Unplanned milestone Apr 10, 2015

@rsc rsc closed this Apr 10, 2015

@golang golang locked and limited conversation to collaborators Jun 25, 2016

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.