Open qyb opened 2 years ago
Is netstat/cassandane the only part of Cyrus that doesn't currently work under WSL1?
I don't know much about WSL, but I'm a little surprised Cyrus works at all... we haven't spent any effort targeting it (neither 1 nor 2).
Are you actually running Cyrus for real, with real mailboxes etc, under WSL1? Or just experimenting with it?
I run our production server by Ubuntu LTS, and use WSL1 as the primary development environment. I tested the new features such as JMAP, xapian-cjkwords in WSL1 and pushed them to prod-env.
In the recent 2 months JMAP app developing experience, all things run well except the annoying netstat problem.
I found that in WSL1 environment it needs --with-mmap=nommap configuration because of https://github.com/microsoft/WSL/issues/902
Because
netstat
cannot run properly in WSL1 (see: https://github.com/Microsoft/WSL/issues/2249), testrunner.pl wouldn't check master started and fail.I have written a simple script to fake expected netstat behavior:
Does anyone work in WSL1 environment? I thought it might be helpful.