From fb6a3a62cf600aa1d35738a191250c2fede20208 Mon Sep 17 00:00:00 2001 From: Aron Heinecke Date: Wed, 1 Feb 2023 00:10:46 +0100 Subject: [PATCH] warn about SystemCallArchitectures Running 32bit on a 64bit host with SystemCallArchitectures will fail without much information --- examples/systemd/rest-server.service | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/systemd/rest-server.service b/examples/systemd/rest-server.service index 36eafa8..daa2f2c 100644 --- a/examples/systemd/rest-server.service +++ b/examples/systemd/rest-server.service @@ -54,6 +54,7 @@ RestrictNamespaces=true RestrictAddressFamilies=AF_INET AF_INET6 RestrictSUIDSGID=true RestrictRealtime=true +# if your service crashes with "code=killed, status=31/SYS", you probably tried to run linux_i386 (32bit) binary on a amd64 host SystemCallArchitectures=native SystemCallFilter=@system-service