From 4b518f4aa95b7fe3589c57e2c9604fb65d74b0af Mon Sep 17 00:00:00 2001 From: Steve Purcell Date: Mon, 27 Sep 2021 16:07:10 +0200 Subject: [PATCH] n8n: remove systemd option incompatible with nodejs The MemoryDenyWriteExecute systemd option is widely known to be incompatible with nodejs, and causes service crashes as reported in #119687. Fixes #119687. --- nixos/modules/services/misc/n8n.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/misc/n8n.nix b/nixos/modules/services/misc/n8n.nix index 516d0f70ef0b8..27616e5f8226e 100644 --- a/nixos/modules/services/misc/n8n.nix +++ b/nixos/modules/services/misc/n8n.nix @@ -66,7 +66,7 @@ in RestrictNamespaces = "yes"; RestrictRealtime = "yes"; RestrictSUIDSGID = "yes"; - MemoryDenyWriteExecute = "yes"; + MemoryDenyWriteExecute = "no"; # v8 JIT requires memory segments to be Writable-Executable. LockPersonality = "yes"; }; };