Open ahupp opened 2 years ago
Hmm, I think it's eprintln!
that is likely panicking when the write fails.
I've made a speculative change that just ignores that class of error.
It's not ideal. Doing something more robust will take a bit of thought!
IMO if you can't write to /run its better to just panic; lots of other stuff would be broken in that case too.
What Operating System(s) are you seeing this problem on?
Windows, Linux Wayland
WezTerm version
20220407-215528-d356b72c
Did you try the latest nightly build to see if the issue is better (or worse!) than your current version?
Yes, and I updated the version box above to show the version of the nightly that I tried
Describe the bug
I'm setting up an ssh domain with wezterm. The client is Windows 11, the server is Ubuntu 21, both running the same version of wezterm (same behavior with stable and nightly).
On connect I get this error:
The underlying cause is that wezterm-mux-server is failing silently on startup due to strange ENOSPC error writing to /run.
If I run wezterm-mux-server manually (without --daemonize) it works fine. See logs section for more details.
To Reproduce
No response
Configuration
This is the config I added for the ssh_domain:
Expected Behavior
No response
Logs
Client log:
The mux server fails silently, but with strace:
And just writing to /run produces ENOSPC:
/run is a tmpfs
Anything else?
Ideally wezterm would be clearer when the mux server fails here, by doing more work before backgrounding and reporting any errors synchronously to the client.