From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cq/dNqPKb2AEFgEAgWs5BA (envelope-from ) for ; Fri, 09 Apr 2021 05:31:47 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id wImpL6PKb2B0IgAAB5/wlQ (envelope-from ) for ; Fri, 09 Apr 2021 03:31:47 +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 0186D23DAC for ; Fri, 9 Apr 2021 05:31:47 +0200 (CEST) Received: from localhost ([::1]:60050 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lUhs0-0000xf-K8 for larch@yhetil.org; Thu, 08 Apr 2021 23:31:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49486) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lUhrg-0000xX-HJ for help-guix@gnu.org; Thu, 08 Apr 2021 23:31:24 -0400 Received: from forward100p.mail.yandex.net ([77.88.28.100]:53236) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lUhrd-0000I0-D5 for help-guix@gnu.org; Thu, 08 Apr 2021 23:31:24 -0400 Received: from myt2-264a32256793.qloud-c.yandex.net (myt2-264a32256793.qloud-c.yandex.net [IPv6:2a02:6b8:c12:1a07:0:640:264a:3225]) by forward100p.mail.yandex.net (Yandex) with ESMTP id 2621D5981215; Fri, 9 Apr 2021 06:31:15 +0300 (MSK) Received: from myt5-aad1beefab42.qloud-c.yandex.net (myt5-aad1beefab42.qloud-c.yandex.net [2a02:6b8:c12:128:0:640:aad1:beef]) by myt2-264a32256793.qloud-c.yandex.net (mxback/Yandex) with ESMTP id CA0zVo4zul-VEJ0ZvLq; Fri, 09 Apr 2021 06:31:15 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oneofus.la; s=mail; t=1617939075; bh=LzetvD4f2NqALa9zkalZOpliVgI6gEh+sJcqbA/ufag=; h=In-reply-to:Subject:Cc:From:To:Date:References:Message-ID; b=A0PdJ2SVgqijLkG7MyWiRQXrEVAG2A1BCGi0eynXEteiqmck/hBGSmZLRCFiOMXIG 0kBHmxLvC4+W4mUOf0qlBdu+advVaQom0BZegCe4A8Tr+a7+cOJhapTY+TAs6nAEhF 9fOkCmt5nAsKIiG5xR2caCXICgwBHZ41EOut1QhI= Received: by myt5-aad1beefab42.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id oAbQLFdj8R-VCJqabPP; Fri, 09 Apr 2021 06:31:13 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) References: <87ft09fowi.fsf@disroot.org> <87eefsg7fk.fsf@disroot.org> <87blaw1xhf.fsf@disroot.org> <87czv7f5v6.fsf@disroot.org> <87o8eqxix7.fsf@disroot.org> <878s5sfvcr.fsf@disroot.org> User-agent: mu4e 1.4.15; emacs 27.1 From: Vladimir Sedach To: Bone Baboon Subject: Re: Edits to `etc/resolv.conf` being overwritten In-reply-to: <878s5sfvcr.fsf@disroot.org> Date: Thu, 08 Apr 2021 20:22:03 -0700 Message-ID: <8735w05ehw.fsf@t510.orion.oneofus.la> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=77.88.28.100; envelope-from=vas@oneofus.la; helo=forward100p.mail.yandex.net 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: , Cc: help-guix@gnu.org 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=1617939107; 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=LzetvD4f2NqALa9zkalZOpliVgI6gEh+sJcqbA/ufag=; b=PbAXH9FVKiSOGvLCJGXc7PjPGMMTIek5xbCAtYQyqc3IRBPfTmwivUUe9DIpZX+bnpeDbq qMmOd9HyhLKv2CwcxvXrknDZyHLTtr9/uQioEUdPJci6DhgBoqCu8qurHQwyrcttCrsmDH /mAjRWFQbDvXLq3rJXL9CxddwFf1BkJl1PGSzs5ob1kYt59KlcmnbLzG4Ot6aGpIfoRO9W wWRwQT9DHzAc9MQWy0BI7O2HA1uieH357bJ7P/7zWxTeizMJ59RORPifMK/wTooYTKTbPn v/1etznYs4c+cytVgwfwk/Qm/RmxJk193Oh6qZiSavOWshEBBg8sCACGijtfgg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1617939107; a=rsa-sha256; cv=none; b=o66qt+cSAdFRslFALd0boxP3GtG+7jFTExoV/8uCc67WTPqDd9TERXdb1W9uUwkzdPlW6U QGUxaqdLLNIpiW75EEG9sPtPvzv/onMplE1LNFjPi9iihfuEHrL81n9/CJKxp4FZUEHblQ y3oUvLuvZtIlLICtvmtUjyVRvppGp//IHu3Ziu0HGWmBcmu1F9hoEMVc39jIRbP4lLDE8f os4MJ9tHJOTY77hdYKxXWeSXIyP/Zmuq2tBXvrY7S+2p6+bBabnKgdTbJCqRFtUiJfun0O niQgVfLlprxQegq9vkfSTe1g4h2406hCrva0izP3lOfe6L3dE+w5rxkKq/Tcwg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=oneofus.la header.s=mail header.b=A0PdJ2SV; dmarc=fail reason="SPF not aligned (strict)" header.from=oneofus.la (policy=none); 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.34 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=oneofus.la header.s=mail header.b=A0PdJ2SV; dmarc=fail reason="SPF not aligned (strict)" header.from=oneofus.la (policy=none); 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: 0186D23DAC X-Spam-Score: -1.34 X-Migadu-Scanner: scn0.migadu.com X-TUID: csf8xdJW7/fU Bone Baboon writes: > It is almost like `sudo dhclient ` is taking > instruction from the router (provided by my internet service provider) > to overwrite `/etc/resolv.conf` to the DNS of my internet service > provider. 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. -- Vladimir Sedach Software engineering services in Los Angeles https://oneofus.la