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

* Resynchronise with Debian. Remaining changes:
- Disable automatic mounting of USB removable devices.
- Mount floppies with 'exec' and 'utf8'.
- Use the path of the file associated with a loop device in /etc/fstab,
rather than the filesystem's UUID or the loop device path.
- Always set the loop option for loop devices.
- Remove critical system files from the existing filesystem before
installing.
- Preserve the UID and GID of the initial user, if possible. Requires a
patch to user-setup.
- Check that all system partitions are formatted.
- Stop adding removable devices to /etc/fstab, now that apt knows how to
find CD-ROM devices using libudev.
- Notify user-setup if there is an encrypted home partition present.
- Stop creating /var/run and /var/lock on the root filesystem, now that
these are symlinks into /run.
* finish.d/clear_partitions: Don't remove /var/lib/mysql or
/var/lib/mythtv, since they contain user data in the form of databases
(LP: #992241).

If this package fixes the bug for you, please change the bug tag from verification-needed to verification-done. If it does not, change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

If this package fixes the bug for you, please change the bug tag from verification-needed to verification-done. If it does not, change the tag to verification-failed. In either case, details of your testing will help us make a better decision.