← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1877016] Re: ubuntu-wsl / wslu : needs /mnt/c/windows/system32/ in PATH env variable

 

This bug was fixed in the package wslu - 2.3.6-0ubuntu3

---------------
wslu (2.3.6-0ubuntu3) groovy; urgency=medium

  * debian/rules:
    - update the svg conversion commands for the current inkscape
      version and fix the build

 -- Patrick Wu <patrick.wu@xxxxxxxxxxxxx>  Wed, 01 Jul 2020 16:07:10
+0200

** Changed in: wslu (Ubuntu Groovy)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1877016

Title:
  ubuntu-wsl / wslu : needs /mnt/c/windows/system32/ in PATH env
  variable

Status in wslu package in Ubuntu:
  Fix Released
Status in wslu source package in Xenial:
  Confirmed
Status in wslu source package in Bionic:
  Confirmed
Status in wslu source package in Focal:
  Confirmed
Status in wslu source package in Groovy:
  Fix Released

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/Windows/System32/reg.exe: Permission denied" should not be shown

  [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/windows/system32/ in PATH env
  variable

  $ 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/Windows/System32/reg.exe: Permission denied
  /usr/bin/wslsys: line 185: /mnt/c/Windows/System32/reg.exe: Permission denied
  /usr/bin/wslsys: line 187: /mnt/c/Windows/System32/reg.exe: Permission denied
  /usr/bin/wslsys: line 189: /mnt/c/Windows/System32/reg.exe: Permission denied
  /usr/bin/wslsys: line 108: reg.exe: command not found
  /usr/bin/wslsys: line 183: /mnt/c/Windows/System32/reg.exe: Permission denied
  /usr/bin/wslsys: line 185: /mnt/c/Windows/System32/reg.exe: Permission denied
  /usr/bin/wslsys: line 187: /mnt/c/Windows/System32/reg.exe: Permission denied
  /usr/bin/wslsys: line 189: /mnt/c/Windows/System32/reg.exe: Permission denied
  /usr/bin/wslsys: line 108: reg.exe: command not found
  /usr/bin/wslsys: line 183: /mnt/c/Windows/System32/reg.exe: Permission denied
  /usr/bin/wslsys: line 185: /mnt/c/Windows/System32/reg.exe: Permission denied
  /usr/bin/wslsys: line 187: /mnt/c/Windows/System32/reg.exe: Permission denied
  /usr/bin/wslsys: line 189: /mnt/c/Windows/System32/reg.exe: Permission denied
  /usr/bin/wslsys: line 108: reg.exe: command not found
  /usr/bin/wslsys: line 183: /mnt/c/Windows/System32/reg.exe: Permission denied
  /usr/bin/wslsys: line 185: /mnt/c/Windows/System32/reg.exe: Permission denied
  /usr/bin/wslsys: line 187: /mnt/c/Windows/System32/reg.exe: Permission denied
  /usr/bin/wslsys: line 189: /mnt/c/Windows/System32/reg.exe: Permission denied
  /usr/bin/wslsys: line 108: reg.exe: command not found
  /usr/bin/wslsys: line 183: /mnt/c/Windows/System32/reg.exe: Permission denied
  /usr/bin/wslsys: line 185: /mnt/c/Windows/System32/reg.exe: Permission denied
  /usr/bin/wslsys: line 187: /mnt/c/Windows/System32/reg.exe: Permission denied
  /usr/bin/wslsys: line 189: /mnt/c/Windows/System32/reg.exe: Permission denied

                            ./+o+-      Windows 10 Linux Subsystem
                    yyyyy. 'yyyyyy+     rafaeldtinoco@lenovo
                .;//+/////h yyyyyyo     BUILD:
             .++ .:/++++++/-.`sss/`     BRANCH:
           .:++o: `\++++++++/:---:/-    RELEASE:	Ubuntu 20.04 LTS
          o:+o+:++. `````'-/ooo+++++\   KERNEL:	Linux 4.4.0-18362-Microsoft
         .:+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.
                 /osyyyyyyy.oooo+++\
                     ````` +oo+++o:/
                            `oo++'`

  After :

  echo $PATH
  /snap/bin:/snap/sbin:/mnt/c/windows/system32/:/home/rafaeldtinoco/work/sources/upstream/ubuntu-dev-tools/:/usr/lib/ccache:/sbin:/bin:/usr/sbin:/usr/bin:/home/rafaeldtinoco/work/sources/bzr/ubuntu-archive-tools:/home/rafaeldtinoco/work/sources/upstream/lxd/bin:.

  $ wslfetch

                            ./+o+-      Windows 10 Linux Subsystem
                    yyyyy. 'yyyyyy+     rafaeldtinoco@lenovo
                .;//+/////h yyyyyyo     BUILD:    18363
             .++ .:/++++++/-.`sss/`     BRANCH:   19h1_release
           .:++o: `\++++++++/:---:/-    RELEASE:  Ubuntu 20.04 LTS
          o:+o+:++. `````'-/ooo+++++\   KERNEL:   Linux 4.4.0-18362-Microsoft
         .:+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.
                 /osyyyyyyy.oooo+++\
                     ````` +oo+++o:/
                            `oo++'`

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