From nobody Thu Mar 9 17:07:38 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 4PXbGf3hZLz3x8jK for ; Thu, 9 Mar 2023 17:07:54 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic314-19.consmr.mail.gq1.yahoo.com (sonic314-19.consmr.mail.gq1.yahoo.com [98.137.69.82]) (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 4PXbGd4mbHz4D76 for ; Thu, 9 Mar 2023 17:07:53 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=Hs9PkzTV; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.69.82 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=1678381671; bh=f5f7cw9EaNmWgTOut1GOk4CjOvhA6tw/XN3lWFraHQM=; h=From:Subject:Date:To:References:From:Subject:Reply-To; b=Hs9PkzTVsf+MQlKrQ0cvAkz98V2+xx2OTPrSHrSQVnq2vwv+sy7xzXnV9xbKMxb0KgBrigfSudyewgsPzNrpbETBRtjLWcIRcFYQfc3/WCSsjg0a+gOFDd+lVahG/AYsr4Nrs3i9OQFrnYW3MjzWbaoAXgtdgn+v2kzCHobVwq9B2b2DUJsJIJPpVv+LfZeApFG4UvyVWf8tkd5HunzwKzGLlF6X/7gKCyN/1+w0ndd0zjf/htKCNOvJxvE1tCLjm8Iu+QQeAzJ5zpNXUO0c/WDlelzsOPtWRB3R6m8gEopoT8QrhfIafj4OQoNAW0zV2ziFbzYazggtwaWuQcmO9A== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1678381671; bh=3RGwBzoMPsckhjN+HbKbzW2ndFxWBvaIgzaIskhH3a2=; h=X-Sonic-MF:From:Subject:Date:To:From:Subject; b=gm7RQSIpRvPA54+sT4h/7W9p2k9bQILmp9r4vkZd+8DWHAm7u0SHniGQQ0rMXexPhzKROapqoZO8AQx+69E6ugdB9R8wGtFknpzPrsTxgfMdjHohOzPLYnXi6JuUWJXcZF8aeT6h02NKHEjkj1owU5HnJZHHJALfyaasy3mZ2Y8wAkXaXM95rJNxN/8J/CTii/nTYqWvIfP8WNvVlwQipx/5R5GwT2m0BKinIHNoi9gBHioMjTpJ3ld3tlCbcfRxlXHFih/5vZHJdP1Qq10EStubll/wgbszjb9DBhmULRsrJGD9twRvdKjaD0GdHT7vnHVtSD1V/DhmD2BaRNDlfg== X-YMail-OSG: G7p5d90VM1nRqAS6qgS2YiaqY4LS5nJhaubKB1GTj2FvJLD0XluJf0GrAlmWX3Z j93cKFiwKfI.8grf2MEvBvF4RqDCWe6X53QtWgh59Y25n6KYx65lsR9jBhaefGxP2HdGG4WKTPM7 7ebcbHAmlUd_71ks_XJ2jLB.RxBfQ6Ca96HS_UvtsfL3TPEzmEqgMKyP0KNmDUsjpV_pYDWSrzzw Qq4daWDUcPUa5nV2mNL4baB2XlBMKqhLYxa0xsQXvdBU6sNdszbdWE8N55zlI2qAjZJkcwUTVEbp H51PAyw0oSZLXNZIuQiotU7Oin9hXddzMHUekiCmeYW86flXOzbFKumiN23cHxEigtTOpLWVNHeJ ET.ZF0GPCaQsvZkpg7z7GQUbjsCFZwz_G5Kn4Zu4zgqSojPceZJ7dX0jnqGfqH4na3ABI38Migs1 K3dPX8ntC_P70e2tCuaseNPNqio0kTi9pIt0xrHBRTggepKNg5YPLgpFZ0m4kpLfrraXrY28f36e zMMksJ5xxLCmL2PW5OI4LFl5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.wIIb6_zqStvEvUm0tBNuZ.mLKMMHyjWqhd QfhNK1e6V2JkpYKEk2.uYDUcWqbmI8JaVCxN86zKp9vIfsG._2_vsFFv5XnOvwAfWgIDo4EeEqHr rz1g2saMjYmhQmyiTaiOW7zky62UqfMPAEtc8JxLwLLjowsVNkwVFEUwjNfwmDeqGcJBwRSPbWmI DiuPCxk1rvESOXshfD5LeXpHsA5gAnCZyM92JtEfI9KwPWKJjZf.NO5gqgJcyAq9YsTkXJszrz7G kHywWC8DTRC7T5TGMUZzf54DXdM0C5d2FMvdZ3CfS0NKiMQ0EEjoMIvSiwo.5zWDFsZIeIdouwxp pX8CAK0mNxuHbueyy7yiptDlnrc.0KBLlgrInlEPOlBVoiTlri0lSvTEXuA_.iJ1.OeU4F2BZixV B6Cb_eRJZrpmPDwNhbWMnyqar4ACFpJ9zBSuhqa18hNdUwD6mtan1Y5xeEdSj2eBkG7WC.tYWAq4 v4QOVhZevZv4PEusO2KRvqgObTrslkIxPuFsyDMpVL.MtXiYZKT1OZkIK03ucWtpwWVuDFunndWN euB8jFEBvWMWNBe2HOOHdTBcPZjcJN8sYSpsp792Bb_hN1X0on.Z.I.i3SE1zOIossmAwLH0gf3D bUeeFyiXOquW5PjLN.JhrxdmaIqcU3zZZiKp3wV8_yrFgnsxatBQLzXKHRIKFYu20.0smC1BDhII - X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.gq1.yahoo.com with HTTP; Thu, 9 Mar 2023 17:07:51 +0000 Received: by hermes--production-gq1-6cf7749bc8-q7lrl (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 61dfb7ed1252a68202a8206c508c059e; Thu, 09 Mar 2023 17:07:49 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable 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: NanoBSD: CURRENT unable to compile 13-STABLE : error: a function definition without a prototype is deprecated ... in C Message-Id: <1D282079-4958-45BB-8A61-C827D6BD4B59@yahoo.com> Date: Thu, 9 Mar 2023 09:07:38 -0800 To: freebsd@walstatt-de.de, Ed Maste , Current FreeBSD X-Mailer: Apple Mail (2.3731.400.51.1.1) References: <1D282079-4958-45BB-8A61-C827D6BD4B59.ref@yahoo.com> X-Spamd-Result: default: False [-3.50 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RCVD_IN_DNSWL_NONE(0.00)[98.137.69.82:from]; RCVD_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[yahoo.com]; TO_DN_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org] X-Rspamd-Queue-Id: 4PXbGd4mbHz4D76 X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N FreeBSD User wrote on Date: Thu, 09 Mar 2023 08:42:44 UTC : > Having set >=20 > WITHOUT_CROSS_COMPILER=3DYES > WITHOUT_SYSTEM_COMPILER=3DYES > WITHOUT_SYSTEM_LINKER=3DYES >=20 This is contradictory: a mix of a setting that first tells it to not build some things and then some settings telling it to build some of those same things. WITHOUT_CROSS_COMPILER Do not build any cross compiler in the cross-tools stage of buildworld. . . . When set, it enforces these options: WITHOUT_CLANG_BOOTSTRAP [Do not build the Clang C/C++ compiler during the bootstrap phase of the build.] WITHOUT_ELFTOOLCHAIN_BOOTSTRAP [Do not build ELF Tool Chain tools (addr2line, nm, size, strings and strip) as part of the bootstrap process.] WITHOUT_LLD_BOOTSTRAP [Do not build the LLD linker during the bootstrap phase of the build.] But, using Ed's new wording suggestion: WITHOUT_SYSTEM_COMPILER Build a cross-compiler during the build bootstrap phase, rather than opportunistically using the host's compiler. WITHOUT_SYSTEM_LINKER Build a cross-linker during the build bootstrap phase, rather than opportunistically using the host's linker. May be such a build attempt should abort with a message about the lack of uniformity in the criteria? Side note: > ld: error: args.o: Opaque pointers are only supported in = -opaque-pointers mode (Producer: > 'LLVM15.0.7' Reader: 'LLVM 14.0.5') cc: error: linker command failed = with exit code 1 (use -v > to see invocation) *** [gh-bc] Error code 1 seems to indicate that llvm15 was used to produce a file at some point but later llvm14 was used to process the file. =3D=3D=3D Mark Millard marklmi at yahoo.com From nobody Tue Mar 14 02:25:07 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 4PbHS42fYDz3yWmX for ; Tue, 14 Mar 2023 02:25:24 +0000 (UTC) (envelope-from rick.macklem@gmail.com) Received: from mail-pj1-x1033.google.com (mail-pj1-x1033.google.com [IPv6:2607:f8b0:4864:20::1033]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PbHS25Tmfz3vSv for ; Tue, 14 Mar 2023 02:25:22 +0000 (UTC) (envelope-from rick.macklem@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=ej5piTX3; spf=pass (mx1.freebsd.org: domain of rick.macklem@gmail.com designates 2607:f8b0:4864:20::1033 as permitted sender) smtp.mailfrom=rick.macklem@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-pj1-x1033.google.com with SMTP id p13-20020a17090a284d00b0023d2e945aebso153833pjf.0 for ; Mon, 13 Mar 2023 19:25:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678760720; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=EhQu9sRQ3OHHEn45RW2DxCN2ZU0HVOnuJV9Ymoi2k80=; b=ej5piTX3hYzI8ZdIG7K8tmJw2GlmHepGrSLS+MvohyM7ckkLkmKPL3ecBjr3OkAbf6 tG4xoJ8RTi6QeHw6PVdqRFjFGGrDWWlNyXtlRKFaSdswhpM4tWfvdPugsCofC6doIGzZ VqEbfmDXMO8LG5ym1HVx4FyGy6BA4BVD4cH357/wNQ8M35BvYeUJ2EY9wmzDLQ8JsJ7u RL/fzhwiLrvIzPdKGyvlqX1hmdIrKT8RhwdByweHhFGtbGmeovOm6gggob7dUgfFOnN2 EkHAwQ8EDbfr+oeww2hQi6EB6sKgrmoYCJGGM1dJq7YoJRZOf4CoFxvLyiy+q/Er1HPG XxNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678760720; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=EhQu9sRQ3OHHEn45RW2DxCN2ZU0HVOnuJV9Ymoi2k80=; b=QVMpoa5MiabWiMvaz9Vmu2af4Z4B/K9JXbYoe568RJ51OVBBjYqONksPEcd6nGW0C3 yZ6dL8ZrjudloKmsFoWQ6VT0DMf6BzeTPzOaihIoFxuSmbDs86iyDE3tO+vzfJ7oiRBh xGcBSl6Rz79pwNfGjje9ElZegue11AbnWKdB4gIMkaHMIywgcwLPVvufYyTNt18VkIOd 30jfkMmrzKPngyr8PP9kd6m0LL9Pepn1HrvWhtu2PnN0tAzlh8FxxLf7U/tkLu1/N9RA Y838YY9464vIyEYE4/N3UZaYwet8cIAHeoFvIeYTp4jebZS3lEznET4RTAsLId4jebe8 lOAw== X-Gm-Message-State: AO0yUKXZ1FCogVY1KdnokwOZvMb4l6LeOg8pOdlVkz85whBuIgrvCeZA v8D/uUeTKV3s62P+kwveOJLgY+OXvuQAWhlUEMRcJxCZhffp X-Google-Smtp-Source: AK7set92E/m6RsL5h2wjgyTbEzuW9zVw8IKM6vmLjCX/Z/oAROz6BbivyNFVl+gq/48C7l2969htnCTsst4nb4KyqE8= X-Received: by 2002:a17:903:33cd:b0:19f:3cc1:e3b9 with SMTP id kc13-20020a17090333cd00b0019f3cc1e3b9mr2490744plb.4.1678760720585; Mon, 13 Mar 2023 19:25:20 -0700 (PDT) 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 From: Rick Macklem Date: Mon, 13 Mar 2023 19:25:07 -0700 Message-ID: Subject: RFC: A new NFS mount option to encourage use of Kerberized mounts To: FreeBSD CURRENT Content-Type: text/plain; charset="UTF-8" X-Spamd-Result: default: False [-3.73 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-0.98)[-0.983]; NEURAL_HAM_SHORT(-0.75)[-0.751]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; RCPT_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::1033:from]; ARC_NA(0.00)[]; TAGGED_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; DKIM_TRACE(0.00)[gmail.com:+]; TO_DN_ALL(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4PbHS25Tmfz3vSv X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N Hi, I have implemented a new mount option for NFSv4.1/4.2 mounts that I hope will encourage use of Kerberos and TLS to help secure NFS mounts. Although I do not know why users choose to not use Kerberized NFS mounts, I think that the administrative issues related to the "machine credential" is a factor. This new option, which I have called "syskrb5" (feel free to suggest a better name), avoids the need for a Kerberos machine credential. I discussed doing this type of mount on the IETF and Linux nfs mailing lists and there seemed to be support for the concept. Without this patch, a Kerberized NFSv4.1/4.2 mount must provide a Kerberos credential for the client at mount time. This credential is typically referred to as a "machine credential". It can be created one of two ways: - The user (usually root) has a valid TGT at the time the mount is done and this becomes the machine credential. There are two problems with this. 1 - The user doing the mount must have a valid TGT for a user principal at mount time. As such, the mount cannot be put in fstab(5) or similar. 2 - When the TGT expires, the mount breaks. - The client machine has a service principal in its default keytab file and this service principal (typically called a host-based initiator credential) is used as the machine credential. There are problems with this approach as well: 1 - There is a certain amount of administrative overhead creating the service principal for the NFS client, creating a keytab entry for this principal and then copying the keytab entry into the client's default keytab file via some secure means. 2 - The NFS client must have a fixed, well known, DNS name, since that FQDN is in the service principal name as the instance. This patch uses a feature of NFSv4.1/4.2 called SP4_NONE, which allows the state maintenance operations to be performed by any authentication mechanism, to do these operations via AUTH_SYS instead of RPCSEC_GSS (Kerberos). As such, neither of the above mechanisms is needed. This new NFSv4.1/4.2 mount option, called "syskrb5" must be used with "sec=krb5[ip]" to avoid the need for either of the above Kerberos setups to be done by the client. Note that all file access/modification operations still require users on the NFS client to have a valid TGT recognized by the NFSv4.1/4.2 server. As such, this option allows, at most, a malicious client to do some sort of DOS attack. Although not required, use of "tls" with this new option is encouraged, since it provides on-the-wire encryption plus, optionally, client identity verification via a X.509 certificate provided to the server during TLS handshake. Alternately, "sec=krb5p" does provide on-the-wire encryption of file data. So, does this sound like something that should be committed to FreeBSD? Thanks for any comments, rick From nobody Tue Mar 14 18:53:46 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 4PbjNk4hfcz3ybmJ for ; Tue, 14 Mar 2023 18:53:58 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from mail.nomadlogic.org (mail.nomadlogic.org [66.165.241.226]) (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 (2048 bits) client-digest SHA256) (Client CN "mail.nomadlogic.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PbjNj3Yqxz3L6r for ; Tue, 14 Mar 2023 18:53:57 +0000 (UTC) (envelope-from pete@nomadlogic.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=nomadlogic.org header.s=04242021 header.b=WeGopXLM; spf=pass (mx1.freebsd.org: domain of pete@nomadlogic.org designates 66.165.241.226 as permitted sender) smtp.mailfrom=pete@nomadlogic.org; dmarc=pass (policy=quarantine) header.from=nomadlogic.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nomadlogic.org; s=04242021; t=1678820029; 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=0xymHP0ohjTOUgZcyFGYPAh4tgDBzTUt+Kvt09Yvymc=; b=WeGopXLMmM3OhG1KtFTT7ruRiaFdxJcQvqwYNasSh4+9vqvdJmDeMA3PCbWuvJaHATyGHg WArxwh1mNLopeGPDhT4Z691t7Zm1J4KIXVv1r66+6y12RuxRDZNnnOiQ4WHNVHZ3qCk4mr o51yk5YPXc8YiuIrjjpLoTtDcrva4B4= Received: from topanga.nomadlogic.org (cpe-24-24-168-214.socal.res.rr.com [24.24.168.214]) by mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id 4278fd75 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Tue, 14 Mar 2023 18:53:48 +0000 (UTC) Date: Tue, 14 Mar 2023 11:53:46 -0700 From: Pete Wright To: Rick Macklem Cc: FreeBSD CURRENT Subject: Re: RFC: A new NFS mount option to encourage use of Kerberized mounts Message-ID: <20230314185346.nlfz3ba7ih3qpo6h@topanga.nomadlogic.org> References: 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[nomadlogic.org,quarantine]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_ALLOW(-0.20)[nomadlogic.org:s=04242021]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; MID_RHS_MATCH_FROMTLD(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:29802, ipnet:66.165.240.0/22, country:US]; FROM_EQ_ENVFROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; DKIM_TRACE(0.00)[nomadlogic.org:+]; RCVD_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; TAGGED_RCPT(0.00)[]; TO_DN_ALL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4PbjNj3Yqxz3L6r X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N On Mon, Mar 13, 2023 at 07:25:07PM -0700, Rick Macklem wrote: > Hi, > > I have implemented a new mount option for NFSv4.1/4.2 mounts > that I hope will encourage use of Kerberos and TLS to help > secure NFS mounts. Although I do not know why users choose > to not use Kerberized NFS mounts, I think that the administrative > issues related to the "machine credential" is a factor. > This new option, which I have called "syskrb5" (feel free to > suggest a better name), avoids the need for a Kerberos machine > credential. > > > So, does this sound like something that should be committed > to FreeBSD? > speaking as an enduser.. this sounds pretty fantastic, i have several workloads in public cloud that use NFS, and having this added layer of auth would be really beneficial from a security perspective. i also like how it should be much easier for me to manage as well. one question - do you see other NFS implementations getting ready to roll out this support on their end? i ask because it would be nice to have this client support working and well tested by the time other vendors start offering this support server side. for example AWS EFS. thanks! -pete -- Pete Wright pete@nomadlogic.org From nobody Wed Mar 15 00:00:24 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 4PbrBK44kFz3xgWH; Wed, 15 Mar 2023 00:00:25 +0000 (UTC) (envelope-from salvadore@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (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 "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PbrBK3K2Hz46vb; Wed, 15 Mar 2023 00:00:25 +0000 (UTC) (envelope-from salvadore@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678838425; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc; bh=RFj1VdEIjRH9Ujoxl7wlSwRzRrt5zBaLRd0ZexNmzH8=; b=Y0993ISzu8bSevPu5B87jO8VxJ9BeQka14BmmphuInzj0MMJpRLml047+IOWyDDRIIdTSx Au754URGKBbLVMOyt3R9XyPK8EVZDcgHDZfAq/Mo54M1HcMzDdFp0I/nE5HQF92cf3UEbP LZ+9mVCYtM0WjImKMKmzD+alFIC3e+DebMNnKFUskv+gwDD/3qunhDCvU+jHZNPTuLhgPL aTKmhkkGX9IH1Ni+eV8u3i0kYaPRooqJoqPJSHxgztg9NnCJLgHAtkMEdsW5lS6XosJ9OK LzeZLZ6GuOx4xmczSQKP3bt0ZAQmBWIG1u0A2llZyYizcJOQgU2/6KB8A/HtvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678838425; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc; bh=RFj1VdEIjRH9Ujoxl7wlSwRzRrt5zBaLRd0ZexNmzH8=; b=iqBy7ChwJHwclvepqeeugs3U+wgHGqjvX+Szwz/xBcWhHMQ1VkfNSdylg+ks/8YaBoBCFv N7C5QNHllf+HrWwMFcWZEv8AfuMMfru436+CFbVpQoa8AjRH66CDnheGxyOXYRN10rydVl 72Yr7Yb9G8c37qIfZUhkmdeSkowMmsObetzgrxhYcUnxyETLOxjxva6RtgYHE7Evj5Dv1N ERcuS3+U+7BYn3IVR0wUETlE2SsvUtnNXmVN7TWv7TqXJTJyE2Q/QRKikHRCjfTZeWpxey qO90mBa/rEfBOVVOS17n2ikcm9JFWQrsrYGoPDIa7h7rl+44QZ2F7cZ3m7gcSA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678838425; a=rsa-sha256; cv=none; b=hxfqW3V7qG4xmydEuejwjfVviGrOUftc+znf76yyOPqU7NuRHnKllM+8YE5gQJN1VOBnw3 MXS/EWZndqb7UyiRq2muqBro2/UeIIXB9e+gk91oYIaYsSyXPj54oLdVFC775pd4VK+vtA dtUX1ZUyWJcGZpzYfWDAIUO2us1t2IbO+WsY4rZr6sKfWX0qB3X2qcqesNFsXhJ22UvACx iAqveSXq3apogM5BDWAGdb3lS05S4Rl3mRl3kOFRR9OKbMltcSGaX96ioHLkzzPNH7wRge /gHluH5E3i3Zc7Xn4dDWGu55nIlElC/HlYfDpJuGaXf4pz3rQNby0m9VzKLeIQ== Received: by freefall.freebsd.org (Postfix, from userid 1472) id 5743010B89; Wed, 15 Mar 2023 00:00:24 +0000 (UTC) To: freebsd-status-calls@FreeBSD.org Subject: [2 WEEKS LEFT REMINDER] Call for 2023Q1 status reports Cc: freebsd-current@FreeBSD.org,freebsd-hackers@FreeBSD.org,devsummit@FreeBSD.org,secretary@asiabsdcon.org Message-Id: <20230315000025.5743010B89@freefall.freebsd.org> Date: Wed, 15 Mar 2023 00:00:24 +0000 (UTC) From: Lorenzo Salvadore X-ThisMailContainsUnwantedMimeParts: N 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 Dear FreeBSD Community, The deadline for the next FreeBSD Status Report update is March, 31st 2023 for work done since the last round of quarterly reports: January 2023 - March 2023. I would like to remind you that reports are published on a quarterly basis and are usually collected during the last month of each quarter, You are also welcome to submit them even earlier if you want, and the earliest you submit them, the more time we have for reviewing. Status report submissions do not need to be very long. They may be about anything happening in the FreeBSD project and community, and they provide a great way to inform FreeBSD users and developers about work that is underway or has been completed. Report submissions are not limited to committers; anyone doing anything interesting and FreeBSD related can -- and should -- write one! The following methods are available to submit your reports: * submit a review on Phabricator and add the group "status" to the reviewers list. You should put your reports in the directory doc/website/content/en/status/report-2023-01-2023-03/ (create it if it is missing); * submit a pull request at https://github.com/freebsd/freebsd-doc . You should put your reports in the directory doc/website/content/en/status/report-2023-01-2023-03/ (create it if it is missing); * send an email to status-submissions@FreeBSD.org including your report. An AsciiDoctor template is available at https://www.FreeBSD.org/status/report-sample.adoc . We look forward to seeing your 2023Q1 reports! Thanks, Lorenzo Salvadore (on behalf of status@) From nobody Wed Mar 15 02:21:20 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 4PbvKC5X6qz3xqYQ for ; Wed, 15 Mar 2023 02:21:35 +0000 (UTC) (envelope-from rick.macklem@gmail.com) Received: from mail-pf1-x431.google.com (mail-pf1-x431.google.com [IPv6:2607:f8b0:4864:20::431]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PbvKC56tsz4MyK for ; Wed, 15 Mar 2023 02:21:35 +0000 (UTC) (envelope-from rick.macklem@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pf1-x431.google.com with SMTP id o67so4235716pfg.10 for ; Tue, 14 Mar 2023 19:21:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678846894; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=eVvIteDAqh/rv4zTFWuqzIjRBKS0jDG5sNd/Ogh4y9k=; b=Y8r3SPIPX8KDt/4X5bnEtUU0Yydd4iVlsn0EOMBrDVE0+BPrUsc0x6lzevQyrU5SD1 goXNQYAImd7Fv2pDxCdzH434+xP94zv1dLZm1EFQfwNlqefBYHtaTPcYQLWk+xZM2lvF a0t7T9m2Hrfkddj9zqbMUIgNV9FvIYxkr3N2KCcudi396QEXL+c+o0RMYHSlFqx3FvxS eBls6ZplxUGXx8V0bORjnjCwtpDzqYBbayqpvdeqARaeKWox4agShO59U5QDivjljiEk aiv/INk8m9yRuu7gcef7MEjsl11DxdsWpPsOnrwxdNJSTnB39d+45dfBS1e6uMd2wWCZ XYNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678846894; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=eVvIteDAqh/rv4zTFWuqzIjRBKS0jDG5sNd/Ogh4y9k=; b=myAubXRZjv8p84i9X7Wvh1znVGEbmJA7TVJ5TRD++0GXTwmEyljz2MT5vWaYNS3O+n xMGRGL5XbqMWwvvpr1Bt6GaXilJl7R1jJZxB4CRl3YbbLdhrIQHuRwji2h4rWvZQtQJc cc282aJtnvMDF0ki2wL/wk9U9wtQmm/VHDQW4cCTKusJuTsXEK0XJZOXwfJyRDP3lZmk BjuaXuDqar8N+X2hrKl1DByFWKP0gVe4524Jya8u9tw43YK/1N7ndJ+nRSmIj2RzknCR fBiRoX6JPIzGNLJmw5Es+ZDgufxLFcrl0j06IaIe8zhs2IUhd1El1YBL0H7KcdiPogJ/ axoQ== X-Gm-Message-State: AO0yUKXGgfpvbUZwfmHIak0hfOWdP8tPcPQY1p8Q9GvqqvWR5QY75Y4f tCSkrOBpTaaV6fp52//MNwGFc1oRUdEaZfQqHU5byeF5XA== X-Google-Smtp-Source: AK7set/XTU2GMTLjoKIpJpbr2nVzqhVit5zq0xTH27iYkv9cU2+H7xb064YsWRYSIelJwdhs7c6ZDCfdzVwpZZS1yVc= X-Received: by 2002:a65:6111:0:b0:509:4ac5:7f3a with SMTP id z17-20020a656111000000b005094ac57f3amr3973924pgu.0.1678846894576; Tue, 14 Mar 2023 19:21:34 -0700 (PDT) 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 References: <20230314185346.nlfz3ba7ih3qpo6h@topanga.nomadlogic.org> In-Reply-To: <20230314185346.nlfz3ba7ih3qpo6h@topanga.nomadlogic.org> From: Rick Macklem Date: Tue, 14 Mar 2023 19:21:20 -0700 Message-ID: Subject: Re: RFC: A new NFS mount option to encourage use of Kerberized mounts To: Pete Wright Cc: FreeBSD CURRENT Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4PbvKC56tsz4MyK X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On Tue, Mar 14, 2023 at 11:53=E2=80=AFAM Pete Wright = wrote: > > On Mon, Mar 13, 2023 at 07:25:07PM -0700, Rick Macklem wrote: > > Hi, > > > > I have implemented a new mount option for NFSv4.1/4.2 mounts > > that I hope will encourage use of Kerberos and TLS to help > > secure NFS mounts. Although I do not know why users choose > > to not use Kerberized NFS mounts, I think that the administrative > > issues related to the "machine credential" is a factor. > > This new option, which I have called "syskrb5" (feel free to > > suggest a better name), avoids the need for a Kerberos machine > > credential. > > > > > > > So, does this sound like something that should be committed > > to FreeBSD? > > > > speaking as an enduser.. > > this sounds pretty fantastic, i have several workloads in public > cloud that use NFS, and having this added layer of auth would be > really beneficial from a security perspective. i also like how > it should be much easier for me to manage as well. > > one question - do you see other NFS implementations getting ready > to roll out this support on their end? i ask because it would be > nice to have this client support working and well tested by the time > other vendors start offering this support server side. for example > AWS EFS. Well, there are three components: 1 - SP4_NONE, which is what the FreeBSD NFSv4.1/4.2 client always uses, so as far as I know, all the servers support it. (I have only been able to test against the FreeBSD and Linux knfsd at this point, so there may be surprises with other servers.) 2 - Kerberized NFSv4. It is required by the RFCs and is supported by at least most servers. I do not know if AWS EFS supports Kerberos? 3 - NFS-over-TLS (the RFC authors prefer RPC-with-TLS). At this time, only the FreeBSD server and a userland server called DesyFS (and maybe Ganesha) have support. There are experimental patches for the Linux knfsd, but I do not know how close they are to being in a mainstream kernel. Other server verdors should be working on this, but I have no idea what their current status is. #3 is not needed for this mount case, but it will be nice to have. (And the above may not be accurate. It is just what I have observed.) Thanks for your comments, rick > > thanks! > -pete > > -- > Pete Wright > pete@nomadlogic.org From nobody Wed Mar 15 17:04:06 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 4PcGwF1kR4z3ykyx for ; Wed, 15 Mar 2023 17:04:45 +0000 (UTC) (envelope-from freebsd@walstatt-de.de) Received: from smtp6.goneo.de (smtp6.goneo.de [85.220.129.31]) (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 4PcGwD0JMSz3GXl for ; Wed, 15 Mar 2023 17:04:43 +0000 (UTC) (envelope-from freebsd@walstatt-de.de) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=walstatt-de.de header.s=DKIM001 header.b=WcZ+oHZp; spf=none (mx1.freebsd.org: domain of freebsd@walstatt-de.de has no SPF policy when checking 85.220.129.31) smtp.mailfrom=freebsd@walstatt-de.de; dmarc=none Received: from hub1.goneo.de (hub1.goneo.de [IPv6:2001:1640:5::8:52]) (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 smtp6.goneo.de (Postfix) with ESMTPS id 1681C10A1E8A for ; Wed, 15 Mar 2023 18:04:36 +0100 (CET) Received: from hub1.goneo.de (localhost [127.0.0.1]) (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 hub1.goneo.de (Postfix) with ESMTPS id 7E07710A1E98 for ; Wed, 15 Mar 2023 18:04:34 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walstatt-de.de; s=DKIM001; t=1678899874; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=qmUgDP6TmR+EFkj1Z0irMTUFMbICn5V3ejgq1r8J8sk=; b=WcZ+oHZpPoqNrIA3pjgP9HhOPa90rAlk82HRFzqjkKOAIYDjdjo3nf2xaA4O5c36F7coWj PUw3xf4q+imKh02l/I7YeIWi3fz8erN+lUpuE37pz53s7cKulr4smewlM8qSOqbf+DX9ku XQch8pt+ZMQ59Tn+zx5jC3XUqq/Dwd6ChAcEqe9XfK9/XYDXi4JrtK5nSERfC3lwoxxzhi Um+TRyi0XWTP69mSkPEIXU/JDSQkIocMFvCsBUgTkFb9Dl3NLr0/VwRWRkTbdbNlGGGGxJ 3/zFUbBm1qfSUQoH0XiUhaVylIThn0NvVQDJU/p1WC9BryJb8uLV5ir09dEg/w== Received: from thor.intern.walstatt.dynvpn.de (dynamic-089-012-217-119.89.12.pool.telefonica.de [89.12.217.119]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by hub1.goneo.de (Postfix) with ESMTPSA id 5611610A1E97 for ; Wed, 15 Mar 2023 18:04:34 +0100 (CET) Date: Wed, 15 Mar 2023 18:04:06 +0100 From: FreeBSD User To: FreeBSD CURRENT Subject: oudriere/CURRENT jail upgrade: install error: libc.so.7: Operation not permitted *** [_libinstall] Message-ID: <20230315180433.557ecb3a@thor.intern.walstatt.dynvpn.de> Organization: walstatt-de.de 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 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-UID: ff90c9 X-Rspamd-UID: 9d3a00 X-Spamd-Result: default: False [-3.30 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[walstatt-de.de:s=DKIM001]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; DKIM_TRACE(0.00)[walstatt-de.de:+]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_NA(0.00)[no SPF record]; TO_DN_ALL(0.00)[]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; RCPT_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:25394, ipnet:85.220.128.0/17, country:DE]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; HAS_ORG_HEADER(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[walstatt-de.de]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4PcGwD0JMSz3GXl X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N Hello, running CURRENT on the host and a CURRENT jail on that specific host for poudriere test purposes, building the jail from sources succeeded, but installing stopped working a couple of weeks ago (installing 13-STABL:E jails stopped working, too, but building 13-STABLE on top of CURRENT works fine). The jail's base is built like a PkgBase. the I try to update the existing jail via poudriere jail -j head-amd64 and that fails with (as 13-stable does also): [...] install -N /pool/sources/CURRENT/src/etc -s -o root -g wheel -m 555 mknetid /pool/poudriere/jails/head-amd64/usr/libexec/mknetid --- realinstall_subdir_lib --- install: rename: /pool/poudriere/jails/head-amd64/lib/INS@uPWcSw to /pool/poudriere/jails/head-amd64/lib/libc.so.7: Operation not permitted *** [_libinstall] Error code 71 [...] The same with building the jail running "poudriere -u -b". The same is for 13-STABLE. The only way to circumvent this issue is to delete the jail and install it. The installation succeeds in both updating-failing scenarios (pkgbase and poudriere built case), which leads me to the conclusion, that a minor bug is preventing the update. Any suggestions how to make updating work again? Kind regards, oh -- O. Hartmann From nobody Wed Mar 15 17:22:16 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 4PcHJX0cKmz3ym5r for ; Wed, 15 Mar 2023 17:22:20 +0000 (UTC) (envelope-from mjguzik@gmail.com) Received: from mail-ot1-x32b.google.com (mail-ot1-x32b.google.com [IPv6:2607:f8b0:4864:20::32b]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PcHJW4Lm7z3KZg for ; Wed, 15 Mar 2023 17:22:19 +0000 (UTC) (envelope-from mjguzik@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ot1-x32b.google.com with SMTP id w21-20020a9d6755000000b00698853a52c7so2584793otm.11 for ; Wed, 15 Mar 2023 10:22:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678900937; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=y0nc779CYsUkFJakW6pAn3RFratkBrbcAvrqX1dCq2o=; b=Y/8w9RdsPEu40XYY4nJpmoBL7obzhL9n+w2Tvzit0CGfK+5VTPQXjXt8xV0nI06ng8 e73s3c9hG5lRDCtAZVKn4QCw4mH11KqIl48ZZWGKIaJnWW+mgLA49SmiJW8mWZZ+PP7n Ls2E1aJUXqUjTsCUhrn+SMnk2+N6qRZxiLdKGJ0E5cGDDFNanB1sfqUHYIXpSb53bBKo jc++loQ0GHPzD6iQXJPjRQgRgq23q6vgV0IPgj/DIX46hmyIEs8/psKEMuJSK0yc8w7F JK5ujY1fvzbjbI/NlWmuSuFX/qVitTwldCZnWzrt7MKqcPhnVe9NzQRmLrwvQnHyo/5Z lsWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678900938; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=y0nc779CYsUkFJakW6pAn3RFratkBrbcAvrqX1dCq2o=; b=bY38S2Etz43oan86UM5SwqtB/iAewM6bRZ0bH/PktSQzjhioDaxKxs1+zW83HrJ6wt drvdiemR1piIe1RNNegZ5gERNaiq8zXPuncyxjz8sAghnbL/nz4pY51JeL3GZtf8No8b dZlWXhJdDewIdlQMzfhmOkm4c3buUEsY+pgR8Hm8m/zDSfPhZxJ8QOvGIPvayZk2+UCf HARckqWILWGal4MrMuVj0Irti3TTE9Tq6VpKmWGNxpeMi5De96/07mHka0Ra2MFh22U+ HbCr5k7tb1gz+EVRdm9MdL3ofPGLw2HlrUREEyoqzZ+yW0+ougK1jgZcqc8Wbes/9W5p 466g== X-Gm-Message-State: AO0yUKUbNQkG7SYvtcORp3zUTEzq06hF9Ix2aI1OjeHA1bsJMGfR1McI JGWo5Sk9qwXx79JZxGO+tB36DFcouC2/uE9PtWIEUWvO X-Google-Smtp-Source: AK7set89m+/a9XUXXTBw/NMi2qzaUalb0t03lSBNvIhdHjCq2vFt1ulP4bYTpNszq+DnI6Dzr79cj1eUowDq/6+syrw= X-Received: by 2002:a05:6830:26f7:b0:68d:8bb1:bfbb with SMTP id m55-20020a05683026f700b0068d8bb1bfbbmr14897210otu.2.1678900937695; Wed, 15 Mar 2023 10:22:17 -0700 (PDT) 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 Received: by 2002:a8a:146:0:b0:49c:b071:b1e3 with HTTP; Wed, 15 Mar 2023 10:22:16 -0700 (PDT) In-Reply-To: <20230315180433.557ecb3a@thor.intern.walstatt.dynvpn.de> References: <20230315180433.557ecb3a@thor.intern.walstatt.dynvpn.de> From: Mateusz Guzik Date: Wed, 15 Mar 2023 18:22:16 +0100 Message-ID: Subject: Re: oudriere/CURRENT jail upgrade: install error: libc.so.7: Operation not permitted *** [_libinstall] To: FreeBSD User Cc: FreeBSD CURRENT Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4PcHJW4Lm7z3KZg X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N I don't know why this broke, but as a temp hack you can probably get away with just removing chflags, like so chflags -R noschg /path/to/the/jail On 3/15/23, FreeBSD User wrote: > Hello, > > running CURRENT on the host and a CURRENT jail on that specific host for > poudriere test > purposes, building the jail from sources succeeded, but installing stopped > working a couple of > weeks ago (installing 13-STABL:E jails stopped working, too, but building > 13-STABLE on top of > CURRENT works fine). > > The jail's base is built like a PkgBase. the I try to update the existing > jail via > > poudriere jail -j head-amd64 > > and that fails with (as 13-stable does also): > > [...] > install -N /pool/sources/CURRENT/src/etc -s -o root -g wheel -m 555 > mknetid > /pool/poudriere/jails/head-amd64/usr/libexec/mknetid --- > realinstall_subdir_lib --- > install: rename: /pool/poudriere/jails/head-amd64/lib/INS@uPWcSw to > /pool/poudriere/jails/head-amd64/lib/libc.so.7: Operation not permitted *** > [_libinstall] > Error code 71 > [...] > > The same with building the jail running "poudriere -u -b". The same is for > 13-STABLE. > > The only way to circumvent this issue is to delete the jail and install it. > The installation > succeeds in both updating-failing scenarios (pkgbase and poudriere built > case), which leads me > to the conclusion, that a minor bug is preventing the update. > > Any suggestions how to make updating work again? > > Kind regards, > > oh > > > -- > O. Hartmann > > -- Mateusz Guzik From nobody Thu Mar 16 22:55:55 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 4Pd2gL4b8Kz3yjWm for ; Thu, 16 Mar 2023 22:56:14 +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 4Pd2gK05Wdz4W3B for ; Thu, 16 Mar 2023 22:56:12 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=CKOw7MDd; 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=1679007370; bh=G5pSUKZMs/AelGlWhI9jXEfCGrRTufH++WWiN5Im5wg=; h=From:Subject:Date:Cc:To:References:From:Subject:Reply-To; b=CKOw7MDdpICyWzIp+NbRc3mO033SvIDucgACaivdg9wCZTUPmHj1RM9IbdmYIsDy9La5/SlObX5RHD3nNrEWimb1hdqhS16gQl1LND89m8OguXGoVrH6a0cp2uX+OisQIyQ2V410FeiYnDd4Z4amtJpLuPBfTd2MFQx7FTtF1lbVZfgF74JKyZgoUom/Nh8lLj2+gyQwzJWWgkT6meIIfys2sJ46VlacFmdaWIvn33smu4caOD8JtUBRCvGxnnieOrC9yOh0faX0V3oBqUtEAcM9zWMMoN5ELJHN1/zoclcff/AX+zofuiQtydnHYBXnR8ML5xN5zHpQI05WxNWUhw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1679007370; bh=CvSXUSUTbVXguwUyYF6QMXs338V3wyLbW1gshjLBVdq=; h=X-Sonic-MF:From:Subject:Date:To:From:Subject; b=uRo/KZs4UQeHCVPtClQkQSXrQ9aWCbbhFM244DH/oYhtniJCOEaLgQsZf145dxANzO1vdywnLB3CXp7E6mM5XGiHpWt/erCtB6ci8TG4w7wxHy6qbcgRGZTeW2x34Lpcg3JD3gD+BoeYCygLp+oN2DHorSFdoStgBl0D3qoYg2MF+jrM5Ru6wlTxCpzi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GojtXgjraH9dB3HHa10gbEnVw.wlCALMUUxoQhPM9nRI059alGQzLwg_8 Vrpm1lbWjUbcsn5Hk0pYeowwx_zI6ltdhqH9oB3852SJ8WZAwls7i3zVN4CVTNZ6HqcjNJrBHxfY UvqF4a995N.104VOxyg4NfILzr9sDwl44GJVx2OW7VDs2dE6VZW0PmluL7oYmNZ4wi6el4p.69.0 vMQBJAzDe4TFqQKcmAIAZ2rriEHkbjWl6nQaN7ll3DoAyaT31UzEav95wF3HVHmhp2eoxP_zITG0 2ZbrehHiX9LUNEUWDN4LshfYYP3dEA8UZMJ05S.CejnuWqXpFFGh.WufexgStzW2wj6kap7bb14R wUSwuRkTx X-Sonic-MF: X-Sonic-ID: 70231a56-773f-4ebd-8435-9ab9be72a9a1 Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.gq1.yahoo.com with HTTP; Thu, 16 Mar 2023 22:56:10 +0000 Received: by hermes--production-gq1-6cf7749bc8-lvvtt (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID ecc01a7860eb2b3c09070a2e8581ccf6; Thu, 16 Mar 2023 22:56:06 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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: I just updated to main-n261544-cee09bda03c8 based (via source) and now /etc/machine-id and /var/db/machine-id disagree ; more Message-Id: Date: Thu, 16 Mar 2023 15:55:55 -0700 Cc: cperciva@freebsd.org To: Current FreeBSD , FreeBSD-STABLE Mailing List X-Mailer: Apple Mail (2.3731.400.51.1.1) References: X-Spamd-Result: default: False [-3.41 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.91)[-0.912]; 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: 4Pd2gK05Wdz4W3B X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N # 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. === Mark Millard marklmi at yahoo.com 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 JFTEqm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kOANpe.rgb1iuUiEtTQ_yK7MEQTfOOMBnJRGuutaZlZNDvHtNGU7 Sagep9NNM6nDtTDor6AXgX.ag.OKZfhqn_pu3iNzTPrOuLFZ2IvmrXqHUZY9mf9_1VWFNjRb69ta rB2e.6ZYdjoiN3CKkUQpY1UrOZDgvteKXHrmszTJ1pV9sdYJR80nBZug3a4Opk4v6llfcSznMpq6 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 From nobody Thu Mar 16 23:48:40 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 4Pd3qt3W1kz3ymJS for ; Thu, 16 Mar 2023 23:48:42 +0000 (UTC) (envelope-from cperciva@freebsd.org) Received: from mail.tarsnap.com (mail.tarsnap.com [54.86.246.204]) by mx1.freebsd.org (Postfix) with SMTP id 4Pd3qt1LYkz3FNw for ; Thu, 16 Mar 2023 23:48:42 +0000 (UTC) (envelope-from cperciva@freebsd.org) Authentication-Results: mx1.freebsd.org; none Received: (qmail 68678 invoked from network); 16 Mar 2023 23:48:41 -0000 Received: from unknown (HELO dell7390.daemonology.net) (127.0.0.1) by mail.tarsnap.com with SMTP; 16 Mar 2023 23:48:41 -0000 Received: (qmail 88592 invoked from network); 16 Mar 2023 23:48:40 -0000 Received: from unknown (HELO ?127.0.0.1?) (127.0.0.1) by localhost with SMTP; 16 Mar 2023 23:48:40 -0000 Message-ID: <2cf7d953-2493-9673-5ea3-fba22c694015@freebsd.org> Date: Thu, 16 Mar 2023 16:48:40 -0700 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 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: I just updated to main-n261544-cee09bda03c8 based (via source) and now /etc/machine-id and /var/db/machine-id disagree ; more Content-Language: en-US To: Mark Millard , Current FreeBSD , FreeBSD-STABLE Mailing List References: Cc: Baptiste Daroussin , Tijl Coosemans From: Colin Percival In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Pd3qt1LYkz3FNw X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:14618, ipnet:54.86.0.0/16, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N I think the current situation should be sorted out aside from potential issues for people who upgraded to a "broken" version before updating to the latest code -- CCing bapt and tijl just in case since they're more familiar with this than I am. Colin Percival On 3/16/23 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. > > === > Mark Millard > marklmi at yahoo.com > > -- Colin Percival FreeBSD Deputy Release Engineer & EC2 platform maintainer Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid From nobody Fri Mar 17 00: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 4Pd4jN46b9z3ypN3 for ; Fri, 17 Mar 2023 00:28:08 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic316-55.consmr.mail.gq1.yahoo.com (sonic316-55.consmr.mail.gq1.yahoo.com [98.137.69.31]) (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 4Pd4jN0nKKz3L9P for ; Fri, 17 Mar 2023 00:28:08 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1679012886; bh=piYhL+d90/MbK5yZyifAXR7ZvSFcwB1l2ihWEXU63PE=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=Ig8Cazf4XuuIa04+nks8LXfWKoRMEKyExCo5Zmf8cYIOjEYCJKMDonS4hRa9PYcReTviNVUb/TVFxBQ1GwV58vMczH1BQLLvzhuP98DQvfXo9RkZYtzEmoypZpTDubDGcGD6z4tkDCQ2g56MW3e6/yB3sVxD4y0qc0EtStTz1dUhYLZKc9F5tpK70fqNR+Y2Eco6jRinF/Bq2YIq/h5/eGCpkPWnt4Sf+vebHD4pXdIqo6/QeYt42tw5rmagkJPFzXIHsjbUzZgTyPqGoS5CpFzQOPRKT+TM3EhZL3WwI2RUrKiJAJ9nMcdPTeBBmwUWiziQoS+vE1H3zJKnZat+uw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1679012886; bh=tlR21I+Bho90EsZ5S/nJqF/fOtETj8BZj4FIeHrObxH=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=m7Pa/DJAWZ6cANlH5JwtK80K7mBceRVLL3o3Cqk2A5n5VqznP0RnmVj96nwhA/nU+FfkOr9KQ4wLxuuf/dZaafBgmWuOEhBhqwuF+amdAt+hf2YtMutjcErnMqq6TJqg2x5KE8VsPvrUT/tbEHLs9I5Opwsbdj0+T/jOJAdQOI1joejUdQcZKYVHhlAYl4/BxAtfrxcF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ggOxrQXd8bL7f8FM19.uTEaIR_ySU6v UBvi2Stu_r5QQO_rEnMP66aQ5Jl0v_FEW9ECHwONm6aVHAxmrX5DiRKzz.f_VNp6KisTBIbLBpWy 2HxoXmdeMHPd0jkbU0Ize28yZ4MjBySfUzmL2qc0NjX6yprQYbA5a2Ci5_EzS89hZFKc2GNvnVHN kflEnbnRfBMRTf8uU0zgEWylcoDkCVbDp6VV78M5vPq7e0wmhO2CVYQBGOLWH9c4LPqTAlLZlAg. M4fsDvYLja.k7t11UN2PnMAbDrWWEEP94g1Omp_JbZ.U9vg7mvEG1o7RRP8jO7f11fYilNcMaf6f khw-- X-Sonic-MF: X-Sonic-ID: 91ec91cb-8c24-4d32-b30e-896760568027 Received: from sonic.gate.mail.ne1.yahoo.com by sonic316.consmr.mail.gq1.yahoo.com with HTTP; Fri, 17 Mar 2023 00:28:06 +0000 Received: by hermes--production-ne1-759c9b8c64-5jgz9 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 015961d27d546f8396118beb16f695d9; Fri, 17 Mar 2023 00: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: <2cf7d953-2493-9673-5ea3-fba22c694015@freebsd.org> Date: Thu, 16 Mar 2023 17:27:53 -0700 Cc: Current FreeBSD , FreeBSD-STABLE Mailing List , Baptiste Daroussin , Tijl Coosemans Content-Transfer-Encoding: quoted-printable Message-Id: References: <2cf7d953-2493-9673-5ea3-fba22c694015@freebsd.org> To: Colin Percival X-Mailer: Apple Mail (2.3731.400.51.1.1) X-Rspamd-Queue-Id: 4Pd4jN0nKKz3L9P X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On Mar 16, 2023, at 16:48, Colin Percival wrote: > I think the current situation should be sorted out aside from = potential issues > for people who upgraded to a "broken" version before updating to the = latest > code -- CCing bapt and tijl just in case since they're more familiar = with this > than I am. A question may be if past dbus port related activity might have established a /var/db/machine-id independent of the recent FreeBSD activity. That might not be able to be classified as a "broken version": Before upgrade: /etc/hostid (old style) /var/db/machine-id (via port) After binary or source upgrade to releng/13.2 . . . ? For other source(!) upgrades: Similarly but to a stable/13 (jumping over the middle)? Similarly but to a main [so: 14] (jumping over the middle)? To some extent the "broken" context is somewhat analogous other possible prior history sequences with /var/db/machine-id and /etc/hostid ( but not /etc/machine-id ). > Colin Percival >=20 > On 3/16/23 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. =3D=3D=3D Mark Millard marklmi at yahoo.com From nobody Fri Mar 17 00:59:25 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 4Pd5Pq2ZXMz3yqrt for ; Fri, 17 Mar 2023 00:59:43 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic309-22.consmr.mail.gq1.yahoo.com (sonic309-22.consmr.mail.gq1.yahoo.com [98.137.65.148]) (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 4Pd5Pn6mSGz3P0G for ; Fri, 17 Mar 2023 00:59:41 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=HiKLEuGu; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.65.148 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=1679014780; bh=fyTlqinA3BUgBz2T2wVJkMJ04fJPvzhJhX1gA1Go5kU=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=HiKLEuGuTmurEUf7BDK6yJ9lSKFQWxAgv9iuTvG/i2F+WJx3m5hgmqZrbn9pYZtkb5vLGRGjbxUHQLKRW244i7kPxWfEReHQncecxR1to5L2xfbqN3OzMEaJF2wo39miPdYbpji+kJGnpVtDHfDC8ktAw5Ztk3DtygVpKJNmylE46f4R1SD4lAV+77e9l/Mm4itpgTgyKbmchJPGXK2XbG7dNxWoQSmj7+UvKyruzlwlcK2cRraxLnd+xQyK0NVPV0OEPsblLyxHJfwtcjA5pqRNEpBhEDHZFb16B0c83BcPWmfz0giNS6R70nUteACCR0mUifHWqmOEBaJh42kRvg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1679014780; bh=Ib3g76pG2c+lCB2uEBu64N6EzZ9F4tqkL+RFcJXMqTT=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=P2D27RAPNFcQyjJ6wp8sLrTDeGDR/2tdraAHQ1DhLNODZ6wWIBBcK6D3iLJY3geFfAbz1+s9WQXSKV10FuMUXeZrKsBj1UqyGvKoTCX++ZaL2cp4wJooOX69iISlSpJW4Jaehj424Z7oEbaRDhrAtuDOcaDAyljMRJLbAdJqUmUI4N3lbMI2WzYy45X0lOsRpe73zRFYN3wbSiZSylsqNMTI6RbjISrvs2yjd9jwTlub+KU+Fg4WFd8A2tHAbfyxEKRJO1J6kHT6I4MNE8h8zX1mKqYQKxNy9r28v/xrmyf8ps97+mdFf2emhFA56xg7haPiSJXw/e7FncRNGzVQFA== X-YMail-OSG: sxlzNNEVM1mszCGQO4ZWrkL4BYAT7F_YcZS95QxKvBi7Oazbtd3JJvgD7IAlSFd tvLnaESYejYqT4SYKmCVn_LG4e75n_TqW4UcooWxVM6VvQhKEF4IBSAKv5.XQxiJdeQinN.HWTQm 4ZJVPynadNUlIdp7FEIgkRd_dFbikM8MaPja4dMSP49Oe6pq5vRC7QgagebVLmmrYBew0_WkQviN LK2DHWJZDKSPH8CmWjQ0QWk1b21xqXqZqLa4sTX9Jy6_rLFRyoXjiJ8LttTuTYS5wC43ngqb6Prx Z4JdiCaRN_L_ClzBIR0MgEUDk2rbjnSyaybc6FuCl13aiI2q_Z4Pd00uGZ59_yCUQQefoBYIbFNn Le.DaMze3BOPGcVyS3XfkTRInkIXwhHhF5oBUvo_OmCCSk8BoHBezLyjy0Yb5MyWcnHGrmIa7eLB I0tSoMzaq8FY.HSaQBmr014CJYPvi4u6QT9n.S3K_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h9NRLLBm7E7rMUHdH8qZU6J2ZIfdH8JBes I1TE9_aWbpc4sZLMuYEVnKM59hhzHOv_6ew0GZdYrvotanl5QKX.VbZ9Iyao030Rde3lS9BrKds. ZI._r2NtkPPSsed1pdm_ygvklwi1FU.aDUdlykZDqnu3cRtFTwuiG5govkcYWG7hy8QpcXG5.43E __6FsXvcsYx6jg.J4oe4oG5gEl06VKuQypr8HLxTgGT5.Q37xhWamQUrshND9s7d6ZAmlnMznyPx J0YOaTXCMBEgePXubLMHHz7igD1Q.lIZ0RUCioQA8TwFUXgcmMA.xLwxKfjdHYt02Oy63dzHRMFt rXC6unmr.wpFr2ZoUWJeeC8AYnqcx9KJ9oSAhzxP26vOv06J3uBwI0vvjUFBtSNeLv.fzmqbpHuh XvZ6MlKAbtk2lGzLpS5g05xN2QIVs_CXiu.CUM8DOjkpCxdewFlu5tWxrfaPlOBeD0QcZrqTfjNt ICTbfYfrbJzYJ59.8SiZAqI79PzsPZ4O8O3BKS0pLrclPU8fSJfQXO9izCo6EYtD0NvJ9er0ST_q RMkzBE0YxFi8TrkNl9kd4nvZjXPUv2mnuOf6GYci9sJBXXbYYfDT4xBt0__P237ikhJG7kcY8F.O 2y.SunfSEFcHnV.9Tmz.tewRKII6E.qeJLjXwy7z55fxFDyGCsc5aqI42i.OF4XZWPzdskHlD7G8 hfX1ICUXuED_PRHSPBqtV_XPwOkQZ3VySk7kQ8l.Hn2fOAAfQwpx_I8Wi1EbpjrBZwexA_WA1m7s 0XA-- X-Sonic-MF: X-Sonic-ID: d42dcdfd-0cc5-410e-a7f9-85202cf6d92a Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.gq1.yahoo.com with HTTP; Fri, 17 Mar 2023 00:59:40 +0000 Received: by hermes--production-gq1-6cf7749bc8-bcgkq (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 6f83934e1f1ae2d5d0f808b7db30d3c4; Fri, 17 Mar 2023 00:59:35 +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 17:59:25 -0700 Cc: Current FreeBSD , FreeBSD-STABLE Mailing List , Baptiste Daroussin , Tijl Coosemans Content-Transfer-Encoding: quoted-printable Message-Id: <8DCCBDC3-3E00-48DD-A501-AC89448E8FDB@yahoo.com> References: <2cf7d953-2493-9673-5ea3-fba22c694015@freebsd.org> To: Colin Percival 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.813]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; RCVD_IN_DNSWL_NONE(0.00)[98.137.65.148:from]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; RCVD_COUNT_THREE(0.00)[3]; RCPT_COUNT_FIVE(0.00)[5]; FREEMAIL_FROM(0.00)[yahoo.com]; RCVD_TLS_LAST(0.00)[]; TO_DN_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; MIME_TRACE(0.00)[0:+]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.65.148:from] X-Rspamd-Queue-Id: 4Pd5Pn6mSGz3P0G X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N On Mar 16, 2023, at 17:27, Mark Millard wrote: > On Mar 16, 2023, at 16:48, Colin Percival = wrote: >=20 >> I think the current situation should be sorted out aside from = potential issues >> for people who upgraded to a "broken" version before updating to the = latest >> code -- CCing bapt and tijl just in case since they're more familiar = with this >> than I am. >=20 > A question may be if past dbus port related activity might > have established a /var/db/machine-id independent of the > recent FreeBSD activity. That might not be able to be > classified as a "broken version": >=20 > Before upgrade: > /etc/hostid (old style) > /var/db/machine-id (via port) Looks like var/db/machine-id is not a dbus default place: # find /var -name machine-id -print | more # dbus-uuidgen --ensure # find /var -name machine-id -print | more /var/lib/dbus/machine-id So the path in my analogy may not be the right one for overall question. > After binary or source upgrade to releng/13.2 . . . ? >=20 > For other source(!) upgrades: > Similarly but to a stable/13 (jumping over the middle)? > Similarly but to a main [so: 14] (jumping over the middle)? >=20 > To some extent the "broken" context is > somewhat analogous other possible prior > history sequences with /var/db/machine-id > and /etc/hostid ( but not /etc/machine-id ). >=20 >> Colin Percival >>=20 >> On 3/16/23 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. The above is wrong: it was etcupdate activity, not delete-old-files activity, that did the delete ("D") and did nothing with /var/???/machine-id . >>> 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. >=20 It might just be that there should be notes someplace about checking and possibly fixing the various machine-id related file relationships, especially if "dbus-uuidgen --ensure" (default path) was part of the prior context. =3D=3D=3D Mark Millard marklmi at yahoo.com From nobody Fri Mar 17 17:15:47 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 4PdW476L3Xz3ybjM; Fri, 17 Mar 2023 17:15:51 +0000 (UTC) (envelope-from tijl@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 4PdW475ktGz4LY2; Fri, 17 Mar 2023 17:15:51 +0000 (UTC) (envelope-from tijl@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679073351; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=IKBcKNvQb8Dd2AueR4yCp6kHiqtCJ+ECJEVh32EbF84=; b=Mb/iXXHrTbqfnAgt+sK4YpvV3JTqjU/nvdA3nVj+XpfHUEiHqdYe8O1W71MzwxDkuOPFhe EgExR2+ulMOXFgGSavlfeipWWgx/meYdaA8V5S3x6V7sXaZkYUYo+btJskxG9PTLnVRuPY PdstgzjNbT7l9durxFemwMdzpBvNzoZqqRlyPdqqjYa3DDtF31F5luVE/URgDurx4w5CLE SYtYUGeUzu5zjBNGaYgi6jdl0Zv8vm7aZ9gvsbgMcz2YRCODkx/MDqGhyCLRNR4Uyo+Joy JN4qXRx3Ew+JlC2WJe456klvyNdkAwQ+ZMyNCN9DbGGy+PfRCTyFDIAvonk49g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679073351; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=IKBcKNvQb8Dd2AueR4yCp6kHiqtCJ+ECJEVh32EbF84=; b=t0PD6ah9xvS+TAngxo7Al0FZ4dpkQVKHR/76Ysjnr5pCgCkBRNdYj89KzgQzCqTJwPc+3f q/1aRpiU6v/qWVR4gD2ymjaAFPibzgesFKWdCL2Al4x2BpXkwKHy0A5ACw3vCAiIyq/2RU jIuw4XBpHKGer3HWn2tX3uxFgI2saZ/QYPbw9k224/GICZ+5GnDsJfbsUbeZLCqaRqmkjF MZ1pqFM/BfWJ8BEmO51rlz6a+eDdHMVnPoN0IdSYcv43wzb6AtCBEgkA6F+lOAWfSs5ayz 6RitqA+17TRDJb88S35Pqm9BR9wx/9Q4NxkK5fc6lW2gndFADqgj8/b2IciT2A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679073351; a=rsa-sha256; cv=none; b=Bg+ckZDyhKemup2H4VC8qlk9SH92SnNStnlqAgbp1yYl9d/JDNyg4v+a3wVDrlOLQPNVBF 4h3PCq4NQH66hU7VOhpLGQlsUdFgnoq2trkhrtCvoCrAHuz7+AwUCR8WUZnoM8h7u4Nu6X ATuj1yBSOGg7rVbjHsz+x7a2YP4rgjlLusKklco5M6miMKdmMuH21tUkofF3T7w/PLrp++ yiq4lbcgi6EczN6SxcmUjsGBnDBhwB0hgbnvEpmplwkzj5yIdM+5zpP29r1JghnSS9TENk sDsfOvRYIGezFWCpF5rO5CI9QtXGB47l8OOlPkdiuAr1QLB7AUc+qEIWnLvBpg== Received: from hal.tijl.coosemans.org (unknown [IPv6:2a02:a03f:894b:4700:750a:4519:2272:b3dd]) (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) (Client did not present a certificate) (Authenticated sender: tijl) by smtp.freebsd.org (Postfix) with ESMTPSA id 4PdW466fqzz15jp; Fri, 17 Mar 2023 17:15:50 +0000 (UTC) (envelope-from tijl@FreeBSD.org) Date: Fri, 17 Mar 2023 18:15:47 +0100 From: =?UTF-8?B?VMSzbA==?= Coosemans To: Colin Percival Cc: Mark Millard , Current FreeBSD , FreeBSD-STABLE Mailing List , Baptiste Daroussin Subject: Re: I just updated to main-n261544-cee09bda03c8 based (via source) and now /etc/machine-id and /var/db/machine-id disagree ; more Message-ID: <20230317181547.4d75e897@hal.tijl.coosemans.org> In-Reply-To: <2cf7d953-2493-9673-5ea3-fba22c694015@freebsd.org> References: <2cf7d953-2493-9673-5ea3-fba22c694015@freebsd.org> 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 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-ThisMailContainsUnwantedMimeParts: N On Thu, 16 Mar 2023 16:48:40 -0700 Colin Percival wrote: > I think the current situation should be sorted out aside from potential issues > for people who upgraded to a "broken" version before updating to the latest > code -- CCing bapt and tijl just in case since they're more familiar with this > than I am. > > Colin Percival > > On 3/16/23 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 . delete-old deletes /etc/rc.d/machine-id, etcupdate deletes /etc/machine-id. I suppose delete-old could also delete /var/db/machine-id but the file is harmless so I don't think this is important for 13.2. >> 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. These files are meant to remain constant across reboots, so the update process cannot change an existing /etc/hostid. For example, it is used by NFS servers to restore state when a client crashes and reboots. If nothing relies on the old ID you can generate a new one by running "uuidgen -r > /etc/hostid" and rebooting the machine. >> 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. From nobody Fri Mar 17 18:56:46 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 4PdYJw4hW6z3yj0H for ; Fri, 17 Mar 2023 18:57:04 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic301-22.consmr.mail.gq1.yahoo.com (sonic301-22.consmr.mail.gq1.yahoo.com [98.137.64.148]) (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 4PdYJw1LgDz3K3l for ; Fri, 17 Mar 2023 18:57:03 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1679079421; bh=r8CxFguHZ9CHYS0KdEN20aG+U2LGbhe1RZpV575/ii4=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=XNadx6MO2HEluYjNLD4LpYdJXo5iO0946bnuVzoYA0EB4m4OfnqsgLbZ48HZv1RJnpqyUqp4y9qAQKp0fZrcF8iYoS917URAmoFUm9OhMzdBOgaYOT7Gi0AVHZqIRQLzJ5suaiA3lywTo6SXI4Gub/XEZI3hx0hW4WIeTQ8r4M8mP21uLcF9n2PFhqDGBltWIvRz5L8SsRmrQhQAbdPjH2Mqyx+yiQgc+W49iH+jGe7gAto7mfE+4rL4KYbiuPen17SMHzEsa8/a0sy3apJyZd4v1ykpk85XfAc3DoayOsP8+hlVgg355ZsHE+nWnc2aTM4uqMbSqS3nQbyMNvxu1w== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1679079421; bh=/EuwzEka+DgB/MGyzE6lH0FWWCLhEnVmQgUqEVAToFC=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=QG/k05+RnMbmsCuQnnJkjRPNVWY5zy+4FpZWKalwzgUkiWeEq5Gb1ix+02g8HP+p9i2eR6SGQoseZm1vjLT6KoXiAt/uIshRTs3LyE20J3b+OIY4hw6dIy+BPndMT6rIfrH6RmHjhUte3QQPTLsIDb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_GKqDXhHbXdPYFdLTmReogi5TAcR6iWbE2FL 3ghXm3liZVQrfRrlY.oi9l89N6aqOYoB5TdIizp9HoFlAMaK98IjA_FbER7X6Mj6w0Xhf2ak9SM0 nKLbJ_cuOlvkgGFFNqSv1C0ryfg3rb6wyjWK2bhI64N6veSj_j.YzamPaJB4iQy5HvYj_Zp2BTVw VBt2q3.HpME56VJ7RptE5Xv88OgvDliX7X2O98x2KjTCZzob8MuSNscqHRCKZKnqbjLadnJQZFLr udTILsNaqTh8UyTIsw9Y_P4T7EFgmGtvYui045sYWUyJvyLptigMDNr_lYupeDEnmRXMM7LWeqA6 TF96aOId0ue8xdkyEDbBqj_MjbAihlX.Apf.OYlaWiAq81QFXafCS.Idp08AyXt9Bb1y3igwuo0V TakpY X-Sonic-MF: X-Sonic-ID: 5889bb56-193c-4e98-a2d7-cdd5250b9806 Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.gq1.yahoo.com with HTTP; Fri, 17 Mar 2023 18:57:01 +0000 Received: by hermes--production-gq1-6cf7749bc8-q7lrl (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 1a416eca30d07b07c3a19c24d1763da5; Fri, 17 Mar 2023 18:56:57 +0000 (UTC) Content-Type: text/plain; charset=utf-8 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: <20230317181547.4d75e897@hal.tijl.coosemans.org> Date: Fri, 17 Mar 2023 11:56:46 -0700 Cc: Colin Percival , Current FreeBSD , FreeBSD-STABLE Mailing List , Baptiste Daroussin Content-Transfer-Encoding: quoted-printable Message-Id: References: <2cf7d953-2493-9673-5ea3-fba22c694015@freebsd.org> <20230317181547.4d75e897@hal.tijl.coosemans.org> To: =?utf-8?Q?T=C4=B3l_Coosemans?= X-Mailer: Apple Mail (2.3731.400.51.1.1) X-Rspamd-Queue-Id: 4PdYJw1LgDz3K3l X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On Mar 17, 2023, at 10:15, T=C4=B3l Coosemans wrote: > On Thu, 16 Mar 2023 16:48:40 -0700 Colin Percival = wrote: >> I think the current situation should be sorted out aside from = potential issues >> for people who upgraded to a "broken" version before updating to the = latest >> code -- CCing bapt and tijl just in case since they're more familiar = with this >> than I am. >>=20 >> Colin Percival >>=20 >> On 3/16/23 15:55, Mark Millard wrote: >>> # cat /etc/hostid /etc/machine-id /var/db/machine-id >>> a4f7fbeb-f668-11de-b280-ebb65474e619 >>> a4f7fbebf66811deb280ebb65474e619 >>> 7227cd89727a462186e3ba680d0ee142 >>>=20 >>> (I'll not be keeping these values for the example system.) >>>=20 >>> # 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 >>>=20 >>> I observed the delete-old-files deleting >>> /etc/machine-id during the upgrade. It did >>> nothing with /var/db/machine-id . >=20 > delete-old deletes /etc/rc.d/machine-id, etcupdate deletes > /etc/machine-id. I suppose delete-old could also delete > /var/db/machine-id but the file is harmless so I don't think this is > important for 13.2. Good to know. I'll remove the /var/db/machine-id that hte machines happen to have around. >>> 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. >=20 > These files are meant to remain constant across reboots, so the update > process cannot change an existing /etc/hostid. For example, it is = used > by NFS servers to restore state when a client crashes and reboots. Good to know. Absent man page(s) describing the princples for handling the hostid and machine-id file(s) (and why), what to report vs. not was unclear. So, for example, historical hostid value takes default precedence over potential adjustment to be random-based instead. That was not obvious to me prior to the explanation. I'm not aware of any place to find that in the man pages or other documentation. > If nothing relies on the old ID you can generate a new one by running > "uuidgen -r > /etc/hostid" and rebooting the machine. Yea, in my context, it appears that I can freely update the files. >>> Later I'll see if stable/13 also got such behavior >>> for its upgrade. >>>=20 >>> 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. Thanks for the notes. =3D=3D=3D Mark Millard marklmi at yahoo.com From nobody Sat Mar 18 01:24:39 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 4PdjwY2q0Gz406CR for ; Sat, 18 Mar 2023 01:25:01 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic309-22.consmr.mail.gq1.yahoo.com (sonic309-22.consmr.mail.gq1.yahoo.com [98.137.65.148]) (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 4PdjwX1fKTz4CmR for ; Sat, 18 Mar 2023 01:25:00 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=HIoknEis; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.65.148 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=1679102697; bh=Z3oxsTBisPpsq1Anfa77aw0dBL6p2sqAgoonQ2DEUEI=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=HIoknEisGFBmgHU+fMfVezP/xu+/Z2iluyCGx3G+V1twTXZ/0dlCU8lxxpjGB2N3M+6vKhtieqInNoiLKLwEeM9iCm99jz3MezE92fjSXZ9i5OPC4tFCVXJVkNYUWv7x2ydla3IEe2C99iXh3hoHGSf0TSCeyh4zQIT7c6YfSRkNXBTYn0fDaQVuIxEsXsFb6JbU6qvG9DF6OUPbgU3Jy221OGqpzXq/6+hEAdJ0FsV4NqLiOpP54d2OggWkpPEcEx80kqF8s7n7KWg5YsmZRY2pF60t6AjLBLUFT8DKK3Et/Ni6bt3YX1bqvgsnxtKpNWRcYcjBBx++ep7ULVll1Q== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1679102697; bh=62NdlwPQl7ge3uHjUBJ0xI3DnBdISXG2OcBVAM6DWXy=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=hgAgQGGyzh6yLBa/ZVLYJWDtO21o+2H6MnaORJVHs17XNiG/MolmhyxmImdAai6J7m46hHtP0adouXgNBRZ7Mg52x30SHF34HCiyE4Y7cF4w9cPnXViPikda1J/Zk2fOg4MGO4WjWvpWXNUvjKgFFgubl9Sxe04u9f5N+p4wLM3pbemUZBTXNmYxGR5NXZJTqM66pJdK3t0fKjI87gGEEwLOU93M5XUX5oF81cs0ODS0sWwE/wVlQ+FkWQ5hIKJhpvKBwqC6ciLNQ3R0ZQ64fyO4wMvLQR7IdX01FpPWvsFqrCVdKzaxGkdmB0c6Z+VpGLJwDamhS7fC20fqnxo8ww== X-YMail-OSG: sf5tJM4VM1k7.QJrAj32i4rw2gQpZuNY2HEdxQMpBF070LxIWQRO6kjyNG5laVt Lv8jXKk2vzmADXGwiyAReoTK6E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EtrY.tVXWrCJMP .hy4pPy7DaXLcygiygJWqj3CUGEa.yAWZMBa4Z.Lguhmxpff3SrydjyFR9G8Mxej.DHpf429db9c _Uw-- X-Sonic-MF: X-Sonic-ID: 79c13ad1-2184-4dfe-9a3f-ad2fefc630b0 Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.gq1.yahoo.com with HTTP; Sat, 18 Mar 2023 01:24:57 +0000 Received: by hermes--production-ne1-759c9b8c64-gbrwf (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 32082728079a61947ced984b6bf8633d; Sat, 18 Mar 2023 01:24:51 +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: Fri, 17 Mar 2023 18:24:39 -0700 Cc: =?utf-8?Q?T=C4=B3l_Coosemans?= , Current FreeBSD , FreeBSD-STABLE Mailing List , Baptiste Daroussin Content-Transfer-Encoding: quoted-printable Message-Id: References: <2cf7d953-2493-9673-5ea3-fba22c694015@freebsd.org> <20230317181547.4d75e897@hal.tijl.coosemans.org> To: Colin Percival X-Mailer: Apple Mail (2.3731.400.51.1.1) X-Spamd-Result: default: False [-3.47 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.97)[-0.970]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; RCVD_IN_DNSWL_NONE(0.00)[98.137.65.148:from]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; RCVD_COUNT_THREE(0.00)[3]; RCPT_COUNT_FIVE(0.00)[5]; FREEMAIL_FROM(0.00)[yahoo.com]; RCVD_TLS_LAST(0.00)[]; TO_DN_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; MIME_TRACE(0.00)[0:+]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.65.148:from] X-Rspamd-Queue-Id: 4PdjwX1fKTz4CmR X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N The 13.1-RELEASE (snapshot) to 13.2-RC3 freebsd-update's upgrade sequence did not go well relative to my being prompted to do the right thing to establish /etc/machine-id . After the last reboot (kernel upgrade, presumably) it had me continue with. . . # /usr/sbin/freebsd-update install src component not installed, skipped ZFS filesystem version: 5 ZFS storage pool version: features support (5000) Installing updates... install: ///var/db/etcupdate/current/etc/rc.d/growfs_fstab: No such file = or directory install: ///var/db/etcupdate/current/etc/rc.d/var_run: No such file or = directory install: ///var/db/etcupdate/current/etc/rc.d/zpoolreguid: No such file = or directory Scanning //usr/share/certs/blacklisted for certificates... Scanning //usr/share/certs/trusted for certificates... rmdir: ///usr/tests/usr.bin/timeout: Directory not empty done. root@generic:~ # cat /etc/hostid /etc/mach* cat: No match. It did not indicate the need for another reboot to end up with a /etc/machine-id file. I tried "shutdown -r now" anyway. It did establish an /etc/machine-id file during the reboot: # ls -Tld /etc/hostid /etc/machine-id=20 -rw-r--r-- 1 root wheel 37 May 12 08:46:21 2022 /etc/hostid -rw-r--r-- 1 root wheel 33 May 13 09:46:56 2022 /etc/machine-id So the basic implementation is operational but just lacks an indication of the need to reboot again. The date/time is because it is a RPi4B context (no time of its own) and time is not automatically being established via ntp, apparently. (I did not make such adjustments to the snapshot before starting the upgrade.) I do not know if any of the "install: ///var/db/etcupdate/ . . . " lines or the rmdir line are important. It earlier indicated 5708 patches were fetched and that 377 files were as well. =3D=3D=3D Mark Millard marklmi at yahoo.com From nobody Sat Mar 18 02:04:23 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 4PdkpL3HR0z408Sd for ; Sat, 18 Mar 2023 02:04:42 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic314-21.consmr.mail.gq1.yahoo.com (sonic314-21.consmr.mail.gq1.yahoo.com [98.137.69.84]) (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 4PdkpK2TDkz4K37 for ; Sat, 18 Mar 2023 02:04:41 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=N7r9A6g7; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.69.84 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=1679105079; bh=rgVZfZ1cqBfWES+/1T2rCsyD0ybkKRaamzJWKGiwVZE=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=N7r9A6g7ZMVsWSl26i54PGveZoUvT/yNDl1O+qTmcZEMeKETt0PiCEMctzfNbbSgMW5Qz3j4fw5bS7CxJX11guRBvzsdjD+xZnypgetu0u5Ce4D4VCNrpYBR4eA92KetGivQLjvCVJs4o6SwUMBw/SE3Y3a1TLXJu78nJGdIawBPJkbI5kowXWqmXBK2ME2T9SKUhAKszjMf39ShtKaABmuuam+tr4lFc4rHgK4ramRLmHLq4dtyIkvRYvQqp8OYkYNRGzDJ95OHF5kjyNAreZ9SAqR77ltaFcPtgWh+nsF3/L7GH1Q62Uf7RBuVhStEkyYYxd0iWv2eaRx7NADHPw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1679105079; bh=9nMhICiEPRpixFqUWi5rVpJJcaluK/aHUqS4NQGq8pD=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=DQlapYOIymccwsZv5TXett9dnN907pPOXDV9rZpZsWrD1Y5VtGIkirEBzZ9BDVP+LvePd/7Ppne5LlomjcKUytjCoPuPX2XQODH/6XXVgKSIZQMJ307TOKqFYgIuUzBRzAnanZ6M4clcr5XTM6c/1YFzNoYscarnxnbDdHMGLBJn3Ei2D+I5GstOCPQu5qNwAOs4jKuOvqym2oJAjx1IzNwEiZPkLNOXbqWK2ooWLFBHo7Rp3rs2dSe3D1LHeMnIALkSWn6oLxmlfzpljJ5hWW6dnMppbrEiochJW42BadHfUiSUR6O3RJ0tokhPUV9q7obs8noV53r3U37O/Su8yA== X-YMail-OSG: LZYSSUsVM1ldaVwL0s3km5KCMk7jWUPlgJeTFqnuXZOOuHICOYKlW5VQEsYAyY8 7d3wgMZMf95Sw4k8l.69nadxxrQvvRnX3ERGCXLFqH6TnNa8WARIxbrSGlE6tdXilAXGNpjeMl7W IBmSIdAJCnLUmUod6MRmyemU76ZDHNxi0XSV5MtLLLzAeHKviEj7pO5bnA3A4bg1wo83U9yfiHYf PD3n2.U5DyeRz7zSyaqAHtQJdHgi9kgxbkmrmatmMSvPNMRgPwSC5EdoXUJcmcH8yqmj4VAAtfjv M6EG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inrBQR7r4Izg3r3XdijwvkJ0qRGcLWGN.JchPARp6vnzi5vSNTX_.UIWS nasx29wqtpfE5rdvFRTnqxZBdFb81OWyGDu59icBsLPxkccheIwnXLEuiqRJ0nA3sMK2ek3slY6l PSF6FAclT5RJztQH1EesCBl7aYk.XHRCWOHk.SDptuSfRhFSJ0rn7zZdjVY6ON4rV2JUFDFZOaI1 x8RN_bYCiH4ejHmpSZpv.9w9JQ7CVesqi7Vhh9ZwMDHZMeiHYazxVT_MyG950KwMU2_8fyQmgERc rqKf6refkRmFa14XuW4W1LzMxTVQN5RWCZLMA831UVod_8F4H9wCRlUYyEK5Eg_vy.fILiw659gq HZo7kTzIdb7Emv0KQENEcQh0X_2P2KXt2_XHob1Eblm_x2ouCC63QXLHPuySvt9Z4SYxeoP.3wtD DYwOdCcOiMFBP.0vfGF_9aUEBKSzx9WOKfwRPwkDFq6OHWv7bd_.f..BA54BpXkwnmYY.m4YsB8v dgqoPud3NN86wK0GkcFnghUwuMvtcH2SM9pkFvscvwJ1j3UHbiZ4wEawuTQBXGsF7JTgIsb0X.60 8nPJlzaamzCvpv0ILilDkxYaWPRq6Az84E17G3sDe0xNY5OZGY_duhLPvW1bnOgoze5g8Xp3oZRi AbjdWe47nssrwplmlFIoqbvAGNl_nMUZH0gLpSMVGxFCX_U3A.wMIN6U33t3use626rJu9ZcmhJG h9TET2Rx8AGyO832Fm2Rb.80hMWq72WyzDHmT5Co2qWutuN.mKkpQU2SU8hoMzOwI8UM6svO_SSK MCEIzOyKs6W3oF8SNxYud_OLBpjaWT9Ui2hDLiIvIjog34QXItiTw2goEtwGcBw.NyVilEtR9ANE mEqI2edtk8yJ19udVzmrB6SmyP.NkKDKUqw6rkDrOgMu5oAQlvVladegfXxiccmFve7mya5upApq 8xo4- X-Sonic-MF: X-Sonic-ID: eebe58e9-65e3-4e4c-988e-79f00d7fc4c1 Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.gq1.yahoo.com with HTTP; Sat, 18 Mar 2023 02:04:39 +0000 Received: by hermes--production-bf1-777648578f-277mr (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 315132da0532cee6617be1d4d38e000d; Sat, 18 Mar 2023 02:04:35 +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: Fri, 17 Mar 2023 19:04:23 -0700 Cc: =?utf-8?Q?T=C4=B3l_Coosemans?= , Current FreeBSD , FreeBSD-STABLE Mailing List , Baptiste Daroussin Content-Transfer-Encoding: quoted-printable Message-Id: <91950753-BDE0-45D5-B0B9-42782BD75C47@yahoo.com> References: <2cf7d953-2493-9673-5ea3-fba22c694015@freebsd.org> <20230317181547.4d75e897@hal.tijl.coosemans.org> To: Colin Percival X-Mailer: Apple Mail (2.3731.400.51.1.1) X-Spamd-Result: default: False [-3.45 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.95)[-0.952]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; RCVD_IN_DNSWL_NONE(0.00)[98.137.69.84:from]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; RCVD_COUNT_THREE(0.00)[3]; RCPT_COUNT_FIVE(0.00)[5]; FREEMAIL_FROM(0.00)[yahoo.com]; RCVD_TLS_LAST(0.00)[]; TO_DN_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; MIME_TRACE(0.00)[0:+]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.69.84:from] X-Rspamd-Queue-Id: 4PdkpK2TDkz4K37 X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N On Mar 17, 2023, at 18:24, Mark Millard wrote: > The 13.1-RELEASE (snapshot) to 13.2-RC3 freebsd-update's > upgrade sequence did not go well relative to my being > prompted to do the right thing to establish /etc/machine-id . > After the last reboot (kernel upgrade, presumably) it had me > continue with. . . >=20 > # /usr/sbin/freebsd-update install > src component not installed, skipped > ZFS filesystem version: 5 > ZFS storage pool version: features support (5000) > Installing updates... > install: ///var/db/etcupdate/current/etc/rc.d/growfs_fstab: No such = file or directory > install: ///var/db/etcupdate/current/etc/rc.d/var_run: No such file or = directory > install: ///var/db/etcupdate/current/etc/rc.d/zpoolreguid: No such = file or directory > Scanning //usr/share/certs/blacklisted for certificates... > Scanning //usr/share/certs/trusted for certificates... > rmdir: ///usr/tests/usr.bin/timeout: Directory not empty > done. > root@generic:~ # cat /etc/hostid /etc/mach* > cat: No match. >=20 > It did not indicate the need for another reboot to > end up with a /etc/machine-id file. >=20 > I tried "shutdown -r now" anyway. It did establish > an /etc/machine-id file during the reboot: >=20 > # ls -Tld /etc/hostid /etc/machine-id=20 > -rw-r--r-- 1 root wheel 37 May 12 08:46:21 2022 /etc/hostid > -rw-r--r-- 1 root wheel 33 May 13 09:46:56 2022 /etc/machine-id >=20 > So the basic implementation is operational but just > lacks an indication of the need to reboot again. >=20 > The date/time is because it is a RPi4B context (no > time of its own) and time is not automatically being > established via ntp, apparently. (I did not make such > adjustments to the snapshot before starting the > upgrade.) >=20 > I do not know if any of the "install: ///var/db/etcupdate/ . . . " > lines or the rmdir line are important. >=20 > It earlier indicated 5708 patches were fetched and that 377 > files were as well. Using the likes of: = http://ftp3.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/13.2/FreeBSD-13.2-= RC3-arm64-aarch64-RPI.img.xz directly seems to produce installations with a constant: kenv -q smbios.system.uuid 30303031-3030-3030-3265-373238346338 that ends up being what is used for /etc/hostid . It looks like this traces back to the U-Boot involvement in the boot sequence: # kenv | grep smbios hint.smbios.0.mem=3D"0x39c2b000" smbios.bios.reldate=3D"10/01/2022" smbios.bios.revision=3D"22.10" smbios.bios.vendor=3D"U-Boot" smbios.bios.version=3D"2022.10" smbios.chassis.maker=3D"Unknown" smbios.chassis.type=3D"Desktop" smbios.planar.maker=3D"Unknown" smbios.planar.product=3D"Unknown Product" smbios.socket.enabled=3D"1" smbios.system.maker=3D"Unknown" smbios.system.product=3D"Unknown Product" smbios.system.serial=3D"REDACTED" smbios.system.uuid=3D"30303031-3030-3030-3265-373238346338" smbios.version=3D"3.0" =3D=3D=3D Mark Millard marklmi at yahoo.com From nobody Sat Mar 18 03:52:28 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 4PdnC04zgFz40Fnq for ; Sat, 18 Mar 2023 03:52:44 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic314-21.consmr.mail.gq1.yahoo.com (sonic314-21.consmr.mail.gq1.yahoo.com [98.137.69.84]) (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 4PdnBz3R2zz4TWR for ; Sat, 18 Mar 2023 03:52:43 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=DP0fBKdA; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.69.84 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=1679111561; bh=cIEZvKx1Zb04OZdhA7xhX09MqY5185ehFJZRJLnH3i8=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=DP0fBKdAxtGXTTt/Jp2yF71G+ZioEU6pU9C/ssFNXL6wCcR0dyMW3fqWJTZMVUhotDZgmvlZTeaCoZJ7QlyzCs2BvvW1vVJNZ4eshCtJKoqAIVqYWXodsU/nbbPoUR/U/gSVs1q6p667DBfmKq+v2z4ZQZ6GW9obqU4woWFD8DcmAu/AXkZGue0L7HdMMpXjZ7gZns7cHsAMot1EPKh/NoFlCTFX6Ib06SlYwmsIoZ4NhMx4V+TRCjak6DwdZRx0MfAIPxX/hFc4/XGAdZLwZeYsdhn1PVhyRcIQj4sUq8fskViCv3eW1bpBnzuUFmqgZMpnxt8s/0izQeVBac2YPw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1679111561; bh=THZMHUUiH9Ais+Sb7cr40wiMyHbmCrp8aPzIlKoDmtr=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=Fh8Wr3oIP5uGUGLTJTisIIa8pVUPtMdRLlsrUblt/v+jQdaliD0YdT0b0G282/RIS4k6NaXBeFQ/8CpH/pTBc4HMv5dNJC2XA36LyBDQt1GW0tnidM7YhWAPWTDUgR6CzWYyO/h0xYNXZV5Rfj/sd8qfiVI7OTyqvsAgBbBn3ZM8vFTejN/hp7ilk+ZbPao/Kyi7xgjO6VS3MUYT+oneOZ+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S.NOK9WS2v7q2eZP0Bu7hO6se iUu_gIRuoxyd7BV7fZv5oH_FmiB.T8RS_nwwvtGdwDdiv1.hrdJ2pCSjI1jFB_vMy5OPyMlYCcZr hPmKXcxWuLGpiQL8aUP4ILoktHJB2MgEvEWFjyIPfysQu2lKDbnp0.e_ci6OzYlL5eCgkWLoSq2p eaLhxtm7pNUpfAGOoz.btbXQie0UZYU6mc_pIJI3i3Zc51A.lq.25i6dKwpPK3ORUCvo4xdptVH. VOyBBpEBzBwy8vAi5lW87qca0fxl5LN0sEaqmnIck6fxrAFHiiwl2l7cG1jlxrto.OLjDbNiQUhS 50qntyg-- X-Sonic-MF: X-Sonic-ID: b9706546-0634-4824-81d0-8acc40b90c34 Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.gq1.yahoo.com with HTTP; Sat, 18 Mar 2023 03:52:41 +0000 Received: by hermes--production-gq1-6cf7749bc8-q7lrl (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID c4d4a0b53802a9e6b26d5014239f83c2; Sat, 18 Mar 2023 03:52:38 +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: <91950753-BDE0-45D5-B0B9-42782BD75C47@yahoo.com> Date: Fri, 17 Mar 2023 20:52:28 -0700 Cc: =?utf-8?Q?T=C4=B3l_Coosemans?= , Current FreeBSD , FreeBSD-STABLE Mailing List , Baptiste Daroussin Content-Transfer-Encoding: quoted-printable Message-Id: References: <2cf7d953-2493-9673-5ea3-fba22c694015@freebsd.org> <20230317181547.4d75e897@hal.tijl.coosemans.org> <91950753-BDE0-45D5-B0B9-42782BD75C47@yahoo.com> To: Colin Percival X-Mailer: Apple Mail (2.3731.400.51.1.1) X-Spamd-Result: default: False [-3.44 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.94)[-0.944]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; RCVD_IN_DNSWL_NONE(0.00)[98.137.69.84:from]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; RCVD_COUNT_THREE(0.00)[3]; RCPT_COUNT_FIVE(0.00)[5]; FREEMAIL_FROM(0.00)[yahoo.com]; RCVD_TLS_LAST(0.00)[]; TO_DN_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; MIME_TRACE(0.00)[0:+]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.69.84:from] X-Rspamd-Queue-Id: 4PdnBz3R2zz4TWR X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N On Mar 17, 2023, at 19:04, Mark Millard wrote: > On Mar 17, 2023, at 18:24, Mark Millard wrote: >=20 >> The 13.1-RELEASE (snapshot) to 13.2-RC3 freebsd-update's >> upgrade sequence did not go well relative to my being >> prompted to do the right thing to establish /etc/machine-id . >> After the last reboot (kernel upgrade, presumably) it had me >> continue with. . . >>=20 >> # /usr/sbin/freebsd-update install >> src component not installed, skipped >> ZFS filesystem version: 5 >> ZFS storage pool version: features support (5000) >> Installing updates... >> install: ///var/db/etcupdate/current/etc/rc.d/growfs_fstab: No such = file or directory >> install: ///var/db/etcupdate/current/etc/rc.d/var_run: No such file = or directory >> install: ///var/db/etcupdate/current/etc/rc.d/zpoolreguid: No such = file or directory >> Scanning //usr/share/certs/blacklisted for certificates... >> Scanning //usr/share/certs/trusted for certificates... >> rmdir: ///usr/tests/usr.bin/timeout: Directory not empty >> done. >> root@generic:~ # cat /etc/hostid /etc/mach* >> cat: No match. >>=20 >> It did not indicate the need for another reboot to >> end up with a /etc/machine-id file. >>=20 >> I tried "shutdown -r now" anyway. It did establish >> an /etc/machine-id file during the reboot: >>=20 >> # ls -Tld /etc/hostid /etc/machine-id=20 >> -rw-r--r-- 1 root wheel 37 May 12 08:46:21 2022 /etc/hostid >> -rw-r--r-- 1 root wheel 33 May 13 09:46:56 2022 /etc/machine-id >>=20 >> So the basic implementation is operational but just >> lacks an indication of the need to reboot again. >>=20 >> The date/time is because it is a RPi4B context (no >> time of its own) and time is not automatically being >> established via ntp, apparently. (I did not make such >> adjustments to the snapshot before starting the >> upgrade.) >>=20 >> I do not know if any of the "install: ///var/db/etcupdate/ . . . " >> lines or the rmdir line are important. >>=20 >> It earlier indicated 5708 patches were fetched and that 377 >> files were as well. >=20 > Using the likes of: >=20 > = http://ftp3.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/13.2/FreeBSD-13.2-= RC3-arm64-aarch64-RPI.img.xz >=20 > directly seems to produce installations with a constant: >=20 > kenv -q smbios.system.uuid > 30303031-3030-3030-3265-373238346338 >=20 > that ends up being what is used for /etc/hostid . >=20 > It looks like this traces back to the U-Boot > involvement in the boot sequence: >=20 > # kenv | grep smbios > hint.smbios.0.mem=3D"0x39c2b000" > smbios.bios.reldate=3D"10/01/2022" > smbios.bios.revision=3D"22.10" > smbios.bios.vendor=3D"U-Boot" > smbios.bios.version=3D"2022.10" > smbios.chassis.maker=3D"Unknown" > smbios.chassis.type=3D"Desktop" > smbios.planar.maker=3D"Unknown" > smbios.planar.product=3D"Unknown Product" > smbios.socket.enabled=3D"1" > smbios.system.maker=3D"Unknown" > smbios.system.product=3D"Unknown Product" > smbios.system.serial=3D"REDACTED" > smbios.system.uuid=3D"30303031-3030-3030-3265-373238346338" > smbios.version=3D"3.0" >=20 Looks like if U-Boot ends up with a system serial number, it uses that as the basis for the system uuid: https://github.com/u-boot/u-boot/blob/master/lib/smbios.c char *serial_str =3D env_get("serial#"); . . . if (serial_str) { t->serial_number =3D smbios_add_string(ctx, serial_str); strncpy((char *)t->uuid, serial_str, sizeof(t->uuid)); } else { t->serial_number =3D smbios_add_prop(ctx, "serial"); } For example (some byte reordering also involved someplace): smbios.system.serial=3D"100000002e7284c8" smbios.system.uuid=3D"30303031-3030-3030-3265-373238346338" # 0 0 0 1- 0 0- 0 0- 2 e- 7 2 8 4 c 8 This explains my seeing the same uuid from 13.1-RELEASE installation as I later saw from an independent 13.2-RC3 installation (not upgrade): I reused the same RPi4B. All media produced on the same RPi4B will get the same hostid and machine-id files by default, given how U-Boot works and that smbios.system.uuid "wins" when present. This may all be fine. But it still leaves me expecting that there should be man page(s) covering these hostid and machine-id files and how they should be handled to match the usages to which they are put, such as the nfs use that was referenced. A note/reminder to look up that material could also be relevant. =3D=3D=3D Mark Millard marklmi at yahoo.com From nobody Sat Mar 18 14:55:09 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 4Pf3vT0mwlz3yfXx for ; Sat, 18 Mar 2023 14:55:17 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Pf3vT0C0cz4KS0 for ; Sat, 18 Mar 2023 14:55:16 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ed1-x536.google.com with SMTP id ek18so31003134edb.6 for ; Sat, 18 Mar 2023 07:55:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20210112.gappssmtp.com; s=20210112; t=1679151315; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=yfAlfxqUZTi6nvTIytuVUfE1700OhzxwkGYFPzEP85k=; b=1Fd9H2ceVYku+Aqn0TeXbvEI8DrwNBuqH9LcqoUyQ/sAZgVLhLv3T3Qf4CYJ4wiNX8 iqAVcYs4vllc8UxF99tHDec3vn6kZd45tIm+lPVmVX2UdrPdj2IAVhoWEQYXIR9ubNQ9 wmH91uc3tk4RGWjyLqfuGqexZrJ0X0V8XffXjI+jIs0ZjdndC1HIBkSBWec1PLGxZN// WDjHs3qPI7PgNrAgLFyne7jNZknMTgHfvyLBnHIXc4l+OFeDTo0a09X/ivqPgbLi78MO ymV15eavE1R2bmKc3Uj5uTGXXBMCFcCLl4F5AmZE2RP8U7HfuYgf5hczg4mPkIrG5Rj8 S3Yw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679151315; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=yfAlfxqUZTi6nvTIytuVUfE1700OhzxwkGYFPzEP85k=; b=acDO2NICWcVitWWwCinHcKi1Xt8pEVcYLB0K/OTu+JrdFJBRrbXGEbcjWn7yvstpuB rMszXZNAWz9th1AO2LJ+c44EcJuY/wO1crlvWqh09kbbQcmKvc8frwhoLQfZ+8+xju5q QU7EX2W7V6EFQM65KzYk/y6KdtQnt7+o9jVgdgWkRv08h85nsoa7lxGfdMKfMOOQ3aW5 KYet3lAc3SkJie15MWpGUTzh4tz8+t1En79z1ogCZOuYcObvUOCC0hY+bOia7zwNjGiB xuy4OeKFiVn6AisQz1TjQcI/I9O9JEGWF1fCa6SbPbpaFY4c2hBbSX+8d7lFl9G1rBG0 vp0A== X-Gm-Message-State: AO0yUKXvArZtc0Xp+c2zUWmF6n/fMBG/lLYrWpngRVpbzqiKHzZY6t8U iawsMgvf3URY7Uv/d2GkQFBAY7Sf3+JP8kKKWzDazGg6kWrtTYaK X-Google-Smtp-Source: AK7set9zzpmQWxmdGexFY6r4txeOUDYKK7zcunbWt179ldAz1/RuWpEbGl3xFnjIlKQPexEUfaXK4FggxcS1t9WriOg= X-Received: by 2002:a17:906:9c96:b0:931:f8b1:4472 with SMTP id fj22-20020a1709069c9600b00931f8b14472mr1323838ejc.2.1679151315550; Sat, 18 Mar 2023 07:55:15 -0700 (PDT) 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 References: <2cf7d953-2493-9673-5ea3-fba22c694015@freebsd.org> <20230317181547.4d75e897@hal.tijl.coosemans.org> <91950753-BDE0-45D5-B0B9-42782BD75C47@yahoo.com> In-Reply-To: From: Warner Losh Date: Sat, 18 Mar 2023 08:55:09 -0600 Message-ID: Subject: Re: I just updated to main-n261544-cee09bda03c8 based (via source) and now /etc/machine-id and /var/db/machine-id disagree ; more To: Mark Millard Cc: Colin Percival , =?UTF-8?Q?T=C4=B3l_Coosemans?= , Current FreeBSD , FreeBSD-STABLE Mailing List , Baptiste Daroussin Content-Type: multipart/alternative; boundary="000000000000b01d9e05f72de1ef" X-Rspamd-Queue-Id: 4Pf3vT0C0cz4KS0 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --000000000000b01d9e05f72de1ef Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Mar 17, 2023 at 9:53=E2=80=AFPM Mark Millard wr= ote: > This may all be fine. But it still leaves me expecting > that there should be man page(s) covering these hostid > and machine-id files and how they should be handled to > match the usages to which they are put, such as the nfs > use that was referenced. A note/reminder to look up > that material could also be relevant. > It would be great if we could document this. I too recently ran into a mismatch. If you load the /etc/hostid so that the code in jail0_init picks it up and sets the host uuid, then /etc/rc.d/hostid, enabled by default, will come along and see there's no smbios.system.uuid and generate a new uuid and smack that bad-boy into the kern.hostuuid sysctl unconditionally. It was easy enough for me to work around this by setting smbios.system.uuid in the boot env that I was booting from, though. Nothing to do with the upgrade, just that we have multiple mechanisms to specify this stuff, and the code we use today is somewhat less than robust to cover all the cases that should be supported, but wind up being buggy. Warner --000000000000b01d9e05f72de1ef Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


--000000000000b01d9e05f72de1ef--