{"id":3132,"date":"2022-12-20T16:43:34","date_gmt":"2022-12-20T19:43:34","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/systemdmachineidcommit-service-man8\/"},"modified":"2022-12-20T16:43:34","modified_gmt":"2022-12-20T19:43:34","slug":"systemdmachineidcommit-service-man8","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/systemdmachineidcommit-service-man8\/","title":{"rendered":"SYSTEMD&minus;MACHINE&minus;ID&minus;COMMIT.SERVICE (man8)"},"content":{"rendered":"<h1 align=\"center\">SYSTEMD\u2212MACHINE\u2212ID\u2212COMMIT.SERVICE<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">systemd-machine-id-commit.service \u2212 Commit a transient machine ID to disk<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">systemd\u2212machine\u2212id\u2212commit.service<\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">systemd\u2212machine\u2212id\u2212commit.service is an early boot service responsible for committing transient \/etc\/machine\u2212id files to a writable disk file system. See <b>machine-id<\/b>(5) for more information about machine IDs.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">This service is started after local\u2212fs.target in case \/etc\/machine\u2212id is a mount point of its own (usually from a memory file system such as &#8220;tmpfs&#8221;) and \/etc is writable. The service will invoke <b>systemd\u2212machine\u2212id\u2212setup \u2212\u2212commit<\/b>, which writes the current transient machine ID to disk and unmount the \/etc\/machine\u2212id file in a race\u2212free manner to ensure that file is always valid and accessible for other processes. See <b>systemd-machine-id-setup<\/b>(1) for details.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The main use case of this service are systems where \/etc\/machine\u2212id is read\u2212only 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\u2212id, 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.<\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>systemd<\/b>(1), <b>systemd-machine-id-setup<\/b>(1), <b>machine-id<\/b>(5), <b>systemd-firstboot<\/b>(1)<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  systemd-machine-id-commit.service \u2212 Commit a transient machine ID to disk <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[5,52,4,277],"class_list":["post-3132","post","type-post","status-publish","format-standard","hentry","category-8-administracion-del-sistema","tag-5","tag-administracion","tag-man8","tag-systemd-machine-id-commit"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3132","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=3132"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3132\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=3132"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=3132"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=3132"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}