-
Notifications
You must be signed in to change notification settings - Fork 854
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
WSL2: Service Fabric for Linux Installation Errors #4178
Comments
On real Linux there is no /mnt/* windows folders. |
Before downloading and setting up the Ubuntu 16.04 VM via the MS Marketplace I ran:
Some questions:
|
1.- On cmd run |
Right, so WSL2 uses the same wsl.conf as WS1 and windows drives are auto mounted... thinking this would be great info to add to WSL 2 FAQ |
@MedAnd - Agreed, @mscraigloewen can you add this to the FAQ? |
@MedAnd - It's unclear to me why service fabric is falling over, is it because you are getting permission denied errors even though you are running as root? |
@benhillis / @mscraigloewen - I started over by creating a new WSL2 VM, disabled auto-mount and ran the script as sudo with the same failure outcome. I've attached the full logs of the failed installation inline. PS. Wondering if I should also log this with the Service Fabric team? |
@MedAnd @benhillis I've added the info about wsl.conf to the WSL 2 FAQ docs. |
From the attached shell log:
That's because the bus is not there dupe #376
That line looks like this, also #376,
Ask them how to make it run on Alpine/Gentoo/Void Linux ref #4158 (message). It will make a better formed question, and you will get a shorter and less confused answer. LZ is #994. |
@benhillis @mscraigloewen - may I recommend the FAQ is updated to clearly spell out that WSL2 does not run systemd (or anything that systemd usually starts, like dbus-daemon) @therealkenc - would also be good to clarify if this will never be supported or it's on your roadmap. PS. For anyone else looking for Service Fabric on WSL2 support, the request was created over a year ago 😎 |
Microsoft Windows [Version 10.0.18917.1000]
Following installation steps as per Prepare your development environment on Linux
Actual:
getfacl: Removing leading '/' from absolute path names
find: ‘/mnt/d/$RECYCLE.BIN/S-1-5-21-3037394892-517346355-113189614-1001’: Permission denied
find: ‘/mnt/d/$RECYCLE.BIN/S-1-5-21-3053762458-1566222040-1484859411-1604’: Permission denied
find: ‘/mnt/d/$RECYCLE.BIN/S-1-5-21-3053762458-1566222040-1484859411-1637’: Permission denied
find: ‘/mnt/d/$RECYCLE.BIN/S-1-5-21-3053762458-1566222040-1484859411-500’: Permission denied
find: ‘/mnt/d/Recovery’: Permission denied
find: ‘/mnt/d/System Volume Information’: Permission denied
find: ‘/mnt/c/$Recycle.Bin/S-1-5-18’: Permission denied
find: ‘/mnt/c/ProgramData/Docker/windowsfilter/1086c288b057704d5e3e7526ca950740c67d688d22aeeb3dd8a8b1ba2700f766/Files/Program Files/WindowsApps’: Permission denied
find: ‘/mnt/c/ProgramData/Docker/windowsfilter/1086c288b057704d5e3e7526ca950740c67d688d22aeeb3dd8a8b1ba2700f766/Files/ProgramData/Microsoft/Crypto/PCPKSP/WindowsAIK’: Permission denied
find: ‘/mnt/c/ProgramData/Docker/windowsfilter/1086c288b057704d5e3e7526ca950740c67d688d22aeeb3dd8a8b1ba2700f766/Files/ProgramData/Microsoft/Diagnosis’: Permission denied
Failed to connect to bus: No such file or directory
/var/lib/dpkg/info/servicefabric.postinst: line 202: echo Error: Failed to restart atop.service: command not found
dpkg: error processing package servicefabric (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of servicefabricsdkcommon:
servicefabricsdkcommon depends on servicefabric (>= 6.4.625.1); however:
Package servicefabric is not configured yet.
dpkg: error processing package servicefabricsdkcommon (--configure):
dependency problems - leaving unconfigured
Setting up libbabeltrace1:amd64 (1.3.2-1) ...
No apport report written because the error message indicates its a followup error from a previous failure.
Setting up libbabeltrace-ctf1:amd64 (1.3.2-1) ...
Setting up babeltrace (1.3.2-1) ...
Processing triggers for ureadahead (0.100.0-19.1) ...
Processing triggers for systemd (229-4ubuntu21.21) ...
Processing triggers for libc-bin (2.23-0ubuntu11) ...
Processing triggers for dbus (1.10.6-1ubuntu3.3) ...
Errors were encountered while processing:
servicefabric
servicefabricsdkcommon
E: Sub-process /usr/bin/dpkg returned an error code (1)
Error@67: Failed to install Service Fabric SDK
Expected:
Assume the windows file system should not be iterated?
The text was updated successfully, but these errors were encountered: