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

Marcus Tomlinson marcus.tomlinson at canonical.com
Thu Mar 5 11:50:38 UTC 2020


This release of Ubuntu is no longer receiving maintenance updates. If
this is still an issue on a maintained version of Ubuntu please let us
know.

** Changed in: ubiquity (Ubuntu)
       Status: Triaged => Incomplete

-- 
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:
  Incomplete

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