2023-01-31 14:38:21 |
Grant Orndorff |
bug |
|
|
added bug |
2023-01-31 14:41:21 |
Grant Orndorff |
description |
[Impact]
Users who upgrade from 27.13.X to the next version (27.13.3) could experience one of two things:
If they had run `pro config set apt_news=false` then our preinst code to handle that conffile change will not do anything because the md5sum in `preinst` is incomplete. This is okay because we haven't changed the default conffile in 27.13.3, but we should still fix it as it could affect future versions.
If they had run `pro config set apt_news=true` then our preinst code would restore a non-default conffile, so the user would still have an edited conffile even after the preinst code runs. This is also okay for now because we haven't changed the default conffile in 27.13.3, but we should still fix it as it could affect future versions.
[Test Case]
Ensure the following upgrade paths do not cause conffile prompts:
27.11.3 -> 27.13.3 and debsums -e ubuntu-advantage-tools is OK
27.11.3 with pro config set apt_news=false -> 27.13.3
27.11.3 with pro config set apt_news=true -> 27.13.3 and debsums -e ubuntu-advantage-tools is OK
27.12 -> 27.13.3 and debsums -e ubuntu-advantage-tools is OK
27.12 with pro config set apt_news=false -> 27.13.3
27.12 with pro config set apt_news=true -> 27.13.3 and debsums -e ubuntu-advantage-tools is OK
27.13.1 -> 27.13.3 and debsums -e ubuntu-advantage-tools is OK
27.13.1 with pro config set apt_news=false -> 27.13.3
27.13.1 with pro config set apt_news=true -> 27.13.3 and debsums -e ubuntu-advantage-tools is OK
27.13.2 -> 27.13.3 and debsums -e ubuntu-advantage-tools is OK
27.13.2 with pro config set apt_news=false -> 27.13.3
27.13.2 with pro config set apt_news=true -> 27.13.3 and debsums -e ubuntu-advantage-tools is OK
[Regression Potential]
We haven't done the proper fix for #2003977 yet, so if we didn't properly update the preinst hack to avoid prompts, that bug may reoccur. As part of this release we are ensuring the checksums in preinst are accurate and will still properly gaurd against this bug for upgrades from all applicable versions: 27.11.3, 27.12, 27.13.1, 27.13.2. Testing these upgrade paths is a part of the verification for this SRU.
[Discussion]
This is an extension of the temporary fix for #2003977 - it is not a permanent solution. We will introduce a permanent solution in our next release: 27.13.4. The permanent solution is being tracked in TODO ADD LP BUG NUMBER |
[Impact]
Users who upgrade from 27.13.X to the next version (27.13.3) could experience one of two things:
If they had run `pro config set apt_news=false` then our preinst code to handle that conffile change will not do anything because the md5sum in `preinst` is incomplete. This is okay because we haven't changed the default conffile in 27.13.3, but we should still fix it as it could affect future versions.
If they had run `pro config set apt_news=true` then our preinst code would restore a non-default conffile, so the user would still have an edited conffile even after the preinst code runs. This is also okay for now because we haven't changed the default conffile in 27.13.3, but we should still fix it as it could affect future versions.
[Test Case]
Ensure the following upgrade paths do not cause conffile prompts:
27.11.3 -> 27.13.3 and debsums -e ubuntu-advantage-tools is OK
27.11.3 with pro config set apt_news=false -> 27.13.3
27.11.3 with pro config set apt_news=true -> 27.13.3 and debsums -e ubuntu-advantage-tools is OK
27.12 -> 27.13.3 and debsums -e ubuntu-advantage-tools is OK
27.12 with pro config set apt_news=false -> 27.13.3
27.12 with pro config set apt_news=true -> 27.13.3 and debsums -e ubuntu-advantage-tools is OK
27.13.1 -> 27.13.3 and debsums -e ubuntu-advantage-tools is OK
27.13.1 with pro config set apt_news=false -> 27.13.3
27.13.1 with pro config set apt_news=true -> 27.13.3 and debsums -e ubuntu-advantage-tools is OK
27.13.2 -> 27.13.3 and debsums -e ubuntu-advantage-tools is OK
27.13.2 with pro config set apt_news=false -> 27.13.3
27.13.2 with pro config set apt_news=true -> 27.13.3 and debsums -e ubuntu-advantage-tools is OK
[Regression Potential]
We haven't done the proper fix for #2003977 yet, so if we didn't properly update the preinst hack to avoid prompts, that bug may reoccur. As part of this release we are ensuring the checksums in preinst are accurate and will still properly gaurd against this bug for upgrades from all applicable versions: 27.11.3, 27.12, 27.13.1, 27.13.2. Testing these upgrade paths is a part of the verification for this SRU.
[Discussion]
This is an extension of the temporary fix for #2003977 - it is not a permanent solution. We will introduce a permanent solution in our next release: 27.13.4. The permanent solution is being tracked in #2004280 |
|
2023-01-31 15:03:57 |
Andreas Hasenack |
merge proposal linked |
|
https://code.launchpad.net/~orndorffgrant/ubuntu/+source/ubuntu-advantage-tools/+git/ubuntu-advantage-tools/+merge/436562 |
|
2023-01-31 15:04:38 |
Andreas Hasenack |
nominated for series |
|
Ubuntu Bionic |
|
2023-01-31 15:04:38 |
Andreas Hasenack |
bug task added |
|
ubuntu-advantage-tools (Ubuntu Bionic) |
|
2023-01-31 15:04:38 |
Andreas Hasenack |
nominated for series |
|
Ubuntu Kinetic |
|
2023-01-31 15:04:38 |
Andreas Hasenack |
bug task added |
|
ubuntu-advantage-tools (Ubuntu Kinetic) |
|
2023-01-31 15:04:38 |
Andreas Hasenack |
nominated for series |
|
Ubuntu Lunar |
|
2023-01-31 15:04:38 |
Andreas Hasenack |
bug task added |
|
ubuntu-advantage-tools (Ubuntu Lunar) |
|
2023-01-31 15:04:38 |
Andreas Hasenack |
nominated for series |
|
Ubuntu Jammy |
|
2023-01-31 15:04:38 |
Andreas Hasenack |
bug task added |
|
ubuntu-advantage-tools (Ubuntu Jammy) |
|
2023-01-31 15:04:38 |
Andreas Hasenack |
nominated for series |
|
Ubuntu Xenial |
|
2023-01-31 15:04:38 |
Andreas Hasenack |
bug task added |
|
ubuntu-advantage-tools (Ubuntu Xenial) |
|
2023-01-31 15:04:38 |
Andreas Hasenack |
nominated for series |
|
Ubuntu Focal |
|
2023-01-31 15:04:38 |
Andreas Hasenack |
bug task added |
|
ubuntu-advantage-tools (Ubuntu Focal) |
|
2023-01-31 23:53:47 |
Robie Basak |
ubuntu-advantage-tools (Ubuntu Kinetic): status |
New |
Fix Committed |
|
2023-01-31 23:53:49 |
Robie Basak |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2023-01-31 23:53:50 |
Robie Basak |
bug |
|
|
added subscriber SRU Verification |
2023-01-31 23:53:52 |
Robie Basak |
tags |
|
verification-needed verification-needed-kinetic |
|
2023-01-31 23:54:21 |
Robie Basak |
ubuntu-advantage-tools (Ubuntu Jammy): status |
New |
Fix Committed |
|
2023-01-31 23:54:24 |
Robie Basak |
tags |
verification-needed verification-needed-kinetic |
verification-needed verification-needed-jammy verification-needed-kinetic |
|
2023-01-31 23:54:43 |
Robie Basak |
ubuntu-advantage-tools (Ubuntu Focal): status |
New |
Fix Committed |
|
2023-01-31 23:54:46 |
Robie Basak |
tags |
verification-needed verification-needed-jammy verification-needed-kinetic |
verification-needed verification-needed-focal verification-needed-jammy verification-needed-kinetic |
|
2023-01-31 23:55:02 |
Robie Basak |
ubuntu-advantage-tools (Ubuntu Bionic): status |
New |
Fix Committed |
|
2023-01-31 23:55:06 |
Robie Basak |
tags |
verification-needed verification-needed-focal verification-needed-jammy verification-needed-kinetic |
verification-needed verification-needed-bionic verification-needed-focal verification-needed-jammy verification-needed-kinetic |
|
2023-01-31 23:55:29 |
Robie Basak |
ubuntu-advantage-tools (Ubuntu Xenial): status |
New |
Fix Committed |
|
2023-01-31 23:55:34 |
Robie Basak |
tags |
verification-needed verification-needed-bionic verification-needed-focal verification-needed-jammy verification-needed-kinetic |
verification-needed verification-needed-bionic verification-needed-focal verification-needed-jammy verification-needed-kinetic verification-needed-xenial |
|
2023-02-01 15:25:15 |
Grant Orndorff |
attachment added |
|
verification-2004279.tar.gz https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/2004279/+attachment/5644286/+files/verification-2004279.tar.gz |
|
2023-02-01 15:25:35 |
Grant Orndorff |
tags |
verification-needed verification-needed-bionic verification-needed-focal verification-needed-jammy verification-needed-kinetic verification-needed-xenial |
verification-done verification-done-bionic verification-done-focal verification-done-jammy verification-done-kinetic verification-done-xenial |
|
2023-02-01 19:37:57 |
Andreas Hasenack |
ubuntu-advantage-tools (Ubuntu Lunar): status |
New |
In Progress |
|
2023-02-01 23:16:15 |
Launchpad Janitor |
ubuntu-advantage-tools (Ubuntu Lunar): status |
In Progress |
Fix Released |
|
2023-02-02 12:20:20 |
Launchpad Janitor |
ubuntu-advantage-tools (Ubuntu Kinetic): status |
Fix Committed |
Fix Released |
|
2023-02-02 12:20:29 |
Andreas Hasenack |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2023-02-02 12:20:50 |
Launchpad Janitor |
ubuntu-advantage-tools (Ubuntu Jammy): status |
Fix Committed |
Fix Released |
|
2023-02-02 12:21:17 |
Launchpad Janitor |
ubuntu-advantage-tools (Ubuntu Focal): status |
Fix Committed |
Fix Released |
|
2023-02-02 12:21:38 |
Launchpad Janitor |
ubuntu-advantage-tools (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|
2023-02-02 12:21:56 |
Launchpad Janitor |
ubuntu-advantage-tools (Ubuntu Xenial): status |
Fix Committed |
Fix Released |
|