X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsystemd-machine-id-commit.service.xml;fp=man%2Fsystemd-machine-id-commit.service.xml;h=6da19b9f1731d003d1f88e23b1984d151e72448d;hb=2a5a41e86bd908b0182723805ce43a0fc8658899;hp=0000000000000000000000000000000000000000;hpb=a1405db67c9fa6e8d734933cc7dd208bdb703cae;p=elogind.git diff --git a/man/systemd-machine-id-commit.service.xml b/man/systemd-machine-id-commit.service.xml new file mode 100644 index 000000000..6da19b9f1 --- /dev/null +++ b/man/systemd-machine-id-commit.service.xml @@ -0,0 +1,101 @@ + + + + + + + + systemd-machine-id-commit.service + systemd + + + + Developer + Didier + Roche + didrocks@ubuntu.com + + + + + + systemd-machine-id-commit.service + 8 + + + + systemd-machine-id-commit.service + Commit transient machine-id to disk + + + + systemd-machine-id-commit.service + /usr/lib/systemd/systemd-machine-id-commit + + + + Description + + systemd-machine-id-commit.service is + a service responsible for commiting any transient + /etc/machine-id file to a writable file + system. See + machine-id5 + for more information about this file. + + This service is started shortly after + local-fs.target if + /etc/machine-id is an independent mount + point (probably a tmpfs one) and /etc is writable. + systemd-machine-id-commit will then + write current machine ID to disk and unmount the transient + /etc/machine-id file in a race-free + manner to ensure that file is always valid for other + processes. + + Note that the traditional way to initialize the machine + ID in /etc/machine-id is to use + systemd-machine-id-setup by system + installer tools. You can also use + systemd-firstboot1 + to initialize the machine ID on mounted (but not + booted) system images. The main use case for that service is + /etc/machine-id being an empty file at + boot and initrd chaining to systemd giving it a read only file + system that will be turned read-write later during the boot + process. + + There is no consequence if that service fails other than + a newer machine-id will be generated during next system boot. + + + + + See Also + + systemd1, + systemd-machine-id-commit1, + systemd-machine-id-setup1, + machine-id5, + systemd-firstboot1 + + + +