From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1F248158020 for ; Wed, 19 Oct 2022 13:39:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 46AEFE0894; Wed, 19 Oct 2022 13:39:14 +0000 (UTC) Received: from ciao.gmane.io (ciao.gmane.io [116.202.254.214]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E892BE0874 for ; Wed, 19 Oct 2022 13:39:13 +0000 (UTC) Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1ol9Hs-0008RH-QX for gentoo-user@lists.gentoo.org; Wed, 19 Oct 2022 15:39:12 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Grant Edwards Subject: [gentoo-user] Re: resolv.conf full of old info Date: Wed, 19 Oct 2022 13:39:05 -0000 (UTC) Message-ID: References: <5871429.lOV4Wx5bFT@lenovo.localdomain> User-Agent: slrn/1.0.3 (Linux) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7127c14a-ce3c-44ae-9739-35690b9608a1 X-Archives-Hash: d82cdf1d6e7d6c6719874f8e277cc10b On 2022-10-19, Michael wrote: > On Wednesday, 19 October 2022 01:00:31 BST Grant Edwards wrote: >> On 2022-10-18, Grant Edwards wrote: >> >> Why would dhcpcd have the persistent option enabled by default? > > I think because this causes less breakage in those cases where netmount, > remote syslog-ng, SSH clients, or root mounted NFS is in play? This is what > the man page says about it: > > "... dhcpcd normally de-configures the interface and configuration when it > exits. Sometimes, this isn't desirable if, for example, you have root mounted > over NFS or SSH clients connect to this host and they need to be notified of > the host shutting down." I guess that makes sense. What was confusing was that I read the man page which said it was normally disabled, and since I had never touched the config file, and wasn't passing the -p option I assumed it was disabled -- then I finally looked through the default config file, where it's "nomrally enabled". -- Grant