Skip to content
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

looks like WSL does not support named pipes yet? dbus suffers and other apps do unless i force other forms of IPC! #3962

Closed
petersvp opened this issue Apr 4, 2019 · 1 comment
Labels

Comments

@petersvp
Copy link

petersvp commented Apr 4, 2019

Please fill out the below information:

  • Microsoft Windows [Version 10.0.17134.648]

  • What you're doing and what's happening:
    Trying to create named pipes with mkfifo seems to be not implemented:

  • What's wrong / what should be happening instead:
    tipyng mkfifo test in bash gives error: Operation not permitted

  • Strace of the failing command
    strace -o test.strace -f mkfifo test
    https://gist.github.com/petersvp/c8ecd306956db3b54c449c7806acf643

@therealkenc
Copy link
Collaborator

therealkenc commented Apr 4, 2019

WSL supports named pipes. If I had to guess (and I do, for lack of repro) you have done that mkfifo command with a relative path of ./test on DrvFs mounted without metadata enabled (which is the default). [ed: separately, dbus does not use named pipes but we digress.]

$ cd ~ && sudo umount /mnt/c
$ sudo mount -t drvfs C:\\ /mnt/c -o metadata
$ cd $(wslpath C:\\) && cd $(wslpath $(cmd.exe /c "echo %USERPROFILE%") | tr -d '\r')
$ mkdir ./pipetest && cd ./pipetest
$ strace -o test.strace -f mkfifo ./test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants