]> git.ipfire.org Git - thirdparty/systemd.git/commit
machine-id-setup: acquire machine ID from /run/machine-id if possible 32915/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 19 May 2024 00:14:27 +0000 (09:14 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 19 May 2024 17:17:57 +0000 (02:17 +0900)
commit16718dcf78a90faf8c5f53d7bf63e3575bc78be7
tree77f8b6152e916d26bfce752a40fe96bcf82ec285
parentba540e9f1c29b430ac916918410c27171d14ab95
machine-id-setup: acquire machine ID from /run/machine-id if possible

If machine ID is previously stored at /run/machine-id, then let's reuse
it. This is important on switching root and /etc/machine-id was previously
a mount point.

Fixes #32908.
src/shared/machine-id-setup.c