pub fn default_admin_addr() -> PathBufExpand description
Default admin endpoint per platform, per docs/protocol-v1.md
§“Admin endpoint”.
On Linux the resolution chain is:
$XDG_RUNTIME_DIR/inferd/admin.sock(set bysystemd-logindon session start; the per-user equivalent of/run/<svc>/).$HOME/.inferd/run/admin.sockfor sessions without logind (containers, ssh without a real login session)./tmp/inferd-<uid>/admin.sockas a last resort.
Historically inferd defaulted to /run/inferd/admin.sock. That
path is only writable by root and so was incompatible with
systemd --user units; the chain above matches the path the
systemd unit declares via RuntimeDirectory=inferd.