git: 61829e4efd - main - 13.2 relnotes: update hostid/machine-id items

From: Mike Karels <>
Date: Thu, 16 Mar 2023 22:50:51 UTC
The branch main has been updated by karels:


commit 61829e4efdcc6ee10a6f6b06b6115027a843cf87
Author:     Mike Karels <>
AuthorDate: 2023-03-16 22:49:52 +0000
Commit:     Mike Karels <>
CommitDate: 2023-03-16 22:49:52 +0000

    13.2 relnotes: update hostid/machine-id items
    The details of the addition of /etc/machine-id have changed, along
    with the type of /etc/hostid if it is generated.  Update the release
    notes accordingly.  Also document uuidgen -r, used by the hostid
    script.  Also include a change from my previous review that I
    Reviewed by:    carlavilla, tijl
    Differential Revision:
    Approved by:    carlavilla
 website/content/en/releases/13.2R/relnotes.adoc | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/website/content/en/releases/13.2R/relnotes.adoc b/website/content/en/releases/13.2R/relnotes.adoc
index 2d7fe740cd..37b216f75d 100644
--- a/website/content/en/releases/13.2R/relnotes.adoc
+++ b/website/content/en/releases/13.2R/relnotes.adoc
@@ -121,10 +121,10 @@ See man:growfs[7] for details.
 A new RC script, `zpoolreguid` has been added, which will assign a new GUID to one or more zpools, useful for virtualization environments when sharing datasets.
-A new RC script, `machine_id`, has been added, which will generate the [.filename]#/var/db/machine-id# file containing a random UUID (version 4) if it does not exist.
-Note that [.filename]#/etc/machine-id# is a symbolic link to [.filename]#/var/db/machine-id#.
-The file is used by some libraries such as GLib.
+The `hostid` startup script will now generate a random (version 4) UUID if there is no [.filename]#/etc/hostid# file and no valid UUID from hardware.
+Also, if there is no [.filename]#/etc/machine-id# file, the `hostid_save` script will store a compact version of the hostid (one without hyphens) in [.filename]#/etc/machine-id#.
+This file is used by libraries such as GLib.
+gitref:17333d92643d[repository=src] gitref:a379d5c5efb2[repository=src] gitref:71d88613d129[repository=src]
 It is now possible to add default routes for FIBs other than the primary by using the `defaultrouter_fibN` and `ipv6_defaultrouter_fibN` man:rc.conf[5] variables.
 gitref:c6ec1b441ad3[repository=src] (Sponsored by ScaleEngine Inc.)
@@ -163,6 +163,9 @@ The `tcp_log_bucket` UMA zone has been renamed to `tcp_log_id_bucket`, and `tcp_
 Sysctl variables with `(LEGACY)` in their descriptions are no longer being exported, these are used by ZFS sysctls that have been replaced by others, many of which alias to the same Prometheus metric name (like `vfs.zfs.arc_max` and `vfs.zfs.arc.max`).
 gitref:e4f508d5a211[repository=src] (Sponsored by Axcient)
+The man:uuidgen[1] utility now has a `-r` option to generate a random UUID, version 4.
 When invoked by man:inetd[8], `ctlstat -P` will now produce output suitable for ingestion into Prometheus; see man:ctlstat[8].
 gitref:f7896015fcde[repository=src] (Sponsored by Axcient)
@@ -364,7 +367,7 @@ This section describes changes that affect networking in FreeBSD.
 === General Network
-The kernel man:wg[4] WireGuard driver has been reintegrated, which provides Virtual Private Network (VPN) interfaces using the WireGuard protocol.
+The kernel man:wg[4] WireGuard driver has been reintegrated; it provides Virtual Private Network (VPN) interfaces using the WireGuard protocol.
 gitref:5ae69e2f10da[repository=src] (Sponsored by Rubicon Communications, LLC ("Netgate") and The FreeBSD Foundation)
 KTLS (the kernel TLS implementation) has added receive offload support for TLS 1.3.