From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id C8muOlsbcWDbBAEAgWs5BA (envelope-from ) for ; Sat, 10 Apr 2021 05:28:27 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id EH51M1sbcWA/MwAAbx9fmQ (envelope-from ) for ; Sat, 10 Apr 2021 03:28:27 +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 20BD41AC22 for ; Sat, 10 Apr 2021 05:28:27 +0200 (CEST) Received: from localhost ([::1]:45090 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lV4IM-0005k3-9A for larch@yhetil.org; Fri, 09 Apr 2021 23:28:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49972) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lV4IC-0005jx-TA for help-guix@gnu.org; Fri, 09 Apr 2021 23:28:16 -0400 Received: from knopi.disroot.org ([178.21.23.139]:40514) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lV4IA-00010u-Hr for help-guix@gnu.org; Fri, 09 Apr 2021 23:28:16 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 1F93B50D0D; Sat, 10 Apr 2021 05:28:11 +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 BQJGR5HjfDA3; Sat, 10 Apr 2021 05:28:09 +0200 (CEST) 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> <8735w05ehw.fsf@t510.orion.oneofus.la> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1618025289; bh=HHGVlFSDVD6El65FTslX4uY3orXzVsz0zWbEsICpia8=; h=References:From:To:Cc:Subject:In-reply-to:Date; b=iyuUX4rBh/zZ3mVQgtZeyJEkt09Ao/Mt3b8l79lr2XHNvy8Jdgq2cdKIVxx3Oh8K/ DkuORdRFRlwWBc7pTvtzSo9Agx+BU6gn2kCetZmTWJon2h7XAFnmlAQrBViqUz/ttj ZghJXkcm/KEipABTKCQjU3DcNS/7NIfG3DzY7LU5qwAEhqncrXLu8rUm084xpYA24/ pXi5Ya42yCpJi1ATvV3kvOlcK2uwxdQQi94UIK3apxGwl4dnMeYW6WZEY8iyFUj7zg yWNTLa1i2GRSKuJDfWzXHzuT/BaSE20WA7cn5DDMCvHvyGGu4tjUAPAnJRLtTxDrs9 HurIrnleZVTpA== From: Bone Baboon To: Vladimir Sedach Cc: help-guix@gnu.org Subject: Re: Edits to `etc/resolv.conf` being overwritten In-reply-to: <8735w05ehw.fsf@t510.orion.oneofus.la> Date: Fri, 09 Apr 2021 23:28:08 -0400 Message-ID: <8735vyg6nr.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=1618025307; 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=6l5RrKYFzBwRlKlKP4sFJFsfHVXDVnDSkCVquWXsDsw=; b=iP0xK1/2/hm5mZPkd1r3jk6YlqKt7ZNqyNss32r7mpgfRSJ3Bfplf1KSN8pZNaEJQ3oSeN aHlvTv0Am0Ggu10WYyIXCobxt5adK1MMPASkLpabbSIgs1rukYLMitrRK1N8hJDyd3fQV/ v2mFdl1k1sL3Ahpcmw1C/2dfY5vHDTCNNF0i+LP9WMwMZgk46j656oY4CG/28qNMdgbTcP F+jK3ZFJcUeXHyf4jJXmN93165uvAL3X1PU/V+iwZXz+qTujwsl3ug/s8mVpPI1Ieck/md SjcZqogKGDgs7vzVxOj6pa2nAE8foYSGWNRLPisma6YMqHpNHVddNEhnCW+wIA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618025307; a=rsa-sha256; cv=none; b=D7XcIZ8nqrwxn/F+kk2kk16kWI2AZa/QsRg7qEo7KkfocojQN13y/GTSVPN32PYRmTHqkO k1yS/mO2H7DfpB4iNQD3EcRSehEk+AE8xQrw7X56j8uOr9OOzMpdKtqrg/hRKblsU3ZL8X 1hqcSTfQzCBWKUVL5LMqecB8NgabtfvjvELGNhhl9ixzPo5iWD05TGTdu0P86YFdCftitV kvrlOSw8aImWKTk4C1B4NOkrqb8EdVliYMzR9TgMcHGXqibm5UR9BZA2+cqIjf3oxiepHJ xA64/GaMnVi7QqwYEGhhq65+wfI3gihGE1/KYZ7VTpneh9DuKRK6ZCMeX7hc/Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=iyuUX4rB; 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.14 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=iyuUX4rB; 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: 20BD41AC22 X-Spam-Score: -1.14 X-Migadu-Scanner: scn0.migadu.com X-TUID: dpx7wpDBbaNk 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`.