From nobody Wed Aug 03 10:41:40 2022 X-Original-To: bugs@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 4LyT1c5C8Fz4YFfV for ; Wed, 3 Aug 2022 10:41:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LyT1c3YNNz3PY3 for ; Wed, 3 Aug 2022 10:41:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4LyT1c2fvrzpGJ for ; Wed, 3 Aug 2022 10:41:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 273AfeXX059009 for ; Wed, 3 Aug 2022 10:41:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 273Afe4g059008 for bugs@FreeBSD.org; Wed, 3 Aug 2022 10:41:40 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: =?UTF-8?B?W0J1ZyAyNjU1OTRdIEl04oCZcyBoYXJkIHRvIGtub3cgd2hhdCB2?= =?UTF-8?B?ZXJzaW9uIG9mIEZyZWVCU0QgeW91IGFyZSBydW5uaW5nIChwcmltYXJpbHkg?= =?UTF-8?B?YSBkb2N1bWVudGF0aW9uIGlzc3VlKQ==?= Date: Wed, 03 Aug 2022 10:41:40 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: rwatson@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659523300; 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=N6Z2xZF+eQs+7JnOkOehpWTLzcUN+QMTWwI2dfl7w7I=; b=oYScjv5Xa7MJ+24xUWqsSMDASzP2wXCNqEHqRHEbkTgdMaEbW75TgJ5RUIWqR+bbzpMQOA Ly4dJdMBosG3ncnGvPkuwZQfczNRSDFDWSbxNfauLEQ2jTaKuSSZwdZm9UUvMahjweOPy6 oEV1z/XzZCsFenVHrmXvQLBaPAJGNltNJvxAAa12Y8h25tUQt/+vEPy96SI/NijuqQNzpS D5i2l+Gk2JKAXRI6N7WzPzNskII/19tPJOjP4qEIRNlqRE34trZ36LHqbgJvyuYmZVk5MF ZTgMX7G+FKWO8EKsNBFRszQYstx1/XnvR7NDPBVwkUgomOx0+MS672xQ9qxjtA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1659523300; a=rsa-sha256; cv=none; b=e4RED23tXbPH7CyqY3YfhzORONv2M7UoQPO0yavKcVRxXiNkUg7kj6pg4vaC6m0oBkS8la /w1cTwycm73knBaFhogxSAKXIemCR+Uj+6MullkId8G2jx+U1L7WBetBbGN0FGBfkAXFBz p0M2JV+jCNJ5BtynZ6Tpyt3GMfme+ACjpWTIrbnpixKe/mk4dSf7A5JEq49lq0mekNvsWW j/IXlAqATWHsCJXkJeJuhV/hsQxJkhakLjIskblxTm3euFdNpywwMWvs19spXSJUs/7hht LXNnxvCLTlKx00gNCxTedOMxFK6EFuZAe+lUzaB43XbEaAf+KwoHrj7nY1Dq9g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265594 Bug ID: 265594 Summary: It=E2=80=99s hard to know what version of FreeBSD you a= re running (primarily a documentation issue) Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: rwatson@FreeBSD.org End users often want to know what version of FreeBSD they are running. But understanding what version is being used is quite hard once you=E2=80=99ve = used freebsd-update, as the documentation and tooling is inconsistent and/or has gaps: - The uname(1) man page represents that the =E2=80=9C-r=E2=80=9D argument = will "Write the current release level of the operating system to standard output.=E2=80=9D.= However, that is actually the value of the OS version returned by kern.osrelease, wh= ich may not be the version you have installed via freebsd-update. - The freebsd-version(1) command will tell you the version you have install= ed. But it is not cross-referenced from uname(1), even thought freebsd-version(= 1) cross references uname(1). - The freebsd-update(8) command has no way to print the current version -- e.g., =E2=80=9Cstatus=E2=80=9D or =E2=80=9Cversion=E2=80=9D that I can find= , and it would be the most obvious place to look to find out the installed version. It cross references neither uname(1) nor freebsd-version(1). Obviously, the notion of =E2=80=9Cversion=E2=80=9D is complex, but some eff= ort has been gone to to neatly hide the complexity of that idea in the freebsd-version(1) comman= d. It seems like it would be good to: 1. Make sure freebsd-version(1) is well cross referenced from other tools t= hat relate to OS version (e.g., uname(1), freebsd-update(8)). 2. To make that version information easy to get via update management tools, such as freebsd-update(8), which might ideally wrap freebsd-version(1) to provide a =E2=80=9Cversion=E2=80=9D or =E2=80=9Cstatus=E2=80=9D mode. 3. To slightly clarify in uname(1) that =E2=80=9C-r=E2=80=9D is not exactly= the =E2=80=9Ccurrent release level=E2=80=9D as most users would imagine such a term to mean. --=20 You are receiving this mail because: You are the assignee for the bug.=