diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2022-11-17 16:11:44 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2022-11-21 15:13:26 +0100 |
commit | a4eea6038c1c7f88adc6d6584d18ea60ea11b08f (patch) | |
tree | e11ce9f24d8ddccb94854735f7f4321d5b9081df /src/hostname/org.freedesktop.hostname1.conf | |
parent | 261b14be76de64da62faaa31ce838dda04935f1b (diff) | |
download | systemd-a4eea6038c1c7f88adc6d6584d18ea60ea11b08f.tar.gz |
bootctl: install system token on virtualized systems
Removing the virtualization check might not be the worst thing in the
world, and would potentially get many, many more systems properly seeded
rather than not seeded. There are a few reasons to consider this:
- In most QEMU setups and most guides on how to setup QEMU, a separate
pflash file is used for nvram variables, and this generally isn't
copied around.
- We're now hashing in a timestamp, which should provide some level of
differentiation, given that EFI_TIME has a nanoseconds field.
- The kernel itself will additionally hash in: a high resolution time
stamp, a cycle counter, RDRAND output, the VMGENID uniquely
identifying the virtual machine, any other seeds from the hypervisor
(like from FDT or setup_data).
- During early boot, the RNG is reseeded quite frequently to account for
the importance of early differentiation.
So maybe the mitigating factors make the actual feared problem
significantly less likely and therefore the pros of having file-based
seeding might outweigh the cons of weird misconfigured setups having a
hypothetical problem on first boot.
Diffstat (limited to 'src/hostname/org.freedesktop.hostname1.conf')
0 files changed, 0 insertions, 0 deletions