]> git.giacomolli.uk - onechat/commitdiff
Check the socket path before the daemon writes
authorAnderson A. Giacomolli <redacted>
Sat, 7 Nov 2026 02:53:53 +0000 (23:53 -0300)
committerAnderson A. Giacomolli <redacted>
Sat, 7 Nov 2026 02:53:53 +0000 (23:53 -0300)
The daemon checks the length of the socket path first, before it reads
the config, takes the token lock, or opens the agent. With a data
directory whose path is too long, it gives the error and leaves the
directory empty, so a failed start leaves no agent or lock file behind.

Issue: 5daf23e


No differences found