-
Notifications
You must be signed in to change notification settings - Fork 823
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
Bash won't complete install properly #718
Comments
I'm having the exact same issue. I've gone through the correct steps to install Bash. I'm 100% sure about that. The install hangs at "Extracting filesystem" with the init process showing up in task manager. I've tried installing via "bash" in the start menu as well as with |
I am also experiencing the exact same issue. |
I am also experiencing this issue. I left my command prompt at "Extracting filesystem..."" overnight and it did not complete. |
Did any of you made a clean install of Anniversary Update? |
I did a windows update (from a previously fully updated windows 10 version), not a clean install. |
I have run into the same problem. Previously I tried installing Bash on Ubuntu on Windows using the Bash command in Command Prompt. The installation got stuck at "Extracting filesystem, this will take a few minutes..." lxrun /uninstall but only after a restart, as the bash process was still running and killing it from PowerShell gave Access Denied exception. I only have Windows Defender as my antivirus program. |
Relatively fresh install of Windows 10 Pro, windows update installed the Anniversary Update yesterday, which necessitated a series of reboots. I have disabled all antivirus protection (Avast) and turned off malwarebytes also. LocalAppData and AppData are not symlinked and in their default locations. While it says "extracting filesystem" there is an "init" process owned by my user taking 10-20% CPU time. |
Oh, and I'm joined to a test domain, but I am logged in to an account with local administrator and domain administrator access to test this. |
I didn't do a clean install, just an update. I'm running Avast, but I've tried disabling it without any luck. As for messing with AppData and LocalAppData, I haven't done anything to them. My init process is also running at about 10-20%, but nothing happens. |
Avast here, I also tried to deactivate it, no change. On Wed, Aug 3, 2016, 13:54 onomatopellan [email protected] wrote:
|
I've only got one pagefile and I don't have any virtual drives or RAM disks set up, so that shouldn't be an issue on my end. |
It seems #707 is now solved. Did you try looking for the reg entry? |
I just updated a Win 10 Pro machine and everything went smoothly, I didn't even had to enable developer mode - it did it for me. Is there an issue with Home edition |
It was already set to 1, yeah. I should note that there is not an error message like in #707. The install just hangs indefinitely. |
If you WIn+R and go to %localappdata%/lxss what do you see? Can you enter on rootfs directory and see its contents? |
I can enter lxss/rootfs, yes. It contains multiple folders as well as the "init" file. |
If you didn't see any lxxs.tar.gz file on lxss folder then it means it extracted the files correctly, deleted the lxxs.tar.gz file and then it hangs. |
@onomatopellan thanks for helping folks out. To clarify WSL does not require the obcaseinsensitive registry key. We enable case sensitivity temporarily on a per-thread basis for pico processes that are running Linux binaries. @JacobStearns do you happen to have a third party firewall installed? We've seen the install hang for users using Kaspersky and Bitdefender firewalls because they are blocking the network traffic of our pico processes. |
@onomatopellan Just to confirm, there was no lxxs.tar.gz, so that should all be fine. I'm running @benhillis I do not. I'm running Avast free, but that doesn't contain a firewall. I've tried disabling Avast, but that doesn't seem to help at all. |
@salvavn Can confirm, this is the exact behavior I'm seeing. |
@salvavn I do not. |
It seems like lots of guys with the same issue have Avast working... I don't know if it's only a coincidence... |
Could you try uninstalling Avast, restarting Windows and then trying bash again? |
Can do. I'll be back once that's done. |
Success! I have removed Avast. Then I have uninstalled bash with After that, I have rebooted Windows. And then, I have installed the linux stack with: And it works! Now the prompt has asked me for the user name and password. |
I'm going to install Avast again in order to check if there is some kind of interaction after the bash installation. |
Hey guys, bad news. I was executing in my bash prompt the So, in my opinion, the current AVAST version (the latest one) is incompatible with bash. :( |
Uninstalling Avast fixed it on my end as well. It's unfortunate that Avast seems to completely break Bash. |
I have tried disabling Avast, but didn't work. The only way I'm able to work with bash is with a full deinstallation of Avast :( |
I can confirm the problem is Avast (unfortunately, I found this issue only after spending a couple of hours before figuring it out myself...) The problem also occurs with Avast's free Business Antivirus version. It's not enough to turn Avast's shields off; the product has to be uninstalled. |
It seems Firewalls and AV will have to be updated to support the new picoprocesses. |
Anyone having recommendations for AVs that are compatible with Bash? Webroot seems to work just fine. In fact I am pretty annoyed by Avast because it broke things because of false positives, adding a message to each outgoing mail ... good opportunity to ditch Avast for good I moved to Bitdefender on the machine that showed and it fixed it. |
Disabling the AVs may not be enough. Uninstalling it is a good way, but how about "closing" the AVs temporarily? |
I had to uninstall Avast for it to work at all. As soon as I reinstalled Avast after installing bash, I couldn't actually run bash anymore. I was in the market for a new AV anyway, may as well test out Defender. |
@salvavn It worked like a charm, uninstalling avast did the trick Thanks |
Glad to hear. To keep everybody in the loop I've been reaching out to third party firewall providers and will work with them on getting this fixed. Thanks everyone for trying WSL! |
here is another issue who deals with 3rd party firewalls. |
Thanks for working on this. |
After reinstalling Bash a couple of times... lxrun /install and waited till it hung at the extraction stage. After a couple of hours, I simply closed the command prompt. Task manager showed bash running. The lxss folder didn't have the tarball, which probably means everything was extracted correctly. I realized I had multiple page files. So I set it to "Automatically manage paging file size for all drives", then rebooted. I also disabled Windows Firewall and turned real time protection off in Windows Defender. I do not have any other Antivirus installed, Then ran lxrun /setdefaultuser root It worked. I then created a new for me |
Glad it worked for you. |
To me it seems that the current newest version of Avast Free Antivirus (12.3.2280 / build 12.3.2154.0) does not have this issue. Installing WSL hanged on the 'Extracting filesystem' part, but then I updated my Avast av and after that, installing WSL got past that to a successful installation. |
It's working on my end, too. Bash and every program I've tested have worked with Avast so far. If there's any issues still present, I haven't found them. |
Hi all, I just wanted to give my two cents on the Avast business. Bash.exe had been working perfectly fine for me and has with minimal problems since it was first released. A little while ago, I tried to move a big directory into another directory and it got hung up. It remained hung up after trying to Ctrl-Z it into the background or Ctrl-C it out of existence. So I closed it out. Opening it again, it remained hung up. Restarted; still hung up. Ultimately what appears to have fixed it is permanently turning off Avast's File System Shield and then restarting. After the reboot, bash became unhung! Then I could just turn on the File System Shield again. Avast Settings > Components > File System Shield Off > Stop Permanently TL;DR |
Avast supports exclusion path, adding the lxss path:
Maybe this can stop Avast messing up files for WSL ? |
Having a similar issue here. No Avast involved though. Tried to install bash and it hung on I miss my mac. edit: and now |
This should be resolved in Creator's Update. If others are experiencing this same issue in Creators Update or later, please let me know! |
having the same problem here. im not running Avast but have something called f-secure (it's called kpn veilig idk why). tried to run bash anyway. it worked before i used any commands. i used ls and the system freaked out and then outputted the right thing for some reason. the file location seems bugged to but but works anyway. it seems like it now only has weird visual bugs. i hope this information can help find where the installation stops. |
Please use the following bug reporting template to help produce actionable and reproducible issues:
Install bash hangs when "init" is executing using a full core but no visible activity
You can "successfully" end the installation, but then each attempt to run bash will just result in init spinning forever
The text was updated successfully, but these errors were encountered: