unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Bone Baboon <bone.baboon@disroot.org>
To: phil@beadling.co.uk
Cc: help-guix@gnu.org
Subject: Re: Edits to `etc/resolv.conf` being overwritten
Date: Fri, 02 Apr 2021 09:08:47 -0400	[thread overview]
Message-ID: <87eefsg7fk.fsf@disroot.org> (raw)
In-Reply-To: <d98b5146-4329-4818-88f0-575c074e27d0.maildroid@localhost>

In this case I am not using Gnome or NetworkManager.  There are no
comment on the first line of `resolv.conf`.  I am connecting to the
internet using `wpa_supplicant` and `dhclient`.

phil@beadling.co.uk writes:

> I found when using GuixSD with Gnome that the network manager would
> periodically overwrite my DNS changes made directly to resolv.conf. 
>
> If you experience this issue it should leave a comment on the first line.
>
> I was able to make it work by changing it through Gnome's Settings
> GUI, rather than editing the file myself.  Even then I have to disable
> and re-enable the network interface for the new settings to take
> effect. 
>
> -----Original Message-----
> From: Bone Baboon <bone.baboon@disroot.org>
> To: help-guix@gnu.org
> Sent: Fri, 02 Apr 2021 2:37
> Subject: Edits to `etc/resolv.conf` being overwritten
>
> Any suggestion on how to stop my edits of `etc/resolv.conf` from being
> overwritten?
>
> `/etc/resolv.conf` is being overwritten removing changes I save to it.
> My edits to `etc/resolv.conf` specify some name servers.  Some time
> after my edits are saved the file is completely rewritten to it's
> original contents before I made my edits.  The original contents include
> nameserver, domain and search for my internet service provider's DNS. 


  reply	other threads:[~2021-04-02 13:10 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-02  1:36 Edits to `etc/resolv.conf` being overwritten Bone Baboon
2021-04-02  4:57 ` Jérémy Korwin-Zmijowski
2021-04-02  7:43 ` phil
2021-04-02 13:08   ` Bone Baboon [this message]
2021-04-02 16:07     ` Gary Johnson
2021-04-06 21:41       ` Bone Baboon
2021-04-07 14:34         ` Gary Johnson
2021-04-08 19:07           ` Bone Baboon
2021-04-08 19:17             ` Vincent Legoll
2021-04-10  3:40               ` Bone Baboon
2021-04-10  9:23                 ` Vincent Legoll
2021-04-10 19:50                   ` Bone Baboon
2021-04-09  3:22             ` Vladimir Sedach
2021-04-10  3:28               ` Bone Baboon

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87eefsg7fk.fsf@disroot.org \
    --to=bone.baboon@disroot.org \
    --cc=help-guix@gnu.org \
    --cc=phil@beadling.co.uk \
    /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: link
Be 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).