systemd-machine-id-commit.service(8) — Linux manual page



NAME         top

       systemd-machine-id-commit.service - Commit a transient machine ID to

SYNOPSIS         top


DESCRIPTION         top

       systemd-machine-id-commit.service is an early boot service
       responsible for committing transient /etc/machine-id files to a
       writable disk file system. See machine-id(5) for more information
       about machine IDs.

       This service is started after in case /etc/machine-id
       is a mount point of its own (usually from a memory file system such
       as "tmpfs") and /etc is writable. The service will invoke
       systemd-machine-id-setup --commit, which writes the current transient
       machine ID to disk and unmount the /etc/machine-id file in a
       race-free manner to ensure that file is always valid and accessible
       for other processes. See systemd-machine-id-setup(1) for details.

       The main use case of this service are systems where /etc/machine-id
       is read-only and initially not initialized. In this case, the system
       manager will generate a transient machine ID file on a memory file
       system, and mount it over /etc/machine-id, during the early boot
       phase. This service is then invoked in a later boot phase, as soon as
       /etc has been remounted writable and the ID may thus be committed to
       disk to make it permanent.

SEE ALSO         top

       systemd(1), systemd-machine-id-setup(1), machine-id(5),

COLOPHON         top

       This page is part of the systemd (systemd system and service manager)
       project.  Information about the project can be found at 
       ⟨⟩.  If you have a bug
       report for this manual page, see
       ⟨⟩.  This
       page was obtained from the project's upstream Git repository
       ⟨⟩ on 2020-08-13.  (At that
       time, the date of the most recent commit that was found in the repos‐
       itory was 2020-08-11.)  If you discover any rendering problems in
       this HTML version of the page, or you believe there is a better or
       more up-to-date source for the page, or you have corrections or
       improvements to the information in this COLOPHON (which is not part
       of the original manual page), send a mail to

systemd 246                             SYSTEMD-MACHINE-ID-COMMIT.SERVICE(8)

Pages that refer to this page: systemd-machine-id-setup(1)machine-id(5)30-systemd-environment-d-generator(7)systemd.directives(7)systemd.index(7)