{
    "mode": "man",
    "parameter": "systemd-machine-id-commit.service",
    "section": "8",
    "url": "https://www.chedong.com/phpMan.php/man/systemd-machine-id-commit.service/8/json",
    "generated": "2026-06-16T10:25:10Z",
    "synopsis": "systemd-machine-id-commit.service",
    "sections": {
        "NAME": {
            "content": "systemd-machine-id-commit.service - Commit a transient machine ID to disk\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "systemd-machine-id-commit.service\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "systemd-machine-id-commit.service is an early boot service responsible for committing\ntransient /etc/machine-id files to a writable disk file system. See machine-id(5) for more\ninformation about machine IDs.\n\nThis service is started after local-fs.target in case /etc/machine-id is a mount point of its\nown (usually from a memory file system such as \"tmpfs\") and /etc is writable. The service\nwill invoke systemd-machine-id-setup --commit, which writes the current transient machine ID\nto disk and unmount the /etc/machine-id file in a race-free manner to ensure that file is\nalways valid and accessible for other processes. See systemd-machine-id-setup(1) for details.\n\nThe main use case of this service are systems where /etc/machine-id is read-only and\ninitially not initialized. In this case, the system manager will generate a transient machine\nID file on a memory file system, and mount it over /etc/machine-id, during the early boot\nphase. This service is then invoked in a later boot phase, as soon as /etc/ has been\nremounted writable and the ID may thus be committed to disk to make it permanent.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "systemd(1), systemd-machine-id-setup(1), machine-id(5), systemd-firstboot(1)\n\n\n\nsystemd 249                                                     SYSTEMD-MACHINE-ID-COMMIT.SERVICE(8)",
            "subsections": []
        }
    },
    "summary": "systemd-machine-id-commit.service - Commit a transient machine ID to disk",
    "flags": [],
    "examples": [],
    "see_also": [
        {
            "name": "systemd",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/systemd/1/json"
        },
        {
            "name": "systemd-machine-id-setup",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/systemd-machine-id-setup/1/json"
        },
        {
            "name": "machine-id",
            "section": "5",
            "url": "https://www.chedong.com/phpMan.php/man/machine-id/5/json"
        },
        {
            "name": "systemd-firstboot",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/systemd-firstboot/1/json"
        },
        {
            "name": "SYSTEMD-MACHINE-ID-COMMIT.SERVICE",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/SYSTEMD-MACHINE-ID-COMMIT.SERVICE/8/json"
        }
    ]
}