Return-Path: Received: from tansi.org (ns.km10532-04.keymachine.de [87.118.102.195]) by mail.saout.de (Postfix) with ESMTP for ; Mon, 26 Oct 2009 01:07:42 +0100 (CET) Received: from gatewagner.dyndns.org (84-74-164-239.dclient.hispeed.ch [84.74.164.239]) by tansi.org (Postfix) with ESMTP id 935114250006 for ; Mon, 26 Oct 2009 01:07:41 +0100 (CET) Date: Mon, 26 Oct 2009 01:07:42 +0100 From: Arno Wagner Message-ID: <20091026000742.GA21815@tansi.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: [dm-crypt] Encrypted swap: reding key from /dev/urandom fails List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de Hi, I just tried to move my fileserver from no swap to encrypted swap. Sadly, reading the key from /dev/urandom failed for reasons I do not understand: ~# cryptsetup -s 64 --key-file=/dev/urandom create swap0 /dev/sda3 Command failed: device-mapper: reload ioctl failed: Invalid argument ~# cryptsetup --version cryptsetup 1.0.7 Inputing the key manually works. Is this a known problem with 1.0.7? Kernel was 2.6.30.7 Arno -- Arno Wagner, Dr. sc. techn., Dipl. Inform., CISSP -- Email: arno@wagner.name GnuPG: ID: 1E25338F FP: 0C30 5782 9D93 F785 E79C 0296 797F 6B50 1E25 338F ---- Cuddly UI's are the manifestation of wishful thinking. -- Dylan Evans If it's in the news, don't worry about it. The very definition of "news" is "something that hardly ever happens." -- Bruce Schneier