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

reg.exe: command not found #120

Closed
gitfool opened this issue May 13, 2020 · 1 comment
Closed

reg.exe: command not found #120

gitfool opened this issue May 13, 2020 · 1 comment
Labels
Bug This is either an issue that describes a bug or a PR that resolves a bug Target: 2.x This is targeted to the 2.x release. Ubuntu Specific related to Ubuntu version of wslu. It is a separate fork of wslu and maintained by Ubuntu team.

Comments

@gitfool
Copy link

gitfool commented May 13, 2020

Background Information:

  • Build: 19041.264
  • WSL: Ubuntu 20.04
  • Version: ubuntu-wsl 1.450; wslu 2.3.6-0ubuntu1

Describe the bug
wsl.conf:

[automount]
enabled = true
mountFsTab = true
options = "metadata,umask=0022,fmask=0011,case=off"
root = /

[interop]
enabled = true
appendWindowsPath = false

[network]
generateHosts = true
generateResolvConf = true

Note: I do not append Windows paths so I often see the error:

reg.exe: command not found

To Reproduce

❯ 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 108: reg.exe: command not found
/usr/bin/wslsys: line 108: reg.exe: command not found
/usr/bin/wslsys: line 108: reg.exe: command not found
/usr/bin/wslsys: line 108: reg.exe: command not found

                          ./+o+-      Windows 10 Linux Subsystem
                  yyyyy. 'yyyyyy+     sean@hal
              .;//+/////h yyyyyyo     BUILD:    19041
           .++ .:/++++++/-.`sss/`     BRANCH:   vb_release
         .:++o: `\++++++++/:---:/-    RELEASE:  Ubuntu 20.04 LTS
        o:+o+:++. `````'-/ooo+++++\   KERNEL:   Linux 4.19.84-microsoft-standard
       .:+o:+o/.          `+sssooo+\  UPTIME:   0d 4h 15m
  .++/+ +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++'`

❯ wslview http://www.google.com
/usr/bin/wslview: line 108: reg.exe: command not found

❯ xdg-open http://www.google.com
/usr/bin/x-www-browser: line 108: reg.exe: command not found

Expected behavior

Don't show spurious "command not found" errors.

@patrick330602 patrick330602 added Bug This is either an issue that describes a bug or a PR that resolves a bug Target: 2.x This is targeted to the 2.x release. Ubuntu Specific related to Ubuntu version of wslu. It is a separate fork of wslu and maintained by Ubuntu team. labels May 13, 2020
@patrick330602
Copy link
Member

Thank you for the report! I am aware of this bug and this bug is tracked here: https://bugs.launchpad.net/ubuntu/+source/wslu/+bug/1877016

I am closing this issue but will update once the fix is committed to Ubuntu.

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 Target: 2.x This is targeted to the 2.x release. Ubuntu Specific related to Ubuntu version of wslu. It is a separate fork of wslu and maintained by Ubuntu team.
Projects
None yet
Development

No branches or pull requests

2 participants