freebsd-src/etc
Tijl Coosemans 71d88613d1 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 hyphens
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
Approved by:	re (cperciva)
Differential Revision:	https://reviews.freebsd.org/D38811

(cherry picked from commit ecad3f5c4d)
(cherry picked from commit d6852eed98)
2023-03-12 22:46:07 +01:00
..
gss
mail pkgbase: resolve mailer.conf conflict WITHOUT_SENDMAIL 2020-06-02 02:38:54 +00:00
mtree timeout: Move from /usr/bin to /bin 2023-02-07 18:37:53 +01:00
root
sendmail MFC: Minor changes to force commit these files so new freebsd*.cf files are 2023-02-01 02:33:29 +00:00
group Add idle priority scheduling privilege group to MAC/priority 2021-12-19 04:42:51 +02:00
Makefile rc.d: Generate machine-id from hostid_save 2023-03-12 22:46:07 +01:00
Makefile.depend
master.passwd Create and use a tests group for the tests user. 2020-03-27 16:05:37 +00:00
shells