cryptdisks doesn't check whether mapped partition is a swap partition

Bug #509952 reported by Flávio Etrusco
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cryptsetup (Ubuntu)
New
Undecided
Unassigned
Nominated for Lucid by Flávio Etrusco

Bug Description

Binary package hint: cryptsetup

I changed my partition table and cryptsetup (i.e. /etc/cryptdisks) overwrote and corrupted an ext4 filesystem/partition.
cryptdisks should map partitions by UUID (I'll file another bug about this towards cryptsetup) and should check whether the partitions are unused swap partitions.

ProblemType: Bug
Architecture: i386
Date: Wed Jan 20 00:22:37 2010
DistroRelease: Ubuntu 10.04
EcryptfsInUse: Yes
NonfreeKernelModules: fglrx
Package: cryptsetup 2:1.1.0~rc2-1ubuntu9
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-10.14-generic
SourcePackage: cryptsetup
Tags: lucid
Uname: Linux 2.6.32-10-generic i686
crypttab:
 # <target name> <source device> <key file> <options>
 #cryptswap1 /dev/sda5 /dev/urandom swap,cipher=aes-cbc-essiv:sha256

Revision history for this message
Flávio Etrusco (etrusco) wrote :
Revision history for this message
Flávio Etrusco (etrusco) wrote :

crypttab included.
Of course I commented out the entries in fstab and crypttab only after the disaster...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.