Upgrading using the live cd wipes /var/lib/mythtv/*
Bug #992241 reported by
Thomas Mashos
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mythbuntu |
Fix Released
|
Critical
|
Unassigned | ||
Ubuntu CD Images |
Fix Released
|
Undecided
|
Unassigned | ||
partman-target (Ubuntu) |
Fix Released
|
High
|
Colin Watson | ||
Precise |
Fix Released
|
High
|
Colin Watson | ||
ubiquity (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Precise |
Fix Released
|
High
|
Stéphane Graber |
Bug Description
[Impact] Serious data loss when using the live CD upgrade option.
[Test Case] Install 11.10. Create some files under /var/lib/mysql/ and /var/lib/mythtv/ (doesn't matter exactly what). Use the live CD upgrade option to upgrade to 12.04 using an in-place install. Check that the files you created still exist.
[Regression Potential] Limited to the upgrade option; this code is not used elsewhere. If that option still works otherwise then it should be fine.
Original report follows:
When using the live cd to upgrade, it wipes /var/lib/mythtv/* (presumably /var/*) meaning you lose the database and the default storage group locations
Changed in mythbuntu: | |
milestone: | none → 12.04.1 |
no longer affects: | mythbuntu/12.04 |
Changed in mythbuntu: | |
status: | New → Confirmed |
importance: | Undecided → Critical |
Changed in partman-target (Ubuntu Precise): | |
milestone: | none → ubuntu-12.04.1 |
status: | New → Confirmed |
Changed in partman-target (Ubuntu): | |
status: | New → Confirmed |
Changed in partman-target (Ubuntu Precise): | |
assignee: | nobody → Colin Watson (cjwatson) |
Changed in partman-target (Ubuntu): | |
assignee: | nobody → Colin Watson (cjwatson) |
Changed in partman-target (Ubuntu Precise): | |
importance: | Undecided → High |
Changed in partman-target (Ubuntu): | |
importance: | Undecided → High |
description: | updated |
Changed in partman-target (Ubuntu Precise): | |
status: | Confirmed → In Progress |
Changed in ubiquity (Ubuntu Precise): | |
status: | Triaged → In Progress |
Changed in mythbuntu: | |
status: | Confirmed → Fix Released |
To post a comment you must log in.
What's happening is that the "Upgrade" the live CD offers doesn't maintain the MySQL database or the recordings that are stored in the default /var/lib/mysql and /var/lib/mythtv.
I believe this is happening in partman-target (finish. d/clear_ partitions) . I'm not sure if there is any room to add special cases though.