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

Ubuntu Bash environment on Windows 10 #13471

Closed
ColinMoulds opened this issue Jun 5, 2017 · 8 comments
Closed

Ubuntu Bash environment on Windows 10 #13471

ColinMoulds opened this issue Jun 5, 2017 · 8 comments
Labels
doc Issues and PRs related to the documentations. good first issue Issues that are suitable for first-time contributors. windows Issues and PRs related to the Windows platform. wsl Issues and PRs related to the Windows Subsystem for Linux.

Comments

@ColinMoulds
Copy link

Windows 10’s Fall Creators Update, Arriving September 2017

Microsoft is making it easier to set up Ubuntu for Windows 10 by bringing Ubuntu to the Windows Store. This is the same Ubuntu Bash environment you can install on current versions of Windows 10, but easier to install.

Fedora and openSUSE are also coming to the Store, so it’s easier to set up different Linux environments.

This may or may not cause issues with installation of node. Just thought i would bring it up just in case.

@gibfahn
Copy link
Member

gibfahn commented Jun 5, 2017

Originally raised: nodejs/nodejs.org#1253

@ColinMoulds just FYI it's helpful to linked related issues

@mscdex mscdex added the windows Issues and PRs related to the Windows platform. label Jun 5, 2017
@refack
Copy link
Contributor

refack commented Jul 22, 2017

WSL now supports openSUSE and SLES as well
https://blogs.msdn.microsoft.com/commandline/2017/07/19/suses-linux-distros-for-wsl-now-available-in-the-windows-store/

/cc @nodejs/platform-windows

@refack refack added the wsl Issues and PRs related to the Windows Subsystem for Linux. label Jul 22, 2017
@refack
Copy link
Contributor

refack commented Jul 28, 2017

Windows Subsystem for Linux out of Beta! (in build 16251)
https://blogs.msdn.microsoft.com/commandline/2017/07/28/windows-subsystem-for-linux-out-of-beta/

@nodejs/platform-windows @nodejs/release @nodejs/build @nodejs/testing Do we want to consider officially supporting node/WSL (more specifical node/Ubuntu 16.04/WSL)?

@gireeshpunathil
Copy link
Member

In my understanding, the abstraction model of Linux on Windows implemented through WSL is neither documented, nor understoood. The only statement I know in this regard is: "WSL performs the emulation at the user->kernel boundary".

As node abstracts many things from the underlying system and makes static assumptions about it (from path delimiter to socket attributes) based on the platform it is running, this WSL layer makes it hard for problem determination without we completely understand what goes where, and what is implemented in Linux way and Windows way.

I have had asked some questions to the WSL forum and the response was on the lines of issues can be addressed as and when they arise, but not possible to document everything.

So my bottom line is that it is difficult to support this combination without we fully know about the execution environment, threading and scheduling models, network cabailities etc. and their functional association to the platform - to the emulated OS, or to the host OS. At the sametime, I would love if those are documented and we support this combination - as it provides a wonderful and interesting architectural combination.

@bnoordhuis
Copy link
Member

If WSL is a 100% accurate emulation of Linux, we don't need to support it because if it works on Linux, it works on WSL.

If WSL is not a 100% accurate emulation, they are bugs that MS should fix and there is nothing we can do except point users to their bug tracker.

Ergo, it makes no sense to say it's supported. (Also, QED.)

@refack
Copy link
Contributor

refack commented Aug 1, 2017

I'm 👍 on not supporting, but maybe we should make a note to the effect of @bnoordhuis's comment, since users assume stuff. I've tried to label related bug reports and we do get some...

@bnoordhuis
Copy link
Member

I'll close this out for lack of activity but feel free to reopen if more discussion is needed.

@refack
Copy link
Contributor

refack commented Oct 22, 2017

Now that WSL in out of beta IMHO we should document that support is experimental (and based on Linux kernel support, not Windows support)

@refack refack reopened this Oct 22, 2017
@refack refack added doc Issues and PRs related to the documentations. good first issue Issues that are suitable for first-time contributors. labels Oct 22, 2017
joaocgreis added a commit to JaneaSystems/node that referenced this issue Nov 14, 2017
MylesBorins pushed a commit that referenced this issue Dec 12, 2017
Fixes: #13471
PR-URL: #17008
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Timothy Gu <timothygu99@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Hitesh Kanwathirtha <hiteshk@microsoft.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
gibfahn pushed a commit that referenced this issue Dec 19, 2017
Fixes: #13471
PR-URL: #17008
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Timothy Gu <timothygu99@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Hitesh Kanwathirtha <hiteshk@microsoft.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
MylesBorins pushed a commit that referenced this issue Dec 19, 2017
Fixes: #13471
PR-URL: #17008
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Timothy Gu <timothygu99@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Hitesh Kanwathirtha <hiteshk@microsoft.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
gibfahn pushed a commit that referenced this issue Dec 20, 2017
Fixes: #13471
PR-URL: #17008
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Timothy Gu <timothygu99@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Hitesh Kanwathirtha <hiteshk@microsoft.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc Issues and PRs related to the documentations. good first issue Issues that are suitable for first-time contributors. windows Issues and PRs related to the Windows platform. wsl Issues and PRs related to the Windows Subsystem for Linux.
Projects
None yet
Development

No branches or pull requests

6 participants