mirror of
https://github.com/kanidm/kanidm.git
synced 2025-05-03 15:45:06 +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
|
||||
# We have to disable this to allow tpmrm0 access for tpm binding.
|
||||
PrivateDevices=false
|
||||
# Older versions of systemd require this to be explicitly allowed.
|
||||
DeviceAllow=/dev/tpmrm0 rw
|
||||
ProtectHostname=true
|
||||
ProtectClock=true
|
||||
ProtectKernelTunables=true
|
||||
|
|
|
@ -35,6 +35,9 @@ NoNewPrivileges=true
|
|||
PrivateTmp=true
|
||||
# We have to disable this to allow tpmrm0 access for tpm binding.
|
||||
PrivateDevices=false
|
||||
# Older versions of systemd require this to be explicitly allowed.
|
||||
DeviceAllow=/dev/tpmrm0 rw
|
||||
|
||||
ProtectHostname=true
|
||||
ProtectClock=true
|
||||
ProtectKernelTunables=true
|
||||
|
|
Loading…
Reference in a new issue