mirror of
https://github.com/henrygd/beszel.git
synced 2025-12-16 10:16:16 +01:00
remove NoNewPrivileges from systemd agent service
configuration (#1203) Prevents service from running `intel_gpu_top`
This commit is contained in:
@@ -15,8 +15,6 @@ StateDirectory=beszel-agent
|
|||||||
# Security/sandboxing settings
|
# Security/sandboxing settings
|
||||||
KeyringMode=private
|
KeyringMode=private
|
||||||
LockPersonality=yes
|
LockPersonality=yes
|
||||||
NoNewPrivileges=yes
|
|
||||||
PrivateTmp=yes
|
|
||||||
ProtectClock=yes
|
ProtectClock=yes
|
||||||
ProtectHome=read-only
|
ProtectHome=read-only
|
||||||
ProtectHostname=yes
|
ProtectHostname=yes
|
||||||
@@ -24,7 +22,6 @@ ProtectKernelLogs=yes
|
|||||||
ProtectSystem=strict
|
ProtectSystem=strict
|
||||||
RemoveIPC=yes
|
RemoveIPC=yes
|
||||||
RestrictSUIDSGID=true
|
RestrictSUIDSGID=true
|
||||||
SystemCallArchitectures=native
|
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|||||||
@@ -920,7 +920,6 @@ StateDirectory=beszel-agent
|
|||||||
# Security/sandboxing settings
|
# Security/sandboxing settings
|
||||||
KeyringMode=private
|
KeyringMode=private
|
||||||
LockPersonality=yes
|
LockPersonality=yes
|
||||||
NoNewPrivileges=yes
|
|
||||||
ProtectClock=yes
|
ProtectClock=yes
|
||||||
ProtectHome=read-only
|
ProtectHome=read-only
|
||||||
ProtectHostname=yes
|
ProtectHostname=yes
|
||||||
|
|||||||
Reference in New Issue
Block a user