-
Notifications
You must be signed in to change notification settings - Fork 856
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
python bugs (missing /dev/shm) #135
Comments
Same issue as reported here: #16 |
Thanks for reporting the issue. We recently added tmpfs mounts for run (e.g. /run, /run/lock, /run/user, and /run/shm) with permissions that match native Ubuntu. This change should be out for insiders soon. Locally I was able to confirm the issue above was resolved after the fix. |
Thanks @stehufntdev - my goal was to run Ansible under WSL, and this was the first snag(so I have no idea if there's other missing pieces as well). There's a growing community of people using Ansible for Windows management, and having Ansible working under WSL would give us a tremendous productivity boost when coding. Testing it is as easy as git clone + source + execute (http://docs.ansible.com/ansible/intro_installation.html#running-from-source) so if you guys are operating with some kind of "compatability list", a lot of enthusiastic devs would appreciate it if Ansible was added to it. |
Appreciate the additional details, #115, was also for Ansible. With these changes I can run the binary to print the version but there may be other snags as you mentioned. To get Ansible on our priority list can you add it to our UserVoice https://wpdev.uservoice.com/forums/266908-command-prompt-console-bash-on-ubuntu-on-windo/category/161892-bash page? Thanks again for trying out WSL! |
fyi, the problem remains on the build that was released today. |
Yes, unfortunately that is expected since the fix didn't make the cutoff for the insider build. We published the release notes for the build the most recent insider build here - https://msdn.microsoft.com/en-us/commandline/wsl/release_notes. |
I tried this combination again with Build 14342. |
Great to hear, thanks for the confirmation! |
I agree, closing the issue. And thanks! |
With the python snippet at the very top of this issue i see no error but by simply starting gvim |
It seems only Posix shared memory is supported while shmget is System V. |
@fehrin - Thanks for trying out WSL and providing feedback! Unfortunately, |
(Also posted at https://wpdev.uservoice.com/forums/266908-command-prompt-console-bash-on-ubuntu-on-windo/suggestions/13333764-python-bugs since I have no idea which feedback channel to use)
The following python code doesn't work, since /dev/shm is unavailable on Ubuntu on Windows:
from multiprocessing import Lock
a = Lock()
I'm getting Errno 38 not implemented
The text was updated successfully, but these errors were encountered: