From nobody Thu Mar 16 23:27:53 2023 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 4Pd3N84Zvsz3ylDY for ; Thu, 16 Mar 2023 23:28:08 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic304-25.consmr.mail.gq1.yahoo.com (sonic304-25.consmr.mail.gq1.yahoo.com [98.137.68.206]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 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 4Pd3N764Fnz4cJk for ; Thu, 16 Mar 2023 23:28:07 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=NkMYAbMn; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.68.206 as permitted sender) smtp.mailfrom=marklmi@yahoo.com; dmarc=pass (policy=reject) header.from=yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1679009286; bh=/QAB/PyN8v2d1VMT80GYGj8XW++FWCryxjod8iLljPg=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=NkMYAbMnaebV8Q0WPNRuL0KLMQcfkOMTfyFS85i/MyfgZkD80HJnCdzL/W3E9uyJU/HxErKOUsxK1yQvDmmcPgMmuuDSrzuJ2lhswzR8/I/zNhCi+cQgLO739MAf1Q6JOTbAmHBTsZf6IcAwkJPTbx3Ecuh2FBqCHB5bNwOMR9kUwKf1yJBRpDqg5oz5M/W6z67A8rJjXTc83RQrebCAzkyrSRdLGzbf2TaDaMPxgbO9iRBV472YqWjUownE3+DBhdOMsZK3ki0zoYXaxudYvTVjFQzcmkm1ZEXqZtsQNfeI3dMlVjs/h2Ge0LG8kSBdZA36OnikPOaZraYNQmhLXg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1679009286; bh=hkrxJsBOHGPHFA2xXSzDAz9hC6ZajBCV/BdjbYe5GUV=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=hoWRHLJI43QX3E7iqnZeKdHZ6EkKDkqXWMekBfBH+k5aDfXxu83v3z9ngbE4bucufpHxQuDO35H8FhGgINK0oN+49wgDu0mcwO2XjXxohK7l5mTybGa5ssAYU15h8Fpv8k0htwQ1MeDVF/UtxvEBKmHrKbjUANMGfL2j2iLg/WuTQBYbbj634tPa9cc736T4m6Up9G6o+W+V6k7E3zuBul3Ae37dJGhQDTgpnmhpkw3l8uKXqTS9YrmgEseKg52ZmHEZ3GGoaFzxy37osZs5J8br4J9bFdjYA2YzML55CTCvMHFjmpdwMeinynePvocpoPlONrcMsetncA64/DY6XA== X-YMail-OSG: sgSccPAVM1lFvHgMHzHOKAIB4W8j0ORiaqkkVnEwEDbhZjiRt4pniwxSy_vfShh 2o8SoImGHEmbmrQKDd78Qb3mbWo7yFkoD6iq9nIz1CyjFgtOQDjytp.kx1MK90li_9t8JY2yIyhQ F39jEksrdU7Dy0bEriuud4q1uGSbl3c5XXz2iQn2m.NQN_SNufATIJAvpdVLZxoOoRwgquu8_40q 28LMT1rFtb6B4HlC6uXWeZb7mOx9gzCyo.4Sruq6uJFrk0EMWi2tIQoTX56OB_Z5FWflhGT6m8kq NgyfGWkzd1pSsdFGa_N1UFefetkbU9o.gzQralRFt0vZ8luq4SFbfWAXxa3W955KXT.YW9ZDp1cL JFTEqmj5wPhzA68qb2DGnWn8wsZ4XbhvZzKorKHM39h1XAZX_lEy1WB6RleDiDZM6Nh6ETSEeCsG H2BYhyvHapBGpRrnokX5LabP_6hSjp5V2yyH1HoG2O3Xzme2M6UTIouGazM2t2T1f2CQRtLLjcPX 3fWRuekQX57kKgLikhGPD82bSn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szTJ1pV9sdYJR80nBZug3a4Opk4v6llfcSznMpq6 CmxhQDIlJR7WoxkzOfaaNqokK_MlmaKNxELjHIzxfjw5NBGHcLP.ecZaYPNZ4pTCSKhRZqxBvr0A z_dCFvEjk3GZW.Rh7sFiMdpR_6Nk5aZF6ca6E7xyR.AUKTkATu1X2QrTeodj7r1cZK9CNeeCjEGu RP7h9sivOBVdTsd6KuFKgPWggqFZeiIZE79DSfwc61ePlZd1pCr7w3p8cpIdtWe1zy0WOxAlUtKb NSQIMrLp9m.htJNNs4V2PyMWmEidhsOQ8zln1c.pA8QzdFia6680nr13L3MdhsugfMUahfywkPS5 LnULHWEFfeUCPhTC0wR_YXuqAD4CykqO3IvZavRKP_BMD78kun9JokAF1ZjutoWUXomLo6q9wKN8 hSSxUYu4.yEqpZj9lI9yYweozGBARiCspE9iieoxbQOhe1CEKZmtMSnOysfDB27ZVKbgQ2gLGfAW hrkij8hL9uJoPiaNtR7BUua_qM9vXdCZ3brrhq.lmNCwm0cJrf9ekWfXusjiG2pEQE_eG94DJ.Vr UfLWCZaXCsDOsrcv2JjAMA4TUEQCjmU8rs5Nqiu7Q7aV.nBgOUqlf8.GiLiSJv0qyU2b1MAQkE.H LfFDvs8bE1XY66ZW79XbRwf5Qw8.TtHOjkybrQe4Gv0IkTcXIIe5HzN5n.1ZVn03rYwAWmPCgpSf VTpHTZBOn X-Sonic-MF: X-Sonic-ID: 8d9aef6e-8c04-403a-b20e-c73ae2c74b1c Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.gq1.yahoo.com with HTTP; Thu, 16 Mar 2023 23:28:06 +0000 Received: by hermes--production-ne1-759c9b8c64-v6wcd (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID dc68c932865eb8e87ef0eacf1ad78a7a; Thu, 16 Mar 2023 23:28:04 +0000 (UTC) Content-Type: text/plain; charset=us-ascii 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 (Mac OS X Mail 16.0 \(3731.400.51.1.1\)) Subject: Re: I just updated to main-n261544-cee09bda03c8 based (via source) and now /etc/machine-id and /var/db/machine-id disagree ; more From: Mark Millard In-Reply-To: Date: Thu, 16 Mar 2023 16:27:53 -0700 Cc: cperciva@freebsd.org Content-Transfer-Encoding: 7bit Message-Id: References: To: Current FreeBSD , FreeBSD-STABLE Mailing List X-Mailer: Apple Mail (2.3731.400.51.1.1) X-Spamd-Result: default: False [-3.31 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.81)[-0.814]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; ARC_NA(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.68.206:from]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; RCVD_TLS_LAST(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; RCVD_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[yahoo.com]; TO_DN_SOME(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.68.206:from] X-Rspamd-Queue-Id: 4Pd3N764Fnz4cJk X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N On Mar 16, 2023, at 15:55, Mark Millard wrote: > # cat /etc/hostid /etc/machine-id /var/db/machine-id > a4f7fbeb-f668-11de-b280-ebb65474e619 > a4f7fbebf66811deb280ebb65474e619 > 7227cd89727a462186e3ba680d0ee142 > > (I'll not be keeping these values for the example system.) > > # ls -Tld /etc/hostid /etc/machine-id /var/db/machine-id > -rw-r--r-- 1 root wheel 37 Dec 31 16:00:18 2009 /etc/hostid > -rw-r--r-- 1 root wheel 33 Mar 16 15:16:18 2023 /etc/machine-id > -r--r--r-- 1 root wheel 33 Mar 3 23:03:25 2023 /var/db/machine-id > > I observed the delete-old-files deleting > /etc/machine-id during the upgrade. It did > nothing with /var/db/machine-id . > > Also, modern hostid generation was switched to > random to avoid an exposure. But the update kept > the old hostid and propogated it (not "-"s) into > /etc/machine-id . So /etc/machine-id now has the > same exposure. > > Later I'll see if stable/13 also got such behavior > for its upgrade. > > I've not been dealing with releng/13.2 but upgrades > from releng/13.1 and before likely have the same > questions for what the handling should be vs. what it > might actually be. Different ways of upgrading might > not be in agreement, for all I know. > stable/13 was updated to be stable/13-n254805-4e4e299b0950 based. It got the same type of results. (I'll not list the actual id's for this context.) # ls -Tld /etc/hostid /etc/machine-id /var/db/machine-id -rw-r--r-- 1 root wheel 37 Jul 5 20:08:03 2022 /etc/hostid -rw-r--r-- 1 root wheel 33 Mar 16 13:32:49 2023 /etc/machine-id -r--r--r-- 1 root wheel 33 Mar 3 23:07:55 2023 /var/db/machine-id (I'm not sure of the intent on the permissions.) === Mark Millard marklmi at yahoo.com