svscanboot(8)
π svscanboot(8) π
okay bestie, so this one lives in the System Manager's Manual and it's called svscanboot β that's the name, that's the vibe, we move π«Ά
β¨ NAME β¨
svscanboot β kicks off svscan(8) over in the /service directory, and routes all its output and error messages through readproctitle(8) so you can actually see them. π
lowkey important: svscanboot is available in daemontools 0.75 and above. older than that? it's not giving. π
πΈ SYNOPSIS πΈ
svscanboot
no flags. no args. no drama. she just goes. π
π DESCRIPTION π
so here's what actually happens when you run her β she runs this pipeline:
svscan /service 2>&1 | readproctitle service errors: .....
...with 400 dots. that's 400 literal dots. the last 400 bytes of error messages from svscan(8) will be visible to ps(1) through readproctitle(8). yes bestie, your error messages get to be main character in the process list π
then svscanboot sets $PATH to:
/command:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin
(it's all one line, no space, don't come for me π)
and she clears all other environment variables. all of them. gone. bye. π§Ήβ¨
program writers are encouraged to use globally allocated names in /command β that's the house rule, and honestly? it's giving organization π
fr fr though, that env-clearing is real: if your program was counting on some random variable being inherited, she is not the one. she wipes the slate. π«Ά
π SEE ALSO π
supervise(8)svc(8)svok(8)svstat(8)svscan(8)readproctitle(8)fghack(8)pgrphack(8)multilog(8)tai64n(8)tai64nlocal(8)setuidgid(8)envuidgid(8)envdir(8)softlimit(8)setlock(8)ps(1)
and the lore, if you wanna go down the rabbit hole:
okay that's the whole page, bestie, we ate and left no crumbs π
that was svscanboot(8) from the System Manager's Manual β shoutout to daemontools 0.75 and above for bringing her into this world π stay slay, go start some services, mwah ππ
π¦ where this page comes from
- debian bookworm: daemontools 1:0.76-8.1 Β· LicenseRef-public-domain
- debian trixie: daemontools 1:0.76-14 Β· LicenseRef-public-domain
- nixpkgs unstable: daemontools 0.76
- ubuntu jammy: daemontools 1:0.76-7
- ubuntu noble: daemontools 1:0.76-10 Β· LicenseRef-public-domain
- ubuntu questing: daemontools 1:0.76-15
- ubuntu resolute: daemontools 1:0.76-15build1 Β· LicenseRef-public-domain
- ubuntu stonking: daemontools 1:0.76-15build1 Β· LicenseRef-public-domain
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms