[Bug 1097890] Re: encrypted swap reused from previous install when wiping and reinstalling

Dmitrijs Ledkovs launchpad at surgut.co.uk
Wed Apr 17 08:37:12 UTC 2013


By default in partman we do specify to reuse the swap partition if one exists on the system already.
The fact that server cd != desktop cd case is a little surprising to me, unless there are further ubiquity specific delta there.

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

Title:
  encrypted swap reused from previous install when wiping and
  reinstalling

Status in “ubiquity” package in Ubuntu:
  Triaged

Bug description:
  I've been able to reproduce this easily on both amd64 and panda, so it
  does not appear to depend on arch.

  1. install raring with lvm+crypt selected
  2. once that install is complete, reinstall using the same drive/system, this time select to have it "Erase Ubuntu and reinstall"
  3. once the install is complete, reboot to the newly installed system and run 'cat /proc/swaps'

  It would be expected to see /dev/sda? here due to automatic creation
  of a swap partition at install time.  However after installing with
  lvm+crypt, it seems to reuse the old encrypted volume from the
  previous install (/dev/dm-0).

  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: ubiquity (not installed)
  ProcVersionSignature: Ubuntu 3.7.0-7.15-generic 3.7.0
  Uname: Linux 3.7.0-7-generic x86_64
  ApportVersion: 2.8-0ubuntu1
  Architecture: amd64
  Date: Wed Jan  9 12:19:00 2013
  EcryptfsInUse: Yes
  InstallCmdLine: file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash -- maybe-ubiquity
  InstallationDate: Installed on 2013-01-09 (0 days ago)
  InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20130109)
  MarkForUpload: True
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: ubiquity
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1097890/+subscriptions




More information about the foundations-bugs mailing list