git: a28ccb32bf56 - main - machine-id: generate a compact version of the uuid
Date: Wed, 01 Mar 2023 18:18:33 UTC
The branch main has been updated by bapt: URL: https://cgit.FreeBSD.org/src/commit/?id=a28ccb32bf5678fc401f1602865ee9b37ca4c990 commit a28ccb32bf5678fc401f1602865ee9b37ca4c990 Author: Baptiste Daroussin <bapt@FreeBSD.org> AuthorDate: 2023-02-28 10:31:06 +0000 Commit: Baptiste Daroussin <bapt@FreeBSD.org> CommitDate: 2023-03-01 18:16:25 +0000 machine-id: generate a compact version of the uuid dbus and other actually expect an uuid without hyphens Reported by: tijl MFC After: 3 days --- libexec/rc/rc.d/machine_id | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libexec/rc/rc.d/machine_id b/libexec/rc/rc.d/machine_id index 7cfd7b2d92f8..8bf3e41d0603 100644 --- a/libexec/rc/rc.d/machine_id +++ b/libexec/rc/rc.d/machine_id @@ -23,7 +23,7 @@ machine_id_start() if [ ! -f ${machine_id_file} ] ; then startmsg -n "Creating ${machine_id_file} " t=$(mktemp -t machine-id) - /bin/uuidgen -r -o $t + /bin/uuidgen -r -c -o $t install -C -o root -g wheel -m ${machine_id_perms} "$t" "${machine_id_file}" rm -f "$t" startmsg 'done.'