Skip to content
This repository has been archived by the owner on Aug 11, 2023. It is now read-only.

Too many levels of symbolic links when running ls -l /proc/sys/fs/binfmt_misc #15

Closed
hnakamur opened this issue May 30, 2020 · 4 comments

Comments

@hnakamur
Copy link
Contributor

After running bash ubuntu-wsl2-systemd-script.sh and wsl.exe -t ${DISTRIBUTION_NAME} and reopen a terminal for WSL2 VM, I get the following error when I run ls -l /proc/sys/fs/binfmt_misc.

$ ls -l /proc/sys/fs/binfmt_misc
ls: cannot open directory '/proc/sys/fs/binfmt_misc': Too many levels of symbolic links

It would be nice to fix this problem.

@lucyllewy
Copy link
Contributor

I did fix this for myself, but have forgotten what the actual change was in full. I'll try to figure out the exact steps to fix this shortly.

lucyllewy pushed a commit to lucyllewy/ubuntu-wsl2-systemd-script that referenced this issue May 31, 2020
Fixes DamionGans#15

Signed-off-by: Daniel Llewellyn <daniel@bowlhat.net>
@jramiresbrito
Copy link

How things are going about this @diddledan ?

@lucyllewy
Copy link
Contributor

@jramiresbrito the code from PR #17 fixes this. Once Damion merges it then it'll be available in this repo. Until then you can use the copy from the binfmt_misc branch in my fork at https://github.com/diddledan/ubuntu-wsl2-systemd-script/tree/binfmt_misc

@DamionGans
Copy link
Owner

I have merged the PR :-) enjoy!

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

No branches or pull requests

4 participants