Intrepid upgrade removed EVMS but should not have allowed upgrade

Bug #292179 reported by Ken Geis
6
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Fix Released
High
Michael Vogt
Intrepid
Won't Fix
Medium
Michael Vogt

Bug Description

I just ran the dist-upgrade to 8.10. I saw that during the cleaning up phase that it was planning on removing EVMS. I assumed that EVMS functionality had been replaced by some other package, so I agreed to have it removed. Now my system won't boot because it can't see /dev/evms/root.

TEST CASE:
1. use hardy (e.g. server or a chroot)
2. install evms from universe and create a evms volume and mount it
3. enable normal upgrades in /etc/update-manager/release-upgrades
4. run upgrade (e.g. via do-release-upgrade )
5. verify that evms is removed at the end of the upgrade

6. repeat 1,2,3
7. run upgrade vie "update-manager --proposed or do-release-upgrade --proposed"
8. verify that the upgrade will abort

Revision history for this message
Ken Geis (kgeis) wrote :

So I just read about evms being deprecated in Ubuntu 7.10. I booted SystemRescueCS and followed instructions in the wiki for converting evms volumes to md volumes. I'm up and running, but I still think that the upgrade script should have warned me that it would make my system unusable.

Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugreport.

Could you please attach the files in /var/log/dist-ugprade/ to this report? It looks like indeed evms was removed from the archive entirely.

Changed in update-manager:
assignee: nobody → mvo
importance: Undecided → High
status: New → Incomplete
Revision history for this message
Michael Vogt (mvo) wrote :

I will add evms to the removal blacklist in intrepid. That will ensure that its not removed.

For hardy->next-lts I will add code that shows a dialog with a propper warning about it. This is difficult/impossible for intrepid because it means we break the string freeze.

Changed in update-manager:
assignee: nobody → mvo
importance: Undecided → Medium
milestone: none → intrepid-updates
status: New → In Progress
Michael Vogt (mvo)
Changed in update-manager:
milestone: none → ubuntu-9.04-beta
status: Incomplete → Triaged
Michael Vogt (mvo)
description: updated
Revision history for this message
Michael Vogt (mvo) wrote :

I change the current development branch for update-manager so that it will display a error and reuse to upgrade if /proc/mounts contains evms mounts.

Changed in update-manager:
status: Triaged → Fix Committed
Revision history for this message
Michael Vogt (mvo) wrote :

I discussed this in our development meeting and the agreement was that we should show a propper error message on intrepid upgrades too (even if it means a untranslated message). This error will shown *only* to people using evms, so it should be fine.

Revision history for this message
Ken Geis (kgeis) wrote :

Here's all of my upgrade logs, in case you still need them. Looking through them, I found another bug to file too! (upgrade added relatime to ext3 fs w/ noatime already specified)

Revision history for this message
Michael Vogt (mvo) wrote :

@Ken: thanks for the logs and thanks for the additional information about the relatime bug.

For the verification of this fix some instructins how to create a evms mount would be helpful. If you could help with the intructions how to create one (on a free disk or parition) with the evms-cli tools, that would be most appreciated.

Michael Vogt (mvo)
description: updated
Revision history for this message
Ken Geis (kgeis) wrote :

Sorry, I can't really help on creating an EVMS volume with the CLI tools. It's something I did once, a couple of years ago, with the GUI tools and the EVMS manual in front of me. Since I'm not going to use EVMS any more, and I don't have a machine I can just play around with, it's hard for me to justify such an effort.

Revision history for this message
Martin Pitt (pitti) wrote :

Accepted into intrepid-proposed, please test and give feedback here. Please see https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in update-manager:
milestone: intrepid-updates → none
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package update-manager - 1:0.95.1

---------------
update-manager (1:0.95.1) jaunty; urgency=low

  * DistUpgrade/DistUpgrade.glade, DistUpgrade/window_main.ui:
    - show 9.04 upgrade target
  * debian/rules:
    - calculate demotions based on intrepid->jaunty
  * DistUpgrade/DistUpgradeCache.py:
    - when the dist-upgrade calculation fails, show the reason
      why in the error dialog (LP: #281286)
    - when a meta package can not be upgraded, show a proper
      error message with the package in question
  * DistUpgrade/DistUpgradeQuirks.py:
    - abort ugprade from hardy if evms is used in /proc/mounts
      evms got removed from the archive in intrepid (LP: #292179)
    - do not add "relatime" if "noatime" is already given (thanks
      to Ken Geis)
  * DistUpgrade/removal_blacklist.cfg:
    - remove overly broad postgresql regexp
  * DistUpgrade/DistUpgradeCache.py:
    - do not limit the removal blacklist to downloadable packages,
      this limits it too much
  * check-new-release:
    - install check for new releases into update-motd.d/daily

 -- Michael Vogt <email address hidden> Tue, 11 Nov 2008 11:22:41 +0100

Changed in update-manager:
status: Fix Committed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

This has been in -proposed for 2.5 months. Any testers?

Revision history for this message
Martin Pitt (pitti) wrote :

Any testers? This has sat in -proposed for almost 300 days. I'm going to remove this package from intrepid-proposed again soon, if no testing feedback arrives.

Revision history for this message
Martin Pitt (pitti) wrote :

2009-09-09 09:32:25 INFO Removing candidates:
2009-09-09 09:32:25 INFO update-manager 1:0.93.35 in intrepid
2009-09-09 09:32:25 INFO update-manager 1:0.93.35 in intrepid amd64
2009-09-09 09:32:25 INFO update-manager 1:0.93.35 in intrepid hppa
2009-09-09 09:32:25 INFO update-manager 1:0.93.35 in intrepid i386
2009-09-09 09:32:25 INFO update-manager 1:0.93.35 in intrepid ia64
2009-09-09 09:32:25 INFO update-manager 1:0.93.35 in intrepid lpia
2009-09-09 09:32:25 INFO update-manager 1:0.93.35 in intrepid powerpc
2009-09-09 09:32:25 INFO update-manager 1:0.93.35 in intrepid sparc
2009-09-09 09:32:25 INFO update-manager-core 1:0.93.35 in intrepid amd64
2009-09-09 09:32:25 INFO update-manager-core 1:0.93.35 in intrepid hppa
2009-09-09 09:32:25 INFO update-manager-core 1:0.93.35 in intrepid i386
2009-09-09 09:32:25 INFO update-manager-core 1:0.93.35 in intrepid ia64
2009-09-09 09:32:25 INFO update-manager-core 1:0.93.35 in intrepid lpia
2009-09-09 09:32:25 INFO update-manager-core 1:0.93.35 in intrepid powerpc
2009-09-09 09:32:25 INFO update-manager-core 1:0.93.35 in intrepid sparc
2009-09-09 09:32:25 INFO update-manager-hildon 1:0.93.35 in intrepid amd64
2009-09-09 09:32:25 INFO update-manager-hildon 1:0.93.35 in intrepid hppa
2009-09-09 09:32:25 INFO update-manager-hildon 1:0.93.35 in intrepid i386
2009-09-09 09:32:25 INFO update-manager-hildon 1:0.93.35 in intrepid ia64
2009-09-09 09:32:25 INFO update-manager-hildon 1:0.93.35 in intrepid lpia
2009-09-09 09:32:25 INFO update-manager-hildon 1:0.93.35 in intrepid powerpc
2009-09-09 09:32:25 INFO update-manager-hildon 1:0.93.35 in intrepid sparc
2009-09-09 09:32:25 INFO update-manager-kde 1:0.93.35 in intrepid amd64
2009-09-09 09:32:25 INFO update-manager-kde 1:0.93.35 in intrepid hppa
2009-09-09 09:32:25 INFO update-manager-kde 1:0.93.35 in intrepid i386
2009-09-09 09:32:25 INFO update-manager-kde 1:0.93.35 in intrepid ia64
2009-09-09 09:32:25 INFO update-manager-kde 1:0.93.35 in intrepid lpia
2009-09-09 09:32:25 INFO update-manager-kde 1:0.93.35 in intrepid powerpc
2009-09-09 09:32:25 INFO update-manager-kde 1:0.93.35 in intrepid sparc
2009-09-09 09:32:25 INFO Removed-by: Martin Pitt
2009-09-09 09:32:25 INFO Comment: unverified SRU
2009-09-09 09:32:26 INFO 29 packages successfully removed.
2009-09-09 09:32:26 INFO Transaction committed.

Changed in update-manager (Ubuntu Intrepid):
status: Fix Committed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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