man-pages/man8/systemd-machine-id-commit.service.8.html
2021-03-31 01:06:50 +01:00

97 lines
2.6 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of SYSTEMD-MACHINE-ID-COMMIT.SERVICE</TITLE>
</HEAD><BODY>
<H1>SYSTEMD-MACHINE-ID-COMMIT.SERVICE</H1>
Section: systemd-machine-id-commit.service (8)<BR>Updated: <BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
systemd-machine-id-commit.service - Commit a transient machine ID to disk
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<P>
systemd-machine-id-commit.service
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
<P>
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
<B><A HREF="/cgi-bin/man/man2html?5+machine-id">machine-id</A></B>(5)
for more information about machine IDs.
<P>
This service is started after
local-fs.target
in case
/etc/machine-id
is a mount point of its own (usually from a memory file system such as
&quot;tmpfs&quot;) and /etc is writable. The service will invoke
<B>systemd-machine-id-setup --commit</B>, 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
<B><A HREF="/cgi-bin/man/man2html?1+systemd-machine-id-setup">systemd-machine-id-setup</A></B>(1)
for details.
<P>
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.
<A NAME="lbAE">&nbsp;</A>
<H2>SEE ALSO</H2>
<P>
<B><A HREF="/cgi-bin/man/man2html?1+systemd">systemd</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+systemd-machine-id-setup">systemd-machine-id-setup</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?5+machine-id">machine-id</A></B>(5),
<B><A HREF="/cgi-bin/man/man2html?1+systemd-firstboot">systemd-firstboot</A></B>(1)
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="1"><A HREF="#lbAB">NAME</A><DD>
<DT id="2"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="3"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="4"><A HREF="#lbAE">SEE ALSO</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:06:16 GMT, March 31, 2021
</BODY>
</HTML>