1SYSTEMD-MACHINE-ID-COMMIsTy.sStEeRmVdI-CmEa(c8h)ine-id-cSoYmSmTiEtM.Ds-eMrAvCiHcIeNE-ID-COMMIT.SERVICE(8)
2
3
4
6 systemd-machine-id-commit.service - Commit a transient machine ID to
7 disk
8
10 systemd-machine-id-commit.service
11
13 systemd-machine-id-commit.service is an early boot service responsible
14 for committing transient /etc/machine-id files to a writable disk file
15 system. See machine-id(5) for more information about machine IDs.
16
17 This service is started after local-fs.target in case /etc/machine-id
18 is a mount point of its own (usually from a memory file system such as
19 "tmpfs") and /etc is writable. The service will invoke
20 systemd-machine-id-setup --commit, which writes the current transient
21 machine ID to disk and unmount the /etc/machine-id file in a race-free
22 manner to ensure that file is always valid and accessible for other
23 processes. See systemd-machine-id-setup(1) for details.
24
25 The main use case of this service are systems where /etc/machine-id is
26 read-only and initially not initialized. In this case, the system
27 manager will generate a transient machine ID file on a memory file
28 system, and mount it over /etc/machine-id, during the early boot phase.
29 This service is then invoked in a later boot phase, as soon as /etc has
30 been remounted writable and the ID may thus be committed to disk to
31 make it permanent.
32
34 systemd(1), systemd-machine-id-setup(1), machine-id(5), systemd-
35 firstboot(1)
36
37
38
39systemd 246 SYSTEMD-MACHINE-ID-COMMIT.SERVICE(8)