Ubuntu.exe will not be detected properly if other LTS version is installed

Bug #1883924 reported by Patrick Wu on 2020-06-17
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
wslu (Ubuntu)
Status tracked in Groovy
Xenial
Critical
Patrick Wu
Bionic
Critical
Patrick Wu
Focal
Critical
Patrick Wu
Groovy
Critical
Patrick Wu

Bug Description

[Impact]

This affects all wslu tools on all releases when using from the Ubuntu app from Microsoft Store. When other LTS version of app is installed from Microsoft Store, baseexec generated by wslu on Ubuntu app will not be using ubuntu.exe but other LTS release apps (such as ubuntu1804.exe)

[Test Case]

 * Install Ubuntu and Ubuntu 18.04 LTS from Microsoft Store.
 * run any wslu tools (like wslfetch --help)
 * Verify that ~/.config/wslu/baseexec contains the path to ubuntu.exe

[Regression Potential]

This patch will try to regenerate ~/.config/wslu/baseexec when trying to execute any wslu commands (like wslfetch). Potential regressions would be a result of ~/.config/wslu/baseexec not regenerated properly.

Related branches

Patrick Wu (callmepk) on 2020-06-17
Changed in wslu (Ubuntu Xenial):
importance: Undecided → Critical
Changed in wslu (Ubuntu Bionic):
importance: Undecided → Critical
Changed in wslu (Ubuntu Focal):
importance: Undecided → Critical
Changed in wslu (Ubuntu Groovy):
importance: Undecided → Critical
status: New → Fix Committed
Changed in wslu (Ubuntu Focal):
assignee: nobody → Patrick Wu (callmepk)
Changed in wslu (Ubuntu Bionic):
assignee: nobody → Patrick Wu (callmepk)
Changed in wslu (Ubuntu Xenial):
assignee: nobody → Patrick Wu (callmepk)
Patrick Wu (callmepk) on 2020-06-24
Changed in wslu (Ubuntu Groovy):
assignee: nobody → Patrick Wu (callmepk)
Launchpad Janitor (janitor) wrote :

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 <email address hidden> Wed, 01 Jul 2020 16:07:10 +0200

Changed in wslu (Ubuntu Groovy):
status: Fix Committed → Fix Released
Brian Murray (brian-murray) wrote :

The regression potential should be a description of what could go wrong when fixing this bug and discuss how to test it. "None for now" doesn't do that.

Changed in wslu (Ubuntu Focal):
status: New → Incomplete
Patrick Wu (callmepk) wrote :

Thanks for the information. I will update the regression potential.

Patrick Wu (callmepk) on 2020-07-08
description: updated
Changed in wslu (Ubuntu Focal):
status: Incomplete → New

Hello Patrick, or anyone else affected,

Accepted wslu into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/wslu/2.3.6-0ubuntu2~20.04.0 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-focal to verification-done-focal. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-focal. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in wslu (Ubuntu Focal):
status: New → Fix Committed
tags: added: verification-needed verification-needed-focal
Patrick Wu (callmepk) wrote :

I have tested 2.3.6-0ubuntu2~20.04.0 on ubuntu.exe with ubuntu 20.04, 18.04 and 16.04 installed alongside (ubuntu2004.exe, ubuntu1804.exe, ubuntu1604.exe). As the screenshot shown, the problem of wrong basename is now solved.

tags: added: verification-done-focal
removed: verification-needed-focal
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package wslu - 2.3.6-0ubuntu2~20.04.0

---------------
wslu (2.3.6-0ubuntu2~20.04.0) focal; urgency=medium

  * d/p/0011-src-wslu-header-reg.exe-path-not-properly-set.patch:
    - reg.exe path not properly set (LP: #1877016)
  * d/p/0012-src-wslfetch.sh-update-Ubuntu-logo.patch:
    - update Ubuntu logo (LP: #1883920)
  * d/p/0013-src-wslu-header-fix-an-issue-that-Ubuntu-will-not-be.patch:
    - fix an issue that Ubuntu will not be detected properly (LP: #1883924)

 -- Patrick Wu <email address hidden> Wed, 17 Jun 2020 21:11:36 +0800

Changed in wslu (Ubuntu Focal):
status: Fix Committed → Fix Released

The verification of the Stable Release Update for wslu has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers