mirror of
https://github.com/kanidm/kanidm.git
synced 2025-06-05 07:37:47 +02:00
Allow /dev/tpmrm0 on older systemd versions (#2587)
Older systemd versions require a specific device allow for the tpm to be accessed.
This commit is contained in:
parent
adb575947f
commit
7b490d73dc
platform
|
@ -35,6 +35,8 @@ NoNewPrivileges=true
|
||||||
PrivateTmp=true
|
PrivateTmp=true
|
||||||
# We have to disable this to allow tpmrm0 access for tpm binding.
|
# We have to disable this to allow tpmrm0 access for tpm binding.
|
||||||
PrivateDevices=false
|
PrivateDevices=false
|
||||||
|
# Older versions of systemd require this to be explicitly allowed.
|
||||||
|
DeviceAllow=/dev/tpmrm0 rw
|
||||||
ProtectHostname=true
|
ProtectHostname=true
|
||||||
ProtectClock=true
|
ProtectClock=true
|
||||||
ProtectKernelTunables=true
|
ProtectKernelTunables=true
|
||||||
|
|
|
@ -35,6 +35,9 @@ NoNewPrivileges=true
|
||||||
PrivateTmp=true
|
PrivateTmp=true
|
||||||
# We have to disable this to allow tpmrm0 access for tpm binding.
|
# We have to disable this to allow tpmrm0 access for tpm binding.
|
||||||
PrivateDevices=false
|
PrivateDevices=false
|
||||||
|
# Older versions of systemd require this to be explicitly allowed.
|
||||||
|
DeviceAllow=/dev/tpmrm0 rw
|
||||||
|
|
||||||
ProtectHostname=true
|
ProtectHostname=true
|
||||||
ProtectClock=true
|
ProtectClock=true
|
||||||
ProtectKernelTunables=true
|
ProtectKernelTunables=true
|
||||||
|
|
Loading…
Reference in a new issue