mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 17:35:35 +03:00
3719dcb0bc
I was looking at the logs in some bug and saw this: Mar 13 15:55:12 fedora systemd[1]: systemd-pcrmachine.service - TPM2 PCR Machine ID Measurement was skipped because of an unmet condition check (ConditionSecurity=measured-uki). Mar 13 15:55:12 fedora systemd[1]: Starting systemd-remount-fs.service - Remount Root and Kernel File Systems... Mar 13 15:55:12 fedora systemd[1]: systemd-tpm2-setup-early.service - TPM2 SRK Setup (Early) was skipped because of an unmet condition check (ConditionSecurity=measured-uki). This is overly technical, for most units we don't provide this level of detail about the implementation. So retitle the units to be more accessible. Also, the fact that it's a v. 2 of the TPM is not that important. We don't support TPM 1.2, but computers without TPM v2 are getting rare. For other units we don't advertise the version of hardware, and let's not do this here, to reduce some complexity.
27 lines
686 B
SYSTEMD
27 lines
686 B
SYSTEMD
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
#
|
|
# This file is part of systemd.
|
|
#
|
|
# systemd is free software; you can redistribute it and/or modify it
|
|
# under the terms of the GNU Lesser General Public License as published by
|
|
# the Free Software Foundation; either version 2.1 of the License, or
|
|
# (at your option) any later version.
|
|
|
|
[Unit]
|
|
Description=TPM PCR Measurements
|
|
Documentation=man:systemd-pcrextend(8)
|
|
DefaultDependencies=no
|
|
After=tpm2.target
|
|
Before=sockets.target
|
|
ConditionSecurity=measured-uki
|
|
|
|
[Socket]
|
|
ListenStream=/run/systemd/io.systemd.PCRExtend
|
|
FileDescriptorName=varlink
|
|
SocketMode=0600
|
|
Accept=yes
|
|
MaxConnectionsPerSource=16
|
|
|
|
[Install]
|
|
WantedBy=sockets.target
|