SYD-RUN(1)
π SYD-RUN(1) β the group-chat guide π
okay so this is a page from the General Commands Manual bestie, section 1, and it's called syd-run. pull up a chair π
β¨ NAME β¨
syd-run β run a program inside a container with the given process ID π«Ά
πΈ SYNOPSIS πΈ
syd-run [-hvacimnptuU] pid {command [arg...]}
like, that's the whole shape of it. a bunch of lil flags, a pid, and then your command with whatever arg... you feel like throwing at it π
π¦ DESCRIPTION π¦
so the syd-run(1) utility runs a program inside a syd(1) container with the process ID you hand it. iconic behaviour, no cap π
this whole thing requires the use of the system calls setns(2) and pidfd_open(2), which β heads up β need Linux-5.8 or newer β
now here's the vibe check on privileges, because this part matters:
- entering
pid_namespaces(7)andtime_namespaces(7)is a privileged operation π₯ - entering
cgroup_namespaces(7),ipc_namespaces(7),mount_namespaces(7),network_namespaces(7), anduts_namespaces(7)is unprivileged when combined withuser_namespaces(7)β provided that unprivilegeduser_namespaces(7)support is enabled in the Linux kernel π§
so yeah, some namespaces are gatekept and some are just vibes, but the unprivileged ones come with a condition attached. read the fine print bestie π
π OPTIONS π
-hβ Display help. the classic "girl help" but make it a flag π-vβ Be verbose. Print informational messages on standard error. she's chatty and she's telling you everything on stderr π-aβ Auto-detect namespaces to enter. PID and Time namespaces are excluded. This is the default. so it picks for you, minus PID and Time β¨-cβ Enter into CGroup namespace. π-iβ Enter into IPC namespace. π-mβ Enter into mount namespace. π-nβ Enter into network namespace. π¦-pβ Enter into PID namespace. π-tβ Enter into time namespace. β-uβ Enter into UTS namespace. πΈ-Uβ Enter into user namespace. π
π₯ EXIT STATUS π₯
- clean exit β
syd-run(1)exits with the same code as the child process. matching energy, literally π«Ά - unclean termination β exit code is set to
128plus the signal number π - if executing the child process fails β
syd-run(1)exits with theerrno(3)number π
π SEE ALSO π
syd(1), syd(2), syd(5), setns(2), pidfd_open(2)
syd homepage: https://sydbox.exherbo.org/ π
π AUTHORS π
Maintained by Ali Polatel. π
- up-to-date sources can be found at https://gitlab.exherbo.org/sydbox/sydbox.git
- and on Radicle at
rad:z38HCnbmcDegA2BMxuPaPRPMdp6wF - bugs/patches can be submitted to https://gitlab.exherbo.org/groups/sydbox/-/issues
- discuss in
#sydboxon Libera Chat or in#sydbox:mailstation.deon Matrix π¬
okay that's the whole page, you ate that π this was the General Commands Manual version dated 2026-09-01, page SYD-RUN(1) β go forth and containerise, bestie π
β¨
π¦ where this page comes from
- arch rolling: syd 3.59.0-1 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms