Problem
Landrun's --best-effort silently degrades to the best available Landlock version. For Linux older than 5.13 (June 2021) this means it falls back to no Landlock protections at all.
See https://github.com/zouuup/landrun#best-effort-mode
Potential solutions
I think there are two main options to improve this without making changes to landrun:
- Comparator still passes
--best-effort, but refuses to run on very old versions of Linux, printing a descriptive error message.
- Comparator does not pass
--best-effort. It thus requires Landlock >=v9, which was released with Kernel 7.1 in June 2026.
For more fine-grained control, a PR to landrun would be required.
Problem
Landrun's
--best-effortsilently degrades to the best available Landlock version. For Linux older than 5.13 (June 2021) this means it falls back to no Landlock protections at all.See https://github.com/zouuup/landrun#best-effort-mode
Potential solutions
I think there are two main options to improve this without making changes to landrun:
--best-effort, but refuses to run on very old versions of Linux, printing a descriptive error message.--best-effort. It thus requires Landlock >=v9, which was released with Kernel 7.1 in June 2026.For more fine-grained control, a PR to landrun would be required.