From nobody Mon Jan 8 21:16:43 2024 X-Original-To: freebsd-stable@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 4T86MD1X6Pz56prQ for ; Mon, 8 Jan 2024 21:16:56 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) (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 4T86MC6y7Gz4hxs for ; Mon, 8 Jan 2024 21:16:55 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ej1-x62e.google.com with SMTP id a640c23a62f3a-a29a4f610b1so239012866b.3 for ; Mon, 08 Jan 2024 13:16:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1704748614; x=1705353414; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=TK3kXYFsP4+pxpCsOpSW1T2bYgg865Ia8FOVsN817GM=; b=WbzkxaNA3Ut8F7dOPqcOU5r90QbEbmv0Sf39i/KDll8oxql4c+HUkkJug8zsycICnD 84mQ+vi6ANftWPXtg5CuthNMlhVOFkIn62myHie6A5riwX1EpvrXo/jfGCyoNh8+oQcD YVvPjjxARwxcg8RUYSS7IBYbyzVTE8c6Z4ZGZJjxfAIDogn5Jn4fsR/3zGjVHsX4Y3rA rXPasOx4RfP9UsIXRv1OEFleE4vZV+6AMPhWQbEWIGABj8FKU5fWRh5IIUoBSRIkxZ33 8Vqff1rnkz5FGCCjRFm1PlPFCfgObUQJbbinqa9Xw+/36ggwKHYoGgI8BuJQEgTN4zqC LtKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704748614; x=1705353414; 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=TK3kXYFsP4+pxpCsOpSW1T2bYgg865Ia8FOVsN817GM=; b=BSYHml+fIUlT5XPqNOyvoasRjRwMtj/pm4FjtJF/S5lSpZiQ1FD5T2S7xu0+5PFuli WryRmzE9nqLl+PwOB7EjRAn6B0Klcd4m37ZXjCcenK+qOGpg0M6S+MZjDwM5Ydgmh8ut agbjve79Tz0/6fli1vGr5SE7kT1FJ4VckCRMfIcqtuazSU3fAK/uskuvdActv2h8326M hwnshXylALviq6m/nMa/+XDzpn3gMEoMtnhKPoHgV4hfj5/epwB62gdHqLVa7Ja1cPaM dSScw8acbCfpWZTU7QMn1U2FJ6bmjjQ51iPPGPuTdUEajJxbGLRtUOCz2kw4CRJ1IlBa U6rA== X-Gm-Message-State: AOJu0YxPRyjE7CE5b+L/5nUjhOoq6XG9QRj191FS3VWIr50yxS/WdrqR OLOXsI3cErtvwBoJjFfIVo3sBCLOXzEtP1keOLu8cjWtqVWKCQ== X-Google-Smtp-Source: AGHT+IHa3FAVHPwn6XasvEI/o63ANjS43hBrtnspoeXvWn/a1AOiqxvq7mP2gHTf7p5WsbLWTk9cR2NFnKFYl9wDRzY= X-Received: by 2002:a17:907:72c6:b0:a27:a64e:34bc with SMTP id du6-20020a17090772c600b00a27a64e34bcmr34239ejc.34.1704748614422; Mon, 08 Jan 2024 13:16:54 -0800 (PST) List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Warner Losh Date: Mon, 8 Jan 2024 14:16:43 -0700 Message-ID: Subject: Re: kern.version and uname -v To: Eugene Grosbein Cc: FreeBSD stable , FreeBSD Release Engineering Team Content-Type: multipart/alternative; boundary="000000000000982328060e75b704" X-Rspamd-Queue-Id: 4T86MC6y7Gz4hxs X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] --000000000000982328060e75b704 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Jan 8, 2024 at 1:58=E2=80=AFPM Eugene Grosbein = wrote: > Hi! > > For ages, "uname -v" output (sligtly polished sysctl kern.version) had th= e > following format: > $ uname -v > FreeBSD 13.2-STABLE 36a037f15 KERNELIDENT > This is the reproducible format: only include data that is identical from build to build. It's relatively recent (FreeBSD 11 maybe) > Where KERNELIDENT is GENERIC for x86 distribution media. > > But now: > > # uname -v > FreeBSD 14.0-RELEASE #0 releng/14.0-n265380-f9716eee8ab4: Fri Nov 10 > 05:51:26 UTC 2023 root@releng1.nyi.freebsd.org: > /usr/obj/usr/src/i386.i386/sys/GENERIC > This is the old, non-reproducible format. We've had both formats for several major releases, and this format, with various tweaks as we went from CVS -> svn -> git. Maybe the problem here is that in the run up to 14.0 we didn't turn on reproducible builds? > Do we really need to break the format and include these into "uname -v" > output > for release and stable branches? > I'd argue it is not broken. uname -v format is not specified nor guaranteed to produce specific results. Changed maybe, but not broken. It changes at major releases. Warner --000000000000982328060e75b704 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Mon, Jan 8, 2024 at 1:58=E2=80=AFP= M Eugene Grosbein <eugen@grosbein.= net> wrote:
Hi!

For ages, "uname -v" output (sligtly polished sysctl kern.version= ) had the following format:
$ uname -v
FreeBSD 13.2-STABLE 36a037f15 KERNELIDENT

This is the reproducible format: only include data that is identical fro= m build to build. It's relatively recent (FreeBSD 11 maybe)
= =C2=A0
Where KERNELIDENT is GENERIC for x86 distribution media.

But now:

# uname -v
FreeBSD 14.0-RELEASE #0 releng/14.0-n265380-f9716eee8ab4: Fri Nov 10 05:51:= 26 UTC 2023=C2=A0 =C2=A0 =C2=A0root@releng1.nyi.freebsd.org:/usr/obj/usr/sr= c/i386.i386/sys/GENERIC

This is the old= , non-reproducible format. We've had both formats for several major rel= eases, and this format, with various tweaks as we went from CVS -> svn -= > git.

Maybe the problem here is that in the ru= n up to 14.0 we didn't turn on reproducible builds?
=C2=A0
Do we really need to break the format and include these into "uname -v= " output
for release and stable branches?

I'= d argue it is not broken. uname -v format is not specified nor guaranteed t= o produce specific results. Changed maybe, but not broken. It changes at ma= jor releases.

Warner
--000000000000982328060e75b704--