aboutsummaryrefslogtreecommitdiffstats
path: root/pkgs/populate/tests/smoke.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-27 18:18:24 +0000
committertv <tv@krebsco.de>2026-11-27 19:37:08 +0100
commit38266f128e528b3e7f17d4cebc30e4acce2db2da (patch)
tree837b749eed0edfcf2387ea531bf456db9abd5f75 /pkgs/populate/tests/smoke.nix
parent8d1de5030863ee5ffe69be533f349ebbcbecbfe5 (diff)
populate: the master connection's socket elsewhere if TMPDIR is too long
The socket, ssh.sock in populate's temporary directory, still didn't fit into a socket address below the TMPDIR of nested nix-shells, which grows with each of them: "unix_listener: path /run/user/$UID/nix-shell-.../nix-shell-.../populate..../ssh.sock.... too long for Unix domain socket". If the socket's path, with the suffix ssh adds while it sets up the connection, doesn't fit into 108 bytes, the socket goes into a directory of its own, from mktemp, in XDG_RUNTIME_DIR, if that's set and mktemp can make one there that fits, else in /tmp. Everything else stays in TMPDIR.
Diffstat (limited to 'pkgs/populate/tests/smoke.nix')
0 files changed, 0 insertions, 0 deletions