LANDRUN(1)
π LANDRUN π
okay bestie, so landrun(1) is a section 1 user command and it's literally the moment β it runs your program inside a Landlock sandbox and I'm obsessed. Sit down, grab a strawberry drink π, and let me tell you everything. no cap, every single flag, I promise.
β¨ NAME β¨
landrun β run program in Landlock sandbox π§
that's it. that's the whole vibe. we put a little invisible fence around your process and let it live its life inside it. main character energy, but contained π
π¦ DESCRIPTION π¦
πΈ NAME: πΈ
landrun β Run a command in a Landlock sandbox
π USAGE: π
landrun [global options]
so like, you call it, you hand it global options, and it does the sandbox thing. that's the shape of it, periodt.
β VERSION: β
0.1.17
β¨ iconic number, no notes β¨
π GLOBAL OPTIONS: π
this is the good part. buckle up. --ro, --rw, --unix, --bind-tcp, --connect-tcp, --env β all of these can show up more than once, which is why they're written with the little [ ... ] repeat-y bit. slay.
--log-levelstring β set the logging level. your options areerror,info,debug. default:"error". and yeah, it listens to the environment variable[$LANDRUN_LOG_LEVEL]too π«Ά--rostring[ --ro string ]β allow read-only access to this path π--roxstring[ --rox string ]β allow read-only access with execution to this path. reading AND running, she contains multitudes β¨--rwstring[ --rw string ]β allow read-write access to this path βοΈ--rwxstring[ --rwx string ]β allow read-write access with execution to this path. the full package, truly π₯--unixstring[ --unix string ]β allowconnect(2)/sendmsg(2)on this pathname UNIX domain socket. heads up: this needs Landlock ABI v9+ π§--bind-tcpint[ --bind-tcp int ]β allow binding to these TCP ports π--connect-tcpint[ --connect-tcp int ]β allow connecting to these TCP ports π--best-effortβ use best effort mode, which means falling back to a less restrictive sandbox if necessary. default:false. lowkey a "we tried our best" situation, iykyk π--envstring[ --env string ]β environment variables to pass to the sandboxed command. give itKEY=VALUE, or justKEYto pass the current value π--unrestricted-filesystemβ allow unrestricted filesystem access. default:falseπ--unrestricted-networkβ allow unrestricted network access. default:falseπ--unrestricted-scopedβ allow unrestricted IPC scoping, meaning don't restrict abstract UNIX sockets and signals. needs Landlock ABI v6+. default:false--ignore-missingβ gracefully ignore paths that do not exist instead of failing. default:false. she's forgiving π--log-disable-originatingβ disable audit logging of denials from the originating process. Landlock ABI v7+. default:false--log-enable-subprocessesβ enable audit logging of denials afterexecve(2)in subprocesses. Landlock ABI v7+. default:false--log-disable-subdomainsβ disable audit logging of denials from nested Landlock domains. Landlock ABI v7+. default:false--lddβ automatically detect and add library dependencies to--rox. default:false. lazy-girl automation and we love her for it π--add-execβ automatically add the executable path to--rox. default:falseβ¨--help,-hβ show help π--version,-vβ print the version π·οΈ
heads up bestie β a bunch of these are gated on specific Landlock ABI versions (v6+,v7+,v9+). if your kernel isn't giving, you're not getting, so check before you assume, fr fr.
and that's the whole page, you ate it, mwah π
this was landrun 0.1.17-1, dated July 2026 π go forth and sandbox responsibly, queen π
π¦ where this page comes from
- ubuntu stonking: landrun 0.1.17-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms