[pkg-cryptsetup-devel] Bug#579932: cryptsetup: clarify /dev/random hang in README.Debian

Brice Goglin bgoglin at debian.org
Sun May 2 12:16:01 UTC 2010


Package: cryptsetup
Version: 2:1.1.0-2.1
Severity: wishlist

Hello,

I started encrypting my swap today.
I followed /usr/share/doc/cryptsetup/README.Debian.gz
but it didn't work. It hung at boot while creating the encrypted
device and I had to ctrl-c. Talking to some people and reading
some webpages, it seems to be caused by /dev/random not generating
enough entropy. And, as suggested in the README, changing to
/dev/urandom fixed the problem.
I think this should be explained much better in the README:
* say that it would hang (I didn't write the exact message but it may help)
* maybe say that touching the mouse/keyboard may generate entropy,
  making it clear that it's an entropy problem?

thanks,
Brice

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.34-rc6=topinambour (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=fr_FR at euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages cryptsetup depends on:
ii  dmsetup                      2:1.02.45-1 The Linux Kernel Device Mapper use
ii  libc6                        2.10.2-6    Embedded GNU C Library: Shared lib
ii  libdevmapper1.02.1           2:1.02.45-1 The Linux Kernel Device Mapper use
ii  libpopt0                     1.15-1      lib for parsing cmdline parameters
ii  libuuid1                     2.16.2-0    Universally Unique ID library

cryptsetup recommends no packages.

Versions of packages cryptsetup suggests:
ii  dosfstools                    3.0.9-1    utilities for making and checking 
ii  initramfs-tools [linux-initra 0.93.4     tools for generating an initramfs
ii  udev                          151-3      /dev/ and hotplug management daemo

-- no debconf information





More information about the pkg-cryptsetup-devel mailing list