mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
rules: tag /dev/tpm0 with "systemd" too
Strictly speaking we don't need to tag these devices, because tpm2-tss already does so, but given we do this for /dev/tpmrm0, we should probably do this comprehensively if we rely on this ourselves. Fixes: #36653
This commit is contained in:
@@ -104,7 +104,9 @@ SUBSYSTEM=="misc", KERNEL=="rfkill", TAG+="systemd", ENV{SYSTEMD_WANTS}+="system
|
||||
SUBSYSTEM=="module", KERNEL=="fuse", TAG+="systemd", ENV{SYSTEMD_WANTS}+="sys-fs-fuse-connections.mount"
|
||||
SUBSYSTEM=="module", KERNEL=="configfs", TAG+="systemd", ENV{SYSTEMD_WANTS}+="sys-kernel-config.mount"
|
||||
|
||||
# Pull in tpm2.target whenever /dev/tpmrm* shows up
|
||||
# Pull in tpm2.target whenever the full-blown /dev/tpmrm* shows up (and also
|
||||
# tag the version without resource manager, so that we can sync on it).
|
||||
SUBSYSTEM=="tpmrm", KERNEL=="tpmrm[0-9]*", TAG+="systemd", ENV{SYSTEMD_WANTS}+="tpm2.target"
|
||||
SUBSYSTEM=="tpm", KERNEL=="tpm[0-9]*", TAG+="systemd"
|
||||
|
||||
LABEL="systemd_end"
|
||||
|
||||
Reference in New Issue
Block a user