-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mutagen daemon fails to start if MUTAGEN_DATA_DIRECTORY is too long #453
Comments
Thanks for digging into that further. The daemon is probably seeing I'm a little surprised the same error isn't showing up in the For now (and in general) the only thing I can think of would be to use a shorter path, but the CLI and daemon should do a better job of surfacing those errors. Do you know the length threshold at which the name ticks over into being too long for a Unix Domain Socket? |
It looks like the exact length limitations were determined here. One workaround I could imagine is what's done with the Windows Named Pipe transport. In that case, we just use the |
max length for domain socket name lengthI see two issues (one for garden-cli and one for rancher-desktop) which put the max length for unix domain socket name at 104 (for MacOS) workaroundconfirmed! moving the project, thus the mutagen data dir, to a shorter path does work. 👌 |
Basically, if MUTAGEN_DATA_DIRECTORY is very long then the mutagen daemon won't start. This is a problem for some tools (like garden.io) which create data dirs for each project being synched.
Error example
The version of Mutagen that you're using
The platform(s) that you're using
Reproduction steps
Example script
The text was updated successfully, but these errors were encountered: