From 4bd377f3e83821b76089715c7dec2f4d5ed561a0 Mon Sep 17 00:00:00 2001 From: theLMGN Date: Wed, 9 Mar 2022 14:45:23 +0000 Subject: [PATCH] Failed to set up mount namespacing fix --- util/endlessh.service | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/util/endlessh.service b/util/endlessh.service index fd12a00..f698e96 100644 --- a/util/endlessh.service +++ b/util/endlessh.service @@ -34,9 +34,14 @@ PrivateUsers=true NoNewPrivileges=true ConfigurationDirectory=endlessh -ProtectKernelTunables=true ProtectKernelModules=true + +# If you are running Endlessh in a LXC container +# And recieve a "Failed to set up mount namespacing" error +# Comment these two lines +ProtectKernelTunables=true ProtectControlGroups=true + MemoryDenyWriteExecute=true [Install]