help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Edits to `etc/resolv.conf` being overwritten


From: Bone Baboon
Subject: Re: Edits to `etc/resolv.conf` being overwritten
Date: Fri, 09 Apr 2021 23:28:08 -0400

Vladimir Sedach writes:
> That is in fact what dhclient does. There is a list of workarounds on
> Debian Wiki:
>
> https://wiki.debian.org/resolv.conf
>
> I use the file attribute one on my Debian system.
>
> The ideal solution is to re-implement dhclient in Guile, and make it
> a configurable alternative to dhcp-client-service-type. That would be
> a lot of work though.

Thank you for sharing that link.  I tried the methods mentioned and the
one that worked for me was to use `chattr +i /etc/resolv.conf`.  Using
this approach required me to stop having my system configuration manage
the contents of `/etc/resolv.conf`.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]