S6-FDHOLDER-SETDUMP(8)
π s6-fdholder-setdump(8) β the fd-dumping bestie manual π
okay so bestie, this is the section 8, System Manager's Manual page for s6-fdholder-setdump, and it is literally about connecting to an s6-fdholderd(8) daemon listening on a Unix domain socket and dumping a set of file descriptors into that daemon. β¨
πΈ NAME πΈ
s6-fdholder-setdump β connect to an s6-fdholderd(8) daemon listening on a Unix domain socket, and dump a set of file descriptors into that daemon. π«Ά
β SYNOPSIS β
s6-fdholder-setdump [-t timeout] path
π¦ DESCRIPTION π¦
s6-fdholder-setdump connects to an s6-fdholderd(8) server process listening on path. π
It attempts to pass a complete state β i.e. a set of file descriptors with identifiers and expiration dates β to the server. no cap, that is the whole vibe.
The file descriptors to transmit to the server should of course already be open in the s6-fdholder-setdump program; also, s6-fdholder-setdump should have certain environment variables that describe that set of file descriptors. The format of the environment is the same as the one set by s6-fdholder-getdump(8). π
Setting the whole state of an s6-fdholderd(8) daemon requires specific privileges. Make sure you properly configure s6-fdholderd(8) access rights so your client can perform that operation. π
Previously held fds will still be kept by the server (so, βsettingβ the state is more like βadding toβ the state), unless there is an identifier collision, in which case the fd in the transmitted set takes precedence and the previously held fd is overwritten. that is the tea. β
π OPTIONS π
-t timeoutβ if the operation cannot be processed in timeout milliseconds, then fail with an error message. Communications with the server should be near-instant, so this option is only here to protect users against programming errors (connecting to the wrong socket, for instance). π
π₯ EXIT STATUS π₯
0β Success. π1β The server denied the operation. The meanings of the error messages are explained ins6-fdholder-error-codes(7).100β Wrong usage. π«111β System call failed β this includes attempting to connect to a nonexistent socket, or one where nos6-fdholderd(8)daemon is listening. π
π SEE ALSO π
s6-fdholder-daemon(8)s6-fdholder-delete(8)s6-fdholder-getdump(8)s6-fdholder-list(8)s6-fdholder-retrieve(8)s6-fdholder-store(8)s6-fdholder-transferdump(8)s6-fdholderd(8)
This man page is ported from the authoritative documentation at: https://skarnet.org/software/s6/s6-fdholder-setdump.html
π AUTHORS π
Laurent Bercot Alexis <flexibeast@gmail.com> (man page port)
and that is the cute sign-off, bestie: this whole page is coming at you from the Debian man page source, dated September 29, 2021. mwah ππ
π¦ where this page comes from
- nixpkgs unstable: s6 2.15.1.0
- nixpkgs unstable: s6-man-pages 2.14.0.1.4
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms