← Back to team overview

linux-traipu team mailing list archive

[Bug 992241] Re: Upgrading using the live cd wipes /var/lib/mythtv/*

 

This bug was fixed in the package partman-target - 78ubuntu1

---------------
partman-target (78ubuntu1) quantal; urgency=low

  * 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).

partman-target (78) unstable; urgency=low

  * Team upload

  [ Joey Hess ]
  * Stop adding /proc to /etc/fstab on Linux (automatically mounted)
    Closes: #674481 Thanks, Roger Leigh

  [ Christian Perrier ]
  * Turn XC-Package-Type into Package-Type

  [ Joey Hess ]
  [ Updated translations ]
  * Tibetan (bo.po) by Tennom
  * Welsh (cy.po) by Dafydd Tomos
  * Basque (eu.po) by Piarres Beobide
  * Lao (lo.po) by Anousak Souphavanh
  * Lithuanian (lt.po) by Rimas Kudelis
  * Latvian (lv.po) by Rūdolfs Mazurs
  * Macedonian (mk.po) by Arangel Angov
  * Panjabi (pa.po) by A S Alam
  * Portuguese (Brazil) (pt_BR.po) by Felipe Augusto van de Wiel (faw)
  * Traditional Chinese (zh_TW.po) by Yao Wei (魏銘廷)
 -- Colin Watson <cjwatson@xxxxxxxxxx>   Wed, 04 Jul 2012 15:05:56 +0100

** Changed in: partman-target (Ubuntu)
       Status: Confirmed => Fix Released

** Branch linked: lp:~ubuntu-core-dev/partman-target/precise-proposed

-- 
You received this bug notification because you are a member of UBUNTU -
AL - BR, which is subscribed to Mythbuntu.
https://bugs.launchpad.net/bugs/992241

Title:
  Upgrading using the live cd wipes /var/lib/mythtv/*

Status in Mythbuntu, Ubuntu derivative focused upon MythTV:
  Confirmed
Status in “partman-target” package in Ubuntu:
  Fix Released
Status in “partman-target” source package in Precise:
  In Progress

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/mythbuntu/+bug/992241/+subscriptions


References