From owner-freebsd-current@freebsd.org Fri Apr 23 11:09:58 2021 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2262C5EDAB3 for ; Fri, 23 Apr 2021 11:09:58 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4FRWln6XMXz4VwK for ; Fri, 23 Apr 2021 11:09:57 +0000 (UTC) (envelope-from david@catwhisker.org) Received: by mailman.nyi.freebsd.org (Postfix) id DE6895EDAB2; Fri, 23 Apr 2021 11:09:57 +0000 (UTC) Delivered-To: current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DE30C5EDB04 for ; Fri, 23 Apr 2021 11:09:57 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mx.catwhisker.org (mx.catwhisker.org [107.204.234.170]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4FRWlm6vnyz4WBp; Fri, 23 Apr 2021 11:09:56 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.16.1/8.15.2) with ESMTP id 13NB9nZg088472; Fri, 23 Apr 2021 11:09:49 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.16.1/8.16.1/Submit) id 13NB9meb088471; Fri, 23 Apr 2021 04:09:48 -0700 (PDT) (envelope-from david) Date: Fri, 23 Apr 2021 04:09:48 -0700 From: David Wolfskill To: current@freebsd.org Subject: "etcupdate -p" vs. $OLDTREE? Message-ID: Mail-Followup-To: David Wolfskill , current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="U9NiIe5AFv580vNM" Content-Disposition: inline X-Rspamd-Queue-Id: 4FRWlm6vnyz4WBp X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of david@catwhisker.org designates 107.204.234.170 as permitted sender) smtp.mailfrom=david@catwhisker.org X-Spamd-Result: default: False [-2.30 / 15.00]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; FREEFALL_USER(0.00)[david]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[107.204.234.170:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:107.204.234.170]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; SUBJECT_HAS_CURRENCY(1.00)[]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[107.204.234.170:from:127.0.2.255]; DMARC_NA(0.00)[catwhisker.org]; NEURAL_SPAM_SHORT(0.10)[0.095]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:7018, ipnet:107.192.0.0/12, country:US]; SUBJECT_ENDS_QUESTION(1.00)[]; MAILMAN_DEST(0.00)[current]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Apr 2021 11:09:58 -0000 --U9NiIe5AFv580vNM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable After the set of updates to etcupdate (main-n246232-0611aec3cf3a .. main-n246235-ba30215ae0ef), I find that "etcupdate -B -p" is working as expected, but after the following "make installworld", a subsequent "etcupdate -B" chugs along for a bit, then stops, whining: No previous tree to compare against, a sane comparison is not possible. and inspection of the $WORKDIR before: freebeast(14.0-C)[1] ls -lT /var/db/s4/etcupdate/ total 260 -rw-r--r-- 1 root wheel 0 Apr 22 05:17:54 2021 added.files -rw-r--r-- 1 root wheel 8556 Apr 22 05:17:54 2021 both.files drwxr-xr-x 2 root wheel 512 Apr 22 05:17:54 2021 conflicts drwxr-xr-x 7 root wheel 512 Apr 22 05:17:54 2021 current -rw-r--r-- 1 root wheel 212793 Apr 22 05:17:54 2021 log -rw-r--r-- 1 root wheel 8556 Apr 22 05:17:54 2021 new.files drwxr-xr-x 7 root wheel 512 Apr 22 05:15:33 2021 old -rw-r--r-- 1 root wheel 8556 Apr 22 05:17:54 2021 old.files drwxr-xr-x 4 root wheel 512 Apr 22 04:03:20 2021 preworld -rw-r--r-- 1 root wheel 0 Apr 22 05:17:54 2021 removed.files and after (the "make installworld"): freebeast(14.0-C)[2] ls -lT /var/db/s4/etcupdate/ total 36 -rw-r--r-- 1 root wheel 0 Apr 23 03:53:41 2021 added.files -rw-r--r-- 1 root wheel 36 Apr 23 03:53:41 2021 both.files drwxr-xr-x 2 root wheel 512 Apr 23 03:53:41 2021 conflicts -rw-r--r-- 1 root wheel 198 Apr 23 03:53:41 2021 log -rw-r--r-- 1 root wheel 36 Apr 23 03:53:41 2021 new.files drwxr-xr-x 7 root wheel 512 Apr 22 05:15:33 2021 old -rw-r--r-- 1 root wheel 8556 Apr 23 03:53:41 2021 old.files drwxr-xr-x 5 root wheel 512 Apr 23 03:53:41 2021 preworld -rw-r--r-- 1 root wheel 0 Apr 23 03:53:41 2021 removed.files shows the lack of a "current" subdirectory. After invoking "etcupdate extract", then "etcupdate -B": freebeast(14.0-C)[3] ls -lT /var/db/s4/etcupdate/ total 260 -rw-r--r-- 1 root wheel 0 Apr 23 03:58:59 2021 added.files -rw-r--r-- 1 root wheel 8556 Apr 23 03:58:59 2021 both.files drwxr-xr-x 2 root wheel 512 Apr 23 03:58:59 2021 conflicts drwxr-xr-x 7 root wheel 512 Apr 23 03:58:59 2021 current -rw-r--r-- 1 root wheel 212793 Apr 23 03:59:00 2021 log -rw-r--r-- 1 root wheel 8556 Apr 23 03:58:59 2021 new.files drwxr-xr-x 7 root wheel 512 Apr 23 03:57:58 2021 old -rw-r--r-- 1 root wheel 8556 Apr 23 03:58:59 2021 old.files drwxr-xr-x 5 root wheel 512 Apr 23 03:53:41 2021 preworld -rw-r--r-- 1 root wheel 0 Apr 23 03:58:59 2021 removed.files Am I missing something? Thanks! Peace, david --=20 David H. Wolfskill david@catwhisker.org The same folks who champion the "rights" of corporations to influence elections by money (as an exercise of free speech) are now also decrying corporations' speaking out against voter suppression laws...? Right. See https://www.catwhisker.org/~david/publickey.gpg for my public key. --U9NiIe5AFv580vNM Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGTBAEBCgB9FiEE4owz2QxMJyaxAefyQLJg+bY2PckFAmCCqvxfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUy OEMzM0Q5MEM0QzI3MjZCMTAxRTdGMjQwQjI2MEY5QjYzNjNEQzkACgkQQLJg+bY2 PcmDPAf+KoAFSO65rW266Bjw3sSV568fUhtFi3EFHtZGdLegTk+q9q2lrSHw/x11 558cVD33GaCtgik+5jUT8Bts7tC8AxKPWwXaYOlfuOAUnLCWAGCddJGEQppYcx+J JOvDumhXt1g+8Oa+W8J9bE9O5CbrUxJaSfg2iXzKQl2fqyrqbSp6wP4OTObQh9Bx mzGCPNXqMk/d7eFr8vM3LSeWMd4hl5oaLy9gXgJGHTvWntSFj4+96DzQRdyPsOxx SKG8aSuHJ2Mh56S7/gb9gh/f1A4jFUhyME2FqoZyBAzsnjCVYqFVVgu9895EaNrD oXmLekFVtNIMUTIk6njTsWgeziRiIg== =z3ZY -----END PGP SIGNATURE----- --U9NiIe5AFv580vNM--