SYD-RUN(1)

πŸ“¦
version 3.59.0 Β· 3 versions
, in arch rolling

πŸ’… 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:

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 128 plus the signal number 😭
  • if executing the child process fails β€” syd-run(1) exits with the errno(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. πŸ’œ


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