https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271361
Bug ID: 271361
Summary: hostid_save runs to early (before ountcritlocal)
Product: Base System
Version: 13.2-STABLE
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: bin
Assignee: [email protected]
Reporter: [email protected]
#> ls -la /etc/machine-id
lrwxr-xr-x 1 root wheel 20 Feb 19 19:00 /etc/machine-id ->
../var/db/machine-id
rcorder /etc/rc.d/* (exerpt):
[.....]
/etc/rc.d/zvol
/etc/rc.d/root
/etc/rc.d/hostid_save
/etc/rc.d/mdconfig
/etc/rc.d/serial
/etc/rc.d/sppp
/etc/rc.d/growfs_fstab
/etc/rc.d/mountcritlocal
/etc/rc.d/zfsbe
/etc/rc.d/var_run
/etc/rc.d/tmp
/etc/rc.d/zfs
[.....]
after making /etc/machine-id a symlink to /var/db/machine-id
hostid_save can not write to /etc/machine-id as /var is not yet mounted.
I think in hostid_save
# REQUIRE: hostid root
should be replaced by
# REQUIRE: hostid mountcritlocal
--
You are receiving this mail because:
You are the assignee for the bug.