[Bug 584067] Re: setting up swap encryption from alternate CD uses unstable device nodes

zatoichi0 584067 at bugs.launchpad.net
Wed Feb 1 00:12:36 UTC 2012


*** This bug is a duplicate of bug 474258 ***
    https://bugs.launchpad.net/bugs/474258

** This bug has been marked a duplicate of bug 474258
   Extremely dangerous! cryptswap killed my partition

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

Title:
  setting up swap encryption from alternate CD uses unstable device
  nodes

Status in Release Notes for Ubuntu:
  New
Status in “debian-installer” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: ubiquity

  i used Lucid's alternate kubuntu CD. for the first time, i wanted to setup root and swap encryption. for root, i used an encryption that of course requires a passphrase. for swap, i used a random key generated on boot time. the installer wrote an /etc/crypttab that contains this info. 
  for fixed partition encryptions, like my root, using UUIDs is possible, and is what the installer used.
  but swap will be reformatted on each boot, hence, the UUID will change after every boot, so the installer used the device node (/dev/sdb3) to identify it in crypttab.
  the catch? my devices change on each boot, sometimes it's sdb3, sometimes sda3, others sdc3.
  the result? partition number 3 on another hard disk was used as swap, and got wiped out.
  suggestion, the installer uses a /dev/disk/by-id in case of swap encryption.
  i consider this bug VERY serious as to what results can come from it.
  thank you.

  ProblemType: Bug
  DistroRelease: Ubuntu 10.04
  Package: ubiquity 2.2.24
  ProcVersionSignature: Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2
  Uname: Linux 2.6.32-22-generic i686
  NonfreeKernelModules: nvidia
  Architecture: i386
  Date: Sat May 22 06:12:02 2010
  EcryptfsInUse: Yes
  InstallationMedia: Kubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100427)
  ProcEnviron:
   LANGUAGE=
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: ubiquity

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-release-notes/+bug/584067/+subscriptions




More information about the foundations-bugs mailing list