Activity log for bug #1748509

Date Who What changed Old value New value Message
2018-02-09 18:44:55 Balint Reczey bug added bug
2018-02-09 18:45:34 Balint Reczey tags dist-upgrade
2018-02-09 18:46:20 Balint Reczey branch linked lp:~rbalint/update-manager/do-release-upgrade-without-pkexec
2018-02-11 16:05:29 Balint Reczey bug task added ubuntu-release-upgrader (Ubuntu)
2018-02-11 17:15:27 Balint Reczey branch linked lp:~rbalint/ubuntu-release-upgrader/raise-privileges-in-do-partial-upgrade-too
2018-02-11 17:15:55 Balint Reczey ubuntu-release-upgrader (Ubuntu): status New In Progress
2018-02-11 17:15:59 Balint Reczey update-manager (Ubuntu): status New In Progress
2018-02-13 07:51:29 Balint Reczey ubuntu-release-upgrader (Ubuntu): status In Progress Fix Committed
2018-02-13 07:51:34 Balint Reczey update-manager (Ubuntu): status In Progress Fix Committed
2018-02-13 08:08:46 Balint Reczey description [Impact] Users can't upgrade to next Ubuntu release running the upgrade GUI under Wayland if a full upgrade fails and update-manager fails back to a partial upgrade. The backport is needed to let Artful users to upgrade to Bionic without applying workarounds manually. [Test Case] 1. Install 17.10 and all the updates available 2. TODO: Make changes to make the full upgrade fail and as a result update-manager fall back to partial upgrade. 3. Start a wayland session (Ubuntu in GDM) 4. Check that root is not listed in xhost output: $ xhost access control enabled, only authorized clients can connect SI:localuser:rbalint 5. If root is present, remove it: $ xhost -si:localuser:root localuser:root being removed from access control list $ xhost access control enabled, only authorized clients can connect SI:localuser:rbalint 6. open a terminal and run the following command: $ update-manager -cd 7. When you're prompted to upgrade to 18.04, accept and proceed. Expected result on fixed version: Upgrade starts. Result on unfixed version: The GUI crashes. [Test Case (for regressions)] Repeat the test cases running under X.org (Ubuntu on Xorg in GDM) and check that: a. Upgrade still works b. xhost output is not modified [Regression Potential] The upgrade GUI may crash in a different way when applying the workaround fails. Do-partial-upgrade may fail to detect development or versions to upgrade to. The workaround "xhost +si:localuser:root" may be added under Xorg as well [Other Info] This bug covers performing a a partial upgrade which case is not covered int the fix for LP: #1732185 . [Impact] Users can't upgrade to next Ubuntu release running the upgrade GUI under Wayland if a full upgrade fails and update-manager fails back to a partial upgrade. The backport is needed to let Artful users to upgrade to Bionic without applying workarounds manually. [Test Case (for update-manager)] 1. Install 17.10 and all the updates available 2. TODO: Make changes to make the full upgrade fail and as a result update-manager fall back to partial upgrade. 3. Start a wayland session (Ubuntu in GDM) 4. Check that root is not listed in xhost output: $ xhost access control enabled, only authorized clients can connect SI:localuser:rbalint 5. If root is present, remove it: $ xhost -si:localuser:root localuser:root being removed from access control list $ xhost access control enabled, only authorized clients can connect SI:localuser:rbalint 6. open a terminal and run the following command: $ update-manager -cd 7. When you're prompted to upgrade to 18.04, accept and proceed. Expected result on fixed version: Upgrade starts. Result on unfixed version: The GUI crashes. [Test Case (for ubuntu-release-upgrader)] 1. Install 17.10 and all the updates available 2. Start a wayland session (Ubuntu in GDM) 3. Check that root is not listed in xhost output: $ xhost access control enabled, only authorized clients can connect SI:localuser:rbalint 4. If root is present, remove it: $ xhost -si:localuser:root localuser:root being removed from access control list $ xhost access control enabled, only authorized clients can connect SI:localuser:rbalint 5. open a terminal and run the following command: $ /usr/lib/ubuntu-release-upgrader/do-partial-upgrade --frontend=DistUpgradeViewGtk3 6. When you're prompted to upgrade to 18.04, accept and proceed. Expected result on fixed version: Upgrade asks for password to raise privileges then starts. Result on unfixed version: The command crashes. [Test Case (for regressions)] Repeat the test cases running under X.org (Ubuntu on Xorg in GDM) and check that: a. Upgrade still works b. xhost output is not modified [Regression Potential] The upgrade GUI may crash in a different way when applying the workaround fails. Do-partial-upgrade may fail to detect development or versions to upgrade to. The workaround "xhost +si:localuser:root" may be added under Xorg as well [Other Info] This bug covers performing a a partial upgrade which case is not covered int the fix for LP: #1732185 .
2018-02-23 12:59:11 Launchpad Janitor ubuntu-release-upgrader (Ubuntu): status Fix Committed Fix Released
2018-03-02 10:22:54 Launchpad Janitor update-manager (Ubuntu): status Fix Committed Fix Released