[Bug 1824862] Re: Enable upgrading from 12.04 to 14.04 while keeping ESM enabled

Brian Murray brian at ubuntu.com
Mon May 6 18:12:41 UTC 2019


I also tested an upgrade from 12.04 to 14.04 with ESM enabled and it
succeeded in that ESM continued to be enabled after the upgrade.

bdmurray at clean-precise-amd64:~$ grep "release-upgrader version" /var/log/dist-upgrade/main.log
2019-05-06 10:47:09,531 INFO release-upgrader version '0.220.11' started
bdmurray at clean-precise-amd64:~$ grep hidden-u /var/log/dist-upgrade/main.log
2019-05-06 10:47:16,812 DEBUG examining: 'deb https://hidden-u:hidden-p@esm.ubuntu.com/ubuntu precise-updates main'
2019-05-06 10:47:16,812 DEBUG entry 'deb https://hidden-u:hidden-p@esm.ubuntu.com/ubuntu trusty-updates main' updated to new dist
2019-05-06 10:47:16,812 DEBUG examining: 'deb https://hidden-u:hidden-p@esm.ubuntu.com/ubuntu precise-security main'
2019-05-06 10:47:16,812 DEBUG entry 'deb https://hidden-u:hidden-p@esm.ubuntu.com/ubuntu trusty-security main' updated to new dist


** Tags removed: verification-needed verification-needed-trusty
** Tags added: verification-done verification-done-trusty

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1824862

Title:
  Enable upgrading from 12.04 to 14.04 while keeping ESM enabled

Status in ubuntu-release-upgrader package in Ubuntu:
  Fix Released
Status in ubuntu-release-upgrader source package in Trusty:
  Fix Released

Bug description:
  [Impact]
  While it is possible to upgrade from 12.04 w/ ESM enabled to 14.04 the ESM archive is disabled thereby making customers vulnerable (since 14.04 is no long receiving security updates) until they reenable the ESM archive.

  [Test Case]
  1. run 'sudo ubuntu-advantage enable-esm $USER:$PASSWORD'
  2. edit /etc/update-manager/release-upgrades set Prompt=lts
  3. run 'do-release-upgrade'
  4. observe "third party entries in your sources.list were disabled" message
  also check /var/log/dist-upgrade/main.log for the following line:
  2019-05-02 10:22:28,345 DEBUG examining: 'deb https://hidden-u:hidden-p@esm.ubuntu.com/ubuntu precise main'
  2019-05-02 10:22:28,346 DEBUG entry '# deb https://hidden-u:hidden-p@esm.ubuntu.com/ubuntu trusty main # disabled on upgrade to trusty' was disabled (unknown mirror)

  with the version of the release upgrader in -proposed you won't receive the disabled message and will see the following in main.log:
  2019-05-02 11:56:58,856 DEBUG examining: 'deb https://hidden-u:hidden-p@esm.ubuntu.com/ubuntu precise-security main'
  2019-05-02 11:56:58,856 DEBUG entry 'deb https://hidden-u:hidden-p@esm.ubuntu.com/ubuntu trusty-security main' updated to new dist
  (Yes, that really says precise-security it's part of the hack to switch pockets.)

  [Regression Potential]
  Because the sources.list entries are manipulated to switch pockets from the precise release one to trusty -security and -updates is possible this change would persist if someone were to cancel the upgrade. So we should test that cancelling the upgrade doesn't modify (by switching pockets) your /etc/apt/sources.list.d/esm* file.

  We now have an LTS to LTS where both have ESM. Therefore we should be
  testing a system with ESM installed on Precise and then upgrade to
  Trusty ESM.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1824862/+subscriptions



More information about the foundations-bugs mailing list