From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 8LUGJqoXZ2B1FAAAgWs5BA (envelope-from ) for ; Fri, 02 Apr 2021 15:10:02 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id WNfxH6oXZ2DZXAAA1q6Kng (envelope-from ) for ; Fri, 02 Apr 2021 13:10:02 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C1A381DBA8 for ; Fri, 2 Apr 2021 15:10:01 +0200 (CEST) Received: from localhost ([::1]:42946 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lSJYl-00006P-9h for larch@yhetil.org; Fri, 02 Apr 2021 09:09:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43724) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lSJXn-00085g-Jg for help-guix@gnu.org; Fri, 02 Apr 2021 09:08:59 -0400 Received: from knopi.disroot.org ([178.21.23.139]:51234) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lSJXl-0007gx-KT for help-guix@gnu.org; Fri, 02 Apr 2021 09:08:59 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 0256050D18; Fri, 2 Apr 2021 15:08:55 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YmvhZyPMI5EM; Fri, 2 Apr 2021 15:08:53 +0200 (CEST) References: <87ft09fowi.fsf@disroot.org> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1617368929; bh=wC3n4Nw9WcnTgtjFoA8B+9FrheizeQxA+/U5/K/jfjw=; h=References:From:To:Cc:Subject:In-reply-to:Date; b=MrAflO3kVHjbweNJhG+rBxX+99l6w4Kyg/8xSANlJC7oW25iy7bWZlFk6n4b/RyY5 85ZyWmKu2L0lJWJZ0mqn53suVqMvjH465sRCFspepDHyvfNeLjCVaCLnsfLhTFUL0c sUnuj0B12E44xSuEnM73jfZ6Y95WKl3gUrD+PANj/3dXQ3lSzoTsSSH0rYV61DoQtH QrHyVuH1+kz72zmue0e0Pqzh54IjKyZkTke9dfxRjxqzKlyiPP8s+biag4JG9HHH1A rEJBWP5hDtubBUZVvmY0HuqepRMfmbRSshAmAKLr7EthJ2N9sAPjVD9wxi30gvt8bn 9E/E4Jstu19CA== From: Bone Baboon To: phil@beadling.co.uk Cc: help-guix@gnu.org Subject: Re: Edits to `etc/resolv.conf` being overwritten In-reply-to: Date: Fri, 02 Apr 2021 09:08:47 -0400 Message-ID: <87eefsg7fk.fsf@disroot.org> Mime-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=178.21.23.139; envelope-from=bone.baboon@disroot.org; helo=knopi.disroot.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1617369001; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=h5UmKuEbrqBCalX1hyMd7Th2vRDqTJsXQfAvoPORnZ8=; b=iPcv/yD/e3+rpIJJPGv8yLr3A/z3+4KpqJJI6D8kp7t33HELnFxpyF6cbNVZqbYjv6Fy0V 6HIoVP+hBP4575oayTYMOLtlHrF0mnhCYzEEZIDfMI9fKedXMS62Xnt6zitUyY3RKezunT NLB/AmaPDVUy+GUNQaA0zv/VuIgOymGeVoUvCSOptDrD2bVwGma4l4IM3m8NOb4UXuejpH Pkp30lhcu/GeA8RGq6HfZqeSbnO924jR859P3PQ8F20dL1bEvx4m3qALoeY/MLuPIAGS0q vtHCRrsqCwL+W+dGhdxIWIEFSfNzqTy061jn/2NQ4I19SfEyJgAPVCdPj+nI3Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1617369001; a=rsa-sha256; cv=none; b=XWJTvpvFeBEcrAieRCmRiMAyzv090UvuWlqt+hF9J6CXL/MV9AfGova8iFVGiAMp4PTAkr Ob7RZ+uFBBg8vTcq46SfEZVeSOShoHhGT5+XT8G75YfDl/W9DTbcDV8ANK3fLEm+QXBK9l NEWWfFSe5p9ArOx8TLz0PrPsI2vWUaBMq4vnSEvw0e9mSiptMAYLhcUmFYNdC0odZdJn6T nt5XudtZ8qyC57I62KoORVkFqTlO0ERfA+y0UShcjXUiFZtfBpg8qKgoWs8MIv1d1dfrtE gko/xDCKtKAviFEC7D7mDw3Ht1fCmpcjjSkLfMinjZqQ5I72Va0G7DsqKeFelg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=MrAflO3k; dmarc=pass (policy=quarantine) header.from=disroot.org; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.13 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=MrAflO3k; dmarc=pass (policy=quarantine) header.from=disroot.org; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: C1A381DBA8 X-Spam-Score: -1.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: Tz2Gl02zQRcL 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 > 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.