Public bug reported:

> Original bug here: https://github.com/wslutilities/wslu/issues/133
> This is for SRU purpose.

**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"
```

** Affects: wslu (Ubuntu)
     Importance: High
     Assignee: Patrick Wu (callmepk)
         Status: In Progress

** Affects: wslu (Ubuntu Focal)
     Importance: High
     Assignee: Patrick Wu (callmepk)
         Status: New

** Affects: wslu (Ubuntu Groovy)
     Importance: High
     Assignee: Patrick Wu (callmepk)
         Status: In Progress

** Changed in: wslu (Ubuntu)
       Status: New => Confirmed

** Changed in: wslu (Ubuntu)
   Importance: Undecided => High

** Changed in: wslu (Ubuntu)
     Assignee: (unassigned) => Patrick Wu (callmepk)

** Changed in: wslu (Ubuntu)
       Status: Confirmed => In Progress

** Also affects: wslu (Ubuntu Groovy)
   Importance: High
     Assignee: Patrick Wu (callmepk)
       Status: In Progress

** Also affects: wslu (Ubuntu Focal)
   Importance: Undecided
       Status: New

** Changed in: wslu (Ubuntu Focal)
   Importance: Undecided => High

** Changed in: wslu (Ubuntu Focal)
     Assignee: (unassigned) => Patrick Wu (callmepk)

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to wslu in Ubuntu.
https://bugs.launchpad.net/bugs/1888869

Title:
  Commands do not build windows paths correctly

Status in wslu package in Ubuntu:
  In Progress
Status in wslu source package in Focal:
  New
Status in wslu source package in Groovy:
  In Progress

Bug description:
  > Original bug here: https://github.com/wslutilities/wslu/issues/133
  > This is for SRU purpose.

  **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"
  ```

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/wslu/+bug/1888869/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to