all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: phil@beadling.co.uk
To: help-guix@gnu.org,Bone Baboon <bone.baboon@disroot.org>
Subject: Re: Edits to `etc/resolv.conf` being overwritten
Date: Fri, 2 Apr 2021 08:43:31 +0100	[thread overview]
Message-ID: <d98b5146-4329-4818-88f0-575c074e27d0.maildroid@localhost> (raw)
In-Reply-To: <87ft09fowi.fsf@disroot.org>

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. 

When I run `sudo herd status` it outputs:

```
Started:
 + console-font-tty1
 + console-font-tty2
 + console-font-tty3
 + console-font-tty4
 + console-font-tty5
 + console-font-tty6
 + dbus-system
 + elogind
 + file-system-/dev/pts
 + file-system-/dev/shm
 + file-system-/gnu/store
 + file-system-/run/systemd
 + file-system-/run/user
 + file-system-/sys/firmware/efi/efivars
 + file-system-/sys/fs/cgroup
 + file-system-/sys/fs/cgroup/blkio
 + file-system-/sys/fs/cgroup/cpu
 + file-system-/sys/fs/cgroup/cpuacct
 + file-system-/sys/fs/cgroup/cpuset
 + file-system-/sys/fs/cgroup/devices
 + file-system-/sys/fs/cgroup/elogind
 + file-system-/sys/fs/cgroup/freezer
 + file-system-/sys/fs/cgroup/memory
 + file-system-/sys/fs/cgroup/perf_event
 + file-system-/sys/fs/cgroup/pids
 + file-system-/sys/kernel/debug
 + file-systems
 + guix-daemon
 + loopback
 + mcron
 + nscd
 + root
 + root-file-system
 + swap-/swapfile
 + syslogd
 + term-tty1
 + term-tty2
 + term-tty3
 + term-tty4
 + term-tty5
 + term-tty6
 + udev
 + urandom-seed
 + user-file-systems
 + user-processes
 + virtual-terminal
Stopped:
 - term-auto
One-shot:
 * host-name
 * sysctl
 * user-homes
```


  parent reply	other threads:[~2021-04-02  7:43 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 [this message]
2021-04-02 13:08   ` Bone Baboon
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

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

  git send-email \
    --in-reply-to=d98b5146-4329-4818-88f0-575c074e27d0.maildroid@localhost \
    --to=phil@beadling.co.uk \
    --cc=bone.baboon@disroot.org \
    --cc=help-guix@gnu.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: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.