aboutsummaryrefslogtreecommitdiff
path: root/libexec/rc/rc.d/Makefile
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2022-12-17 09:18:03 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2022-12-23 16:33:19 +0000
commit62a149bf621947fb7475c64b1ff04fe19fe16b29 (patch)
treee426c7e42b0c4194d1a80df5b2025bab541bfbf9 /libexec/rc/rc.d/Makefile
parent3e3875413128ff01f43b7ae8e0ca8db8d8d5efca (diff)
downloadsrc-62a149bf621947fb7475c64b1ff04fe19fe16b29.tar.gz
src-62a149bf621947fb7475c64b1ff04fe19fe16b29.zip
Add new rc: machine_id to generate /etc/machine-id
This new default-enabled rc will generate a /etc/machine-id file if it does not exist, and pre-fill it with a newly generated UUID of version 4 [2]. The file is generated in /var/db/machine-id and symlinked to /etc/machine-id to allow for read-only root partitions. This file is amongst other things used by libraries like GLib. Bump FreeBSD version 1400076 to be able to easily add support for older version of FreeBSD via a package. [1] Linux machine-id(5): https://www.man7.org/linux/man-pages/man5/machine-id.5.html [2] f176fe8e7f638e585afcd2f4dd52a522c4648f63 Approved by: bapt MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D37722
Diffstat (limited to 'libexec/rc/rc.d/Makefile')
-rw-r--r--libexec/rc/rc.d/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/libexec/rc/rc.d/Makefile b/libexec/rc/rc.d/Makefile
index 0e43b1cd94dc..e990dea60721 100644
--- a/libexec/rc/rc.d/Makefile
+++ b/libexec/rc/rc.d/Makefile
@@ -52,6 +52,7 @@ CONFS= DAEMON \
local \
localpkg \
lockd \
+ machine_id \
mixer \
motd \
mountcritlocal \