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

snapd needs squashfs support in kernel #4123

Closed
cerebrate opened this issue Jun 13, 2019 · 11 comments
Closed

snapd needs squashfs support in kernel #4123

cerebrate opened this issue Jun 13, 2019 · 11 comments

Comments

@cerebrate
Copy link

WSL 2, build 18917.

While WSL2 doesn't have the issues with snapd described in #2374 , we now have another blocker. snap install now fails after downloading the snap, as it is unable to mount it, since the WSL 2 kernel doesn't contain squashfs support. (Per /proc/filesystems and the obvious test:

image

.)

Any chance we can get that included?

@therealkenc
Copy link
Collaborator

we now have another blocker.

Still have one of the blockers.

Any chance we can get that included?

In the meantime, pending an answer to that, bet you could, with a little hackery, probably get over the hump with this.

@benhillis benhillis added fixinbound wsl2 Issue/feature applies to WSL 2 labels Jun 13, 2019
@benhillis
Copy link
Member

We've added squashfs support to the kernel, it will be available in an Insider build soon.

@therealkenc
Copy link
Collaborator

Second try is the trick....

image

@bbhopesh
Copy link

@therealkenc I am still facing #2374 in WSL2. Is it just me or is it a known issue for wsl2 too? @cerebrate says he doesn't get it in WSL2.

@cerebrate
Copy link
Author

@bbhopesh To clarify that, I don’t get in WSL 2 because I can run systemd in WSL 2. (Using my https://github.com/arkane-systems/genie code.) Without that or some equivalent method to get systemd up and running for snapd, I’d still get it, and snapd won’t run without both that and a recompiled kernel.

@therealkenc
Copy link
Collaborator

Yes, as of this writing snapd won't run "out of the box" on WSL2. CONFIG_SQUASHFS should roll out RSN though. There is usually a couple week delay from tag fixinbound to the change actually making its way into a Windows Update rollout.

@cerebrate
Copy link
Author

Since this is in the kernel now, closing.

@Biswa96
Copy link

Biswa96 commented Sep 9, 2019

Here is a naughty procedure to use snapd with systemd. See this link https://forum.snapcraft.io/t/snapd-on-wsl2-insiders-only-for-now/13033

@cerebrate
Copy link
Author

So much reinventing of the wheel. 🤷‍♂

@therealkenc
Copy link
Collaborator

My one-liner seems to have a legs. Yeah.

@cerebrate
Copy link
Author

In so many very similar wrapped variants, heh. This is about the fifth one I've seen, counting mine, and I haven't been looking.

@therealkenc therealkenc added fixedinreleasebuild and removed fixinbound wsl2 Issue/feature applies to WSL 2 labels Jun 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants