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

Bug #1883924 reported by Patrick Wu
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
wslu (Ubuntu)
Fix Released
Critical
Patrick Wu
Xenial
Won't Fix
Critical
Unassigned
Bionic
Won't Fix
Critical
Unassigned
Focal
Fix Released
Critical
Patrick Wu
Groovy
Fix Released
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)
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)
Changed in wslu (Ubuntu Groovy):
assignee: nobody → Patrick Wu (callmepk)
Revision history for this message
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
Revision history for this message
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
Revision history for this message
Patrick Wu (callmepk) wrote :

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

Patrick Wu (callmepk)
description: updated
Changed in wslu (Ubuntu Focal):
status: Incomplete → New
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

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
Revision history for this message
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
Revision history for this message
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
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update 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.

Changed in wslu (Ubuntu Xenial):
assignee: Patrick Wu (callmepk) → nobody
Changed in wslu (Ubuntu Bionic):
assignee: Patrick Wu (callmepk) → nobody
Changed in wslu (Ubuntu Xenial):
status: New → Won't Fix
Changed in wslu (Ubuntu Bionic):
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.