[Bug 271361] hostid_save runs too early (before mountcritlocal)

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 11 May 2023 13:00:01 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271361

Yuri Pankov <yuripv@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bapt@FreeBSD.org,
                   |                            |tcberner@freebsd.org,
                   |                            |tijl@FreeBSD.org

--- Comment #1 from Yuri Pankov <yuripv@FreeBSD.org> ---
This is interesting, machine-id was added in base
62a149bf621947fb7475c64b1ff04fe19fe16b29, and it was indeed in
/var/db/machine-id (with a reasoning of read-only root), and there was a
symlink to /etc/machine-id.  Now base ecad3f5c4d922f93ceba455f8bff1c54e1ed4174
reworked it (removing the added machine_id rc script and using hostid_save
instead) and made it /etc/machine-id by default.

Adding the authors of both changes to CC to make sure current behavior (regular
file in /etc) is what it should be, then you'll need to delete the symlink and
let the script to re-create /etc/machine-id.

-- 
You are receiving this mail because:
You are the assignee for the bug.