Commands do not build windows paths correctly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
wslu (Ubuntu) |
Fix Released
|
High
|
Patrick Wu | ||
Focal |
Won't Fix
|
High
|
Patrick Wu | ||
Groovy |
Fix Released
|
High
|
Patrick Wu |
Bug Description
> Original bug here: https:/
> This is for SRU purpose.
**Background Information:**
- Build:
```
➜ ~ wslview --version
/bin/wslview: line 108: /mntc/Windows/
wslu v2.3.6; wslview v06
```
- WSL:
```
➜ ~ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
```
- 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/
/bin/wslsys: line 108: /mntc/Windows/
/bin/wslsys: line 183: /mntc/Windows/
/bin/wslsys: line 185: /mntc/Windows/
/bin/wslsys: line 187: /mntc/Windows/
/bin/wslsys: line 189: /mntc/Windows/
/bin/wslsys: line 108: /mntc/Windows/
/bin/wslsys: line 183: /mntc/Windows/
/bin/wslsys: line 185: /mntc/Windows/
/bin/wslsys: line 187: /mntc/Windows/
/bin/wslsys: line 189: /mntc/Windows/
/bin/wslsys: line 108: /mntc/Windows/
/bin/wslsys: line 183: /mntc/Windows/
/bin/wslsys: line 185: /mntc/Windows/
/bin/wslsys: line 187: /mntc/Windows/
/bin/wslsys: line 189: /mntc/Windows/
/bin/wslsys: line 108: /mntc/Windows/
/bin/wslsys: line 183: /mntc/Windows/
/bin/wslsys: line 185: /mntc/Windows/
/bin/wslsys: line 187: /mntc/Windows/
/bin/wslsys: line 189: /mntc/Windows/
/bin/wslsys: line 108: /mntc/Windows/
/bin/wslsys: line 183: /mntc/Windows/
/bin/wslsys: line 185: /mntc/Windows/
/bin/wslsys: line 187: /mntc/Windows/
/bin/wslsys: line 189: /mntc/Windows/
/
+sssssssss
/sssssssshN
.ssssssssdMM
+sssshhhyNMM
ossyNMMMNyMM
ossyNMMMNyMM
+sssshhhyNMM
.ssssssssdMM
/sssssssshN
+sssssssss
/
```
**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,
```
Changed in wslu (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → High |
assignee: | nobody → Patrick Wu (callmepk) |
status: | Confirmed → In Progress |
Changed in wslu (Ubuntu Focal): | |
importance: | Undecided → High |
assignee: | nobody → Patrick Wu (callmepk) |
Changed in wslu (Ubuntu Focal): | |
status: | New → Won't Fix |
This bug was fixed in the package wslu - 3.2.1-0ubuntu1
---------------
wslu (3.2.1-0ubuntu1) groovy; urgency=medium
* Update from 2.3.6 to 3.2.1 to provide new features and wslu/baseexec file_path`
address some issues (ffe lp: #1895525)
- Documentation: add section 7 manpage: `wslu`
- Documentation: updated manpage system
- Documentation: New README language Esperanto
- Project: updated build system
- Project: versioning system update
- Project: add separate Fedora Remix support
- header: add `--verbose`
- header: refactor the header in order to speed up
- header: handling empty ~/.config/
- header: use the proper color definition
- header: fix `ubuntu.exe` detection issue
- header: prevent localappdata not found in env
- header: improvements on the system drive detection.
(GH: #133, LP: #1888869)
- header: fix badly generated shortcut issue (GH: #141)
- wslact: brand new CLI
- wslact: adding `--mount-options` for auto-mounting feature
- wslact: fix an i18n related issue in time-sync feature
(GH: #113 by @ricardosantos9521)
- wslact: add back-compatibility for the auto-mounting feature.
- wslusc: brand new helper script (GH: #93)
- wslusc: brand new shortcut icon
- wslusc: always use the absolute path (fixes #129)
- wslusc: fixes a possible white space path issue
- wslusc: add convert not found warning
- wslusc: fix the problem that the previous version that GUI shortcut
generated won't work.
- wslusc: When TMP is empty, try TEMP
- wslusc: fix an issue that wsl.exe execute with wrongly passed param
(GH: #138)
- wslfetch: colorbar expanded
- wslfetch: `--no-colorbar` become `--colorbar`
- wslfetch: speed up execution time (GH: #100)
- wslfetch: new display for WSL with WSL version displayed
- wslfetch: use the proper logo for Ubuntu
(Reported by Martin Wimpress, LP: #1883920)
- wslview: alias of `wslstart`, `wstart`, `wview` (GH: #64)
- wslview: browser registration parameter change
- wslview: handling file:/// protocol (GH: #66)
- wslview: fix a mistake in `converted_
- wslview: properly detect all different protocols and path styles
(GH: #118)
- wslview: mistake in calling a variable (fixes #118 again)
- wslview: fix a bug that it won't open `file:///mnt/c/...`
or `/mnt/c/...`
- wslview: add wslview.desktop (GH: #143 and #146)
- wslsys: Display Scaling Factor (help with Pengwin GH: #559)
- wslsys: Windows Locale
- wslsys: Windows Theme
- wslsys: speed up execution time
- wslsys: add WSL version option
- wslsys: fix an issue in DPI scaling getting wrong value due to the API
change in Latest fast ring insider build (Reported by @crramirez)
- wslsys: fix an issue that the WSL Version shown is wrong.
- package: missing call to `configure.sh`
- package: fix alpine dependency issue (GH: #117)
- tests: update the test system and tests. (GH: #125)
-- Patrick Wu <email address hidden> Sun, 13 Sep 2020 22:36:33 +0800