Disable ProtectHome for mcp-agent (blocks /run/user for podman)
This commit is contained in:
@@ -43,7 +43,9 @@ in
|
|||||||
|
|
||||||
NoNewPrivileges = true;
|
NoNewPrivileges = true;
|
||||||
ProtectSystem = "full"; # "strict" blocks /run/user; "full" protects /usr and /boot
|
ProtectSystem = "full"; # "strict" blocks /run/user; "full" protects /usr and /boot
|
||||||
ProtectHome = true;
|
# ProtectHome makes /run/user inaccessible, which breaks rootless podman.
|
||||||
|
# The agent's home is /srv/mcp (not /home), so this is acceptable.
|
||||||
|
ProtectHome = false;
|
||||||
PrivateTmp = true;
|
PrivateTmp = true;
|
||||||
PrivateDevices = true;
|
PrivateDevices = true;
|
||||||
ProtectKernelTunables = true;
|
ProtectKernelTunables = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user