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

Commands do not build windows paths correctly #133

Closed
bendem opened this issue Jul 24, 2020 · 2 comments · Fixed by #132
Closed

Commands do not build windows paths correctly #133

bendem opened this issue Jul 24, 2020 · 2 comments · Fixed by #132
Labels
Bug This is either an issue that describes a bug or a PR that resolves a bug Status: Pending Release This is fixed but not yet released. Target: 3.x This is targeted to the 3.x version. Workaround There is a workaround for this feature/bug to use temprarily.

Comments

@bendem
Copy link

bendem commented Jul 24, 2020

Background Information:

  • Build:
➜  ~ wslview  --version
/bin/wslview: line 108: /mntc/Windows/System32/reg.exe: No such file or directory
wslu v2.3.6; wslview v06
  • WSL:
➜  ~ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.1 LTS"
  • Version: See above

Describe the bug
Binaries seem to drop a slash from the mountpath of disks, resulting in no tool under windows to be found:

➜  ~ wslfetch
/bin/wslfetch: line 108: /mntc/Windows/System32/reg.exe: No such file or directory
/bin/wslsys: line 108: /mntc/Windows/System32/reg.exe: No such file or directory
/bin/wslsys: line 183: /mntc/Windows/System32/reg.exe: No such file or directory
/bin/wslsys: line 185: /mntc/Windows/System32/reg.exe: No such file or directory
/bin/wslsys: line 187: /mntc/Windows/System32/reg.exe: No such file or directory
/bin/wslsys: line 189: /mntc/Windows/System32/reg.exe: No such file or directory
/bin/wslsys: line 108: /mntc/Windows/System32/reg.exe: No such file or directory
/bin/wslsys: line 183: /mntc/Windows/System32/reg.exe: No such file or directory
/bin/wslsys: line 185: /mntc/Windows/System32/reg.exe: No such file or directory
/bin/wslsys: line 187: /mntc/Windows/System32/reg.exe: No such file or directory
/bin/wslsys: line 189: /mntc/Windows/System32/reg.exe: No such file or directory
/bin/wslsys: line 108: /mntc/Windows/System32/reg.exe: No such file or directory
/bin/wslsys: line 183: /mntc/Windows/System32/reg.exe: No such file or directory
/bin/wslsys: line 185: /mntc/Windows/System32/reg.exe: No such file or directory
/bin/wslsys: line 187: /mntc/Windows/System32/reg.exe: No such file or directory
/bin/wslsys: line 189: /mntc/Windows/System32/reg.exe: No such file or directory
/bin/wslsys: line 108: /mntc/Windows/System32/reg.exe: No such file or directory
/bin/wslsys: line 183: /mntc/Windows/System32/reg.exe: No such file or directory
/bin/wslsys: line 185: /mntc/Windows/System32/reg.exe: No such file or directory
/bin/wslsys: line 187: /mntc/Windows/System32/reg.exe: No such file or directory
/bin/wslsys: line 189: /mntc/Windows/System32/reg.exe: No such file or directory
/bin/wslsys: line 108: /mntc/Windows/System32/reg.exe: No such file or directory
/bin/wslsys: line 183: /mntc/Windows/System32/reg.exe: No such file or directory
/bin/wslsys: line 185: /mntc/Windows/System32/reg.exe: No such file or directory
/bin/wslsys: line 187: /mntc/Windows/System32/reg.exe: No such file or directory
/bin/wslsys: line 189: /mntc/Windows/System32/reg.exe: No such file or directory

               .-/+oossssoo+/-.               Windows 10 Linux Subsystem
           `:+ssssssssssssssssss+:`           bendem@CL1277
         -+ssssssssssssssssssyyssss+-         BUILD:
       .ossssssssssssssssssdMMMNysssso.       BRANCH:
      /ssssssssssshdmmNNmmyNMMMMhssssss/      RELEASE:  Ubuntu 20.04.1 LTS
     +ssssssssshmydMMMMMMMNddddyssssssss+     KERNEL:   Linux 4.4.0-18362-Microsoft
    /sssssssshNMMMyhhyyyyhmNMMMNhssssssss/    UPTIME:   1d 5h 59m
   .ssssssssdMMMNhsssssssssshNMMMdssssssss.
   +sssshhhyNMMNyssssssssssssyNMMMysssssss+
   ossyNMMMNyMMhsssssssssssssshmmmhssssssso
   ossyNMMMNyMMhsssssssssssssshmmmhssssssso
   +sssshhhyNMMNyssssssssssssyNMMMysssssss+
   .ssssssssdMMMNhsssssssssshNMMMdssssssss.
    /sssssssshNMMMyhhyyyyhdNMMMNhssssssss/
     +sssssssssdmydMMMMMMMMddddyssssssss+
      /ssssssssssshdmNNNNmyNMMMMhssssss/
       .ossssssssssssssssssdMMMNysssso.
         -+sssssssssssssssssyyyssss+-
           `:+ssssssssssssssssss+:`
               .-/+oossssoo+/-.

To Reproduce
Steps to reproduce the behavior:
Run any command, see error

Expected behavior
A clear and concise description of what you expected to happen:
No error

Additional context
Add any other context about the problem here.

➜  ~ cat /etc/wsl.conf
[automount]
root = /mnt
options = "metadata,umask=22,fmask=11"
@patrick330602
Copy link
Member

patrick330602 commented Jul 24, 2020

can you change the "root = /mnt" to "root = /mnt/" in your /etc/wsl.conf for now to temporarily solve the issue? The fix for this issue will be included in the 3.2.0 backport to wslu in Ubuntu.

Also, please report bugs of wslu for Ubuntu following the pinged guide here in the future: #121

For this time, I will move the bug manually.

@patrick330602 patrick330602 added Bug This is either an issue that describes a bug or a PR that resolves a bug Status: In Progress This is being worked on and not ready. Target: 3.x This is targeted to the 3.x version. Workaround There is a workaround for this feature/bug to use temprarily. labels Jul 24, 2020
@patrick330602
Copy link
Member

Although this is not a Ubuntu-specific bug, you have to follow this bug to track the progress for wslu for Ubuntu: https://bugs.launchpad.net/ubuntu/+source/wslu/+bug/1888869, keep in mind closing this bug does not mean it is closed for Ubuntu.

patrick330602 added a commit that referenced this issue Jul 24, 2020
@patrick330602 patrick330602 added Status: Pending Release This is fixed but not yet released. and removed Status: In Progress This is being worked on and not ready. labels Jul 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This is either an issue that describes a bug or a PR that resolves a bug Status: Pending Release This is fixed but not yet released. Target: 3.x This is targeted to the 3.x version. Workaround There is a workaround for this feature/bug to use temprarily.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants