freebsd-dev/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 Finish moving dot.cshrc and dot.profile to bin/csh/ and bin/sh/. 2018-08-29 16:59:19 +00:00
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 META MODE: Update dependencies with 'the-lot' and add missing directories. 2015-12-01 05:23:19 +00:00
master.passwd sh(1): make it the default shell for the root user 2021-10-20 09:34:05 +02:00
shells etc/shells: Add a reference to the ftpd manpage 2021-02-26 14:09:19 +01:00