ubuntu-wsl / wslu : needs /mnt/c/windows/system32/ in PATH env variable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
wslu (Ubuntu) |
Fix Released
|
High
|
Patrick Wu | ||
Xenial |
Won't Fix
|
High
|
Patrick Wu | ||
Bionic |
Won't Fix
|
High
|
Patrick Wu | ||
Focal |
Fix Released
|
High
|
Patrick Wu | ||
Groovy |
Fix Released
|
High
|
Patrick Wu |
Bug Description
[Impact]
This affects all wslu tools on all releases. When PATH do not include Windows path, the all tools will complain that reg.exe is not found.
[Test Case]
* Add appendWindowsPath = false under [interop] section in /etc/wsl.conf file, and restart the distribution
* run any wslu tool (like wslfetch)
* "/mnt/c/
[Regression Potential]
* For future release of wslu 3.1.0 proposed, huge refactoring will be needed.
[Original Bug Report]
ubuntu-wsl / wslu : needs /mnt/c/
$ wslfetch
/usr/bin/wslfetch: line 108: reg.exe: command not found
/usr/bin/wslsys: line 108: reg.exe: command not found
/usr/bin/wslsys: line 183: /mnt/c/
/usr/bin/wslsys: line 185: /mnt/c/
/usr/bin/wslsys: line 187: /mnt/c/
/usr/bin/wslsys: line 189: /mnt/c/
/usr/bin/wslsys: line 108: reg.exe: command not found
/usr/bin/wslsys: line 183: /mnt/c/
/usr/bin/wslsys: line 185: /mnt/c/
/usr/bin/wslsys: line 187: /mnt/c/
/usr/bin/wslsys: line 189: /mnt/c/
/usr/bin/wslsys: line 108: reg.exe: command not found
/usr/bin/wslsys: line 183: /mnt/c/
/usr/bin/wslsys: line 185: /mnt/c/
/usr/bin/wslsys: line 187: /mnt/c/
/usr/bin/wslsys: line 189: /mnt/c/
/usr/bin/wslsys: line 108: reg.exe: command not found
/usr/bin/wslsys: line 183: /mnt/c/
/usr/bin/wslsys: line 185: /mnt/c/
/usr/bin/wslsys: line 187: /mnt/c/
/usr/bin/wslsys: line 189: /mnt/c/
/usr/bin/wslsys: line 108: reg.exe: command not found
/usr/bin/wslsys: line 183: /mnt/c/
/usr/bin/wslsys: line 185: /mnt/c/
/usr/bin/wslsys: line 187: /mnt/c/
/usr/bin/wslsys: line 189: /mnt/c/
.++ .:/++++++/-.`sss/` BRANCH:
.:++o: `\++++++++/:---:/- RELEASE: Ubuntu 20.04 LTS
o:+o+:++. `````'-/ooo+++++\ KERNEL: Linux 4.4.0-18362-
.:+o:+o/. `+sssooo+\ UPTIME: 0d 2h 6m
.++/+ +oo+o:` \sssooo;
/+++//+: oo+o
\+/+o+++ o++o ydddhh+
.++.o+ +oo+:` /dddhhh;
.+.o+oo:. oddhhhh+
\+.++o+o` -,,,,.:ohdhhhhh+
`:o+++ ohhhhhhhhyo++os:
.o: .syhhhhhhh'.oo++o.
After :
echo $PATH
/snap/bin:
$ wslfetch
.++ .:/++++++/-.`sss/` BRANCH: 19h1_release
.:++o: `\++++++++/:---:/- RELEASE: Ubuntu 20.04 LTS
o:+o+:++. `````'-/ooo+++++\ KERNEL: Linux 4.4.0-18362-
.:+o:+o/. `+sssooo+\ UPTIME: 0d 2h 19m
.++/+ +oo+o:` \sssooo;
/+++//+: oo+o
\+/+o+++ o++o ydddhh+
.++.o+ +oo+:` /dddhhh;
.+.o+oo:. oddhhhh+
\+.++o+o` -,,,,.:ohdhhhhh+
`:o+++ ohhhhhhhhyo++os:
.o: .syhhhhhhh'.oo++o.
Related branches
- Sebastien Bacher: Needs Information
-
Diff: 188 lines (+121/-3)8 files modifieddebian/changelog (+8/-0)
debian/compat (+1/-1)
debian/control (+1/-1)
debian/patches/0011-src-wslu-header-reg.exe-path-not-properly-set.patch (+22/-0)
debian/patches/0012-src-wslfetch.sh-update-Ubuntu-logo.patch (+57/-0)
debian/patches/0013-src-wslu-header-fix-an-issue-that-Ubuntu-will-not-be.patch (+22/-0)
debian/patches/series (+3/-0)
debian/rules (+7/-1)
- Sebastien Bacher: Approve
- Ubuntu Core Development Team: Pending requested
-
Diff: 146 lines (+112/-0)5 files modifieddebian/changelog (+8/-0)
debian/patches/0011-src-wslu-header-reg.exe-path-not-properly-set.patch (+22/-0)
debian/patches/0012-src-wslfetch.sh-update-Ubuntu-logo.patch (+57/-0)
debian/patches/0013-src-wslu-header-fix-an-issue-that-Ubuntu-will-not-be.patch (+22/-0)
debian/patches/series (+3/-0)
- Sebastien Bacher: Needs Fixing
- Ubuntu Core Development Team: Pending requested
-
Diff: 146 lines (+112/-0)5 files modifieddebian/changelog (+8/-0)
debian/patches/0011-src-wslu-header-reg.exe-path-not-properly-set.patch (+22/-0)
debian/patches/0012-src-wslfetch.sh-update-Ubuntu-logo.patch (+57/-0)
debian/patches/0013-src-wslu-header-fix-an-issue-that-Ubuntu-will-not-be.patch (+22/-0)
debian/patches/series (+3/-0)
Changed in wslu (Ubuntu Focal): | |
status: | New → Confirmed |
Changed in wslu (Ubuntu Bionic): | |
status: | New → Confirmed |
Changed in wslu (Ubuntu Xenial): | |
status: | New → Confirmed |
importance: | Undecided → High |
Changed in wslu (Ubuntu Bionic): | |
importance: | Undecided → High |
Changed in wslu (Ubuntu Focal): | |
importance: | Undecided → High |
Changed in wslu (Ubuntu Xenial): | |
assignee: | nobody → Patrick Wu (callmepk) |
Changed in wslu (Ubuntu Focal): | |
assignee: | nobody → Patrick Wu (callmepk) |
Changed in wslu (Ubuntu Bionic): | |
assignee: | nobody → Patrick Wu (callmepk) |
description: | updated |
Changed in wslu (Ubuntu Groovy): | |
status: | In Progress → Fix Committed |
description: | updated |
Changed in wslu (Ubuntu Xenial): | |
status: | Confirmed → Won't Fix |
Changed in wslu (Ubuntu Bionic): | |
status: | Confirmed → Won't Fix |
Thanks for the report. Just checked the code and there is indeed an issue.