1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-12 09:58:36 +00:00
freebsd/etc
Tijl Coosemans ecad3f5c4d rc.d: Generate machine-id from hostid_save
rc.d/hostid_save saves a UUID generated by rc.d/hostid in /etc/hostid.
Store the same UUID, without hyphens, in /etc/machine-id.  The hypĥens
are removed with a shell function because hostid_save runs before file
systems are mounted so other tools may not be available yet.

This eliminates some duplication between hostid and machine-id and for
virtual machines machine-id now contains the UUID configured in the
hypervisor like it does on Linux.

Reviewed by:	delphij
Discussed with:	bapt
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D38811
2023-03-09 10:31:55 +01:00
..
gss
mail sendmail: remove leftovers from mta_start_script and rc.sendmail 2022-11-15 09:10:53 +01:00
mtree sysctl: tests: fix a couple issues 2023-03-01 14:38:46 -06:00
root
sendmail Minor changes to force commit these files so new freebsd*.cf files are 2023-01-17 06:49:49 +00:00
termcap pkgbase: Put termcap.small in the same package as termcap 2023-03-03 12:01:22 -05:00
group Add idle priority scheduling privilege group to MAC/priority 2021-12-10 04:54:48 +02:00
Makefile rc.d: Generate machine-id from hostid_save 2023-03-09 10:31:55 +01:00
Makefile.depend
master.passwd sh(1): make it the default shell for the root user 2021-10-20 09:34:05 +02:00
shells