1SYSTEMD-MACHINE-ID-COMMIsTy.sStEeRmVdI-CmEa(c8h)ine-id-cSoYmSmTiEtM.Ds-eMrAvCiHcIeNE-ID-COMMIT.SERVICE(8)
2
3
4

NAME

6       systemd-machine-id-commit.service - Commit transient machine-id to disk
7

SYNOPSIS

9       systemd-machine-id-commit.service
10
11       /usr/lib/systemd/systemd-machine-id-commit
12

DESCRIPTION

14       systemd-machine-id-commit.service is a service responsible for
15       committing any transient /etc/machine-id file to a writable file
16       system. See machine-id(5) for more information about this file.
17
18       This service is started shortly after local-fs.target if
19       /etc/machine-id is an independent mount point (probably a tmpfs one)
20       and /etc is writable.  systemd-machine-id-commit will then write
21       current machine ID to disk and unmount the transient /etc/machine-id
22       file in a race-free manner to ensure that file is always valid for
23       other processes.
24
25       Note that the traditional way to initialize the machine ID in
26       /etc/machine-id is to use systemd-machine-id-setup by system installer
27       tools. You can also use systemd-firstboot(1) to initialize the machine
28       ID on mounted (but not booted) system images. The main use case for
29       that service is /etc/machine-id being an empty file at boot and initrd
30       chaining to systemd giving it a read only file system that will be
31       turned read-write later during the boot process.
32
33       There is no consequence if that service fails other than a newer
34       machine-id will be generated during next system boot.
35

SEE ALSO

37       systemd(1), systemd-machine-id-commit(1), systemd-machine-id-setup(1),
38       machine-id(5), systemd-firstboot(1)
39
40
41
42systemd 219                               SYSTEMD-MACHINE-ID-COMMIT.SERVICE(8)
Impressum