From nobody Wed Dec 08 17:48:42 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id A67F518DBBBA for ; Wed, 8 Dec 2021 17:48:44 +0000 (UTC) (envelope-from se@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J8PmD2hJJz4qK0; Wed, 8 Dec 2021 17:48:44 +0000 (UTC) (envelope-from se@freebsd.org) Received: from [IPV6:2003:cd:5f1d:f700:552c:777b:d2b8:dac9] (p200300cd5f1df700552c777bd2b8dac9.dip0.t-ipconnect.de [IPv6:2003:cd:5f1d:f700:552c:777b:d2b8:dac9]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: se/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 95B9035B49; Wed, 8 Dec 2021 17:48:43 +0000 (UTC) (envelope-from se@freebsd.org) Message-ID: <3acc005b-12c2-b847-0f35-b95ee9b7e98a@freebsd.org> Date: Wed, 8 Dec 2021 18:48:42 +0100 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.3.2 Subject: Re: Make etcupdate bootstrap requirement due to previous mergemaster usage more clear in handbook Content-Language: en-US To: John Baldwin Cc: jbtakk@iherebuywisely.com, Tomoaki AOKI , freebsd-current@freebsd.org References: <56a60a9b-3d7f-b29e-6074-71078f4b0fe6@quip.cz> <20211204110942.11553b693b165364f3ab31c0@dec.sakura.ne.jp> <98af77aa-628d-5fce-7618-36b1edaa405b@FreeBSD.org> From: Stefan Esser In-Reply-To: <98af77aa-628d-5fce-7618-36b1edaa405b@FreeBSD.org> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------0WHj4RgK0ykHdptbyV7JH0O0" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638985724; h=from:from: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; bh=fvCcNIMqz6G2re7KrlxwLWhooUf0dmPXgnIexMfVWl8=; b=pgtXw1CyQphzwR5wQ0/tu4neqaDwyWj/BpkxNz3y4s7wrx5Br+p+cRZv4EEDxqpnJftQAN sTi3ifj84eNAOV/3iUtGjGjSzWZZUpoS699XynZOX2hSxmi2fGWhdE06QJTAwmAmnabTbb tkssa6Shl1x1C4lUA4DeFYahfs84OX0XuQUYcqMvvwZqz1XDYKI/j9xIv1AiyastDhEtH+ ZbHcnjyJuz9VH8s8DX9Yf0SjhKkTkrqiu/ZYxLlQTJvRPn1+K6LwPxp6MJtAFK8MxLFgv2 f9Q9LhsbUyCeqb/iULPuVLT3ABNx8YgZGPjDr+SG4wpSMyAvyshsZaifovdk9A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638985724; a=rsa-sha256; cv=none; b=j9jE3HvSS464TTLkaswswOOUBGteVnML39xLj19VAAZgw13NdGt/eCLUl73HrmdYHyivc+ 9FtusI0tpEoVXMWh2hDlyqxuzSUE58yCnDkA+ElOHYA+n4AI9FTrpxiXWTrMnxoa6iXpZv I0Bqg5OCYeeRr8Wm4E5NPg95b3bP0w5KOK8FguBU7uDVsdOg5UeN4/7xhdl1wCYxxjMXGg 0myDwcMRXPfTpZiHFYeJmUlNT1swtIVUm/l/E6B9UK6goftm7NehInKIppKYs3TLSb1LZH n7VV+ZjVotWexyAhVZ+B07cJVLze6sPTEH4ERVnzKCndEOv9398wemS/8337Eg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------0WHj4RgK0ykHdptbyV7JH0O0 Content-Type: multipart/mixed; boundary="------------uTJVBp0DbvLjAv026g8xP7Oy"; protected-headers="v1" From: Stefan Esser To: John Baldwin Cc: jbtakk@iherebuywisely.com, Tomoaki AOKI , freebsd-current@freebsd.org Message-ID: <3acc005b-12c2-b847-0f35-b95ee9b7e98a@freebsd.org> Subject: Re: Make etcupdate bootstrap requirement due to previous mergemaster usage more clear in handbook References: <56a60a9b-3d7f-b29e-6074-71078f4b0fe6@quip.cz> <20211204110942.11553b693b165364f3ab31c0@dec.sakura.ne.jp> <98af77aa-628d-5fce-7618-36b1edaa405b@FreeBSD.org> In-Reply-To: <98af77aa-628d-5fce-7618-36b1edaa405b@FreeBSD.org> --------------uTJVBp0DbvLjAv026g8xP7Oy Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Am 08.12.21 um 18:11 schrieb John Baldwin: > So the new changes always build a temporary tree (vs trying to build > /var/db/etupdate/current in place).=C2=A0 For -n it should be that it j= ust > doesn't change /var/db/etcupdate/current at the end, but if it did the > move anyway that would explain the bug you are seeing.=C2=A0 That does = indeed > look broken.=C2=A0 Please file a PR as a reminder for me to fix it. If you work on this then please have a look at PR 247519, too: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247519 This problem lead to my complete customized /etc getting lost when I invoked etcupdate with WITH_DIRDEPS_BUILD defined in /etc/src-env.conf. But I can imagine other reasons that let the make commands in build_tree(= ) fail without error exit, leading to an empty etcupdate/current tree and subsequent deletion of files in /etc. Regards, STefan --------------uTJVBp0DbvLjAv026g8xP7Oy-- --------------0WHj4RgK0ykHdptbyV7JH0O0 Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsB5BAABCAAjFiEEo3HqZZwL7MgrcVMTR+u171r99UQFAmGw7/oFAwAAAAAACgkQR+u171r99UQA 9wf/U/ZcnQ+apX6zJXiaqLfOVjiAgNf/R1oYngXILar609q1F/N1Ps/tShQnK1lwNyGjZgPd2pCQ bkUrbeyv1/CPWQTfaiCBzoIo4FWyuVqADrgH7+OX2PjXlctzsoH4sFylwXtDirU2LVPD8YQuXefL 64I14rMM4OxZ38G0S50L2kk4UOcwdqrfIve7KCYGZKbOAb/JAUpUHPGAnStT2kScUXnsXiu9T3bV WEv1eA7tds0koeqfMDujK1RFzMPQQtwtoxPgIfqcsKlyowWnKaw21N8MMXV+If4MXv9E0dWT3ksF 0I5RhnGK1Va53t7LrF77TuOBzutY+wKRdBkf6FVb3w== =cdEP -----END PGP SIGNATURE----- --------------0WHj4RgK0ykHdptbyV7JH0O0--