]> git.ipfire.org Git - thirdparty/systemd.git/commit
firstboot: clarify that machine-id options are only offline, add missing docs
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 3 Oct 2022 09:04:24 +0000 (11:04 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 23 May 2023 10:39:34 +0000 (12:39 +0200)
commitfd6ee7ed4214f2110697987d75ad59b015780470
tree4edc3519153fa18279232fc21e268f109090c810
parentb93562a1a13af0d7fa6c03e384a00eaab647791b
firstboot: clarify that machine-id options are only offline, add missing docs

Let's flat out refuse to configure machine-id on a running system with
systemd-firstboot. It wouldn't work anyway, because by the time firstboot is
started, pid1 has created /etc/machine-id, possibly with "unitialized", so
firstboot wouldn't touch the file. (If --force is specified, it works. So
let's allow that in case people want to do crazy things.)

While at it, add missing descriptions of various things that were added over
time, and group descriptions of similar options together.
man/systemd-firstboot.xml
src/firstboot/firstboot.c