-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Conversation
Co-authored-by: tugy <[email protected]>
Adding the following new line to service file:
and reloading daemon resulted in these error messages:
Can anyone advise how to fix? |
Upon further research, the landlock directives are not available in Ubuntu 20.04, only 23.04. Is / will there be a fix for those of us running 20.04?
|
That's most likely because your system doesn't know about the landlock, you can try to replace the landlock part with If that still fails, as an workaround adding
|
So what should the systemd line be using
?? |
You should replace:
with
|
If that works, should we raise a PR applying the fix? Please let us know how it goes @matthewmarcus! |
Unfortunately, adding the Log result: -- Logs begin at Fri 2023-07-28 19:37:17 CDT. -- |
Additionally, I noticed when reloading the daemon, this message is shown:
|
Per @alexggh suggestion, I tried Jul 29 11:51:32 Good-KarMa systemd[1]: polkadot.service: Main process exited, code=killed, status=31/SYS |
@matthewmarcus Can you please try with the following settings? (landlock calls removed +
Expected behavior is that you get a warning about landlock being unavailable but the node keeps running. Thanks for your patience while we troubleshoot this. ⭐️ |
That seems to have worked. Node is running and syncing again. This is the warning message we received when starting, which is what I believe you were referring to:
|
@matthewmarcus Great! 🥳 Unfortunately I'm not sure how to fix this for the general case without removing the |
With version 1.0.0 and landlock this systemd service will fail.
It will exit with
polkadot.service: Main process exited, code=killed, status=31/SYS
journalctl _AUDIT_TYPE_NAME=SECCOMP
shows that it's because it can't do landlock related syscalls.