Your message dated Wed, 28 Sep 2005 13:59:39 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Bug#330169: util-linux: losetup cannot use "deflate" as crypto
cipher
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 26 Sep 2005 13:37:25 +0000
>From [EMAIL PROTECTED] Mon Sep 26 06:37:25 2005
Return-path: <[EMAIL PROTECTED]>
Received: from master.debian.org [146.82.138.7]
by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
id 1EJtAb-0000Wd-00; Mon, 26 Sep 2005 06:37:25 -0700
Received: from 81-178-234-226.dsl.pipex.com (rod.lan) [81.178.234.226]
by master.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1EJtAZ-0002Rj-00; Mon, 26 Sep 2005 08:37:23 -0500
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Nick Maynard <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: util-linux: losetup cannot use "deflate" as crypto cipher
X-Mailer: reportbug 3.8
Date: Mon, 26 Sep 2005 14:37:21 +0100
X-Debbugs-Cc: [EMAIL PROTECTED]
Message-Id: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level:
X-Spam-Status: No, hits=-9.0 required=4.0 tests=BAYES_00,HAS_PACKAGE,
OUR_MTA_MSGID,X_DEBBUGS_CC autolearn=ham
version=2.60-bugs.debian.org_2005_01_02
Package: util-linux
Version: 2.12p-4
Severity: normal
Attempting to use the "deflate" crypto cipher with the losetup program
fails. AES works as expected:
rod:/home/nick# dd if=/dev/zero of=/tmp/compressedFS bs=1024
count=102400
102400+0 records in
102400+0 records out
104857600 bytes transferred in 4.801703 seconds (21837586 bytes/sec)
rod:/home/nick# losetup -e aes -k 256 /dev/loop0 /tmp/compressedFS
Password:
rod:/home/nick# losetup -d /dev/loop0
rod:/home/nick# losetup -e deflate /dev/loop0 /tmp/compressedFS
Password:
ioctl: LOOP_SET_STATUS: Invalid argument
I've tested this on a sarge (both module-based and compiled-in) and an
unstable system with the same results.
The most I can find on this problem is an answerless question on the
linux-crypto list:
http://mail.nl.linux.org/linux-crypto/2004-05/msg00030.html
I can't find any more information to solve this problem, or indeed
determine if it's due to user error.
Thanks,
Nick
-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-386
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages util-linux depends on:
ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an
ii libncurses5 5.4-4 Shared libraries for terminal hand
ii libuuid1 1.37-2sarge1 universally unique id library
ii slang1a-utf8 1.4.9dbs-8 The S-Lang programming library wit
ii zlib1g 1:1.2.2-4.sarge.2 compression library - runtime
-- no debconf information
---------------------------------------
Received: (at 330169-done) by bugs.debian.org; 28 Sep 2005 11:58:12 +0000
>From [EMAIL PROTECTED] Wed Sep 28 04:58:12 2005
Return-path: <[EMAIL PROTECTED]>
Received: from mx01.hinterhof.net [83.137.99.114]
by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
id 1EKaZg-0001kO-00; Wed, 28 Sep 2005 04:58:12 -0700
Received: from localhost (localhost [127.0.0.1])
by mx01.hinterhof.net (Postfix) with ESMTP id BB1FA11262;
Wed, 28 Sep 2005 13:58:54 +0200 (CEST)
Received: from dp.roam.decl.org (p54A78992.dip0.t-ipconnect.de [84.167.137.146])
(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
(Client CN "dp.roam.decl.org", Issuer "ca.decl.org" (verified OK))
by mx01.hinterhof.net (Postfix) with ESMTP id 398D910E17;
Wed, 28 Sep 2005 13:58:53 +0200 (CEST)
Received: by dp.roam.decl.org (Postfix, from userid 1000)
id CAD46E15AE; Wed, 28 Sep 2005 13:59:39 +0200 (CEST)
Date: Wed, 28 Sep 2005 13:59:39 +0200
From: Max Vozeler <[EMAIL PROTECTED]>
To: Nick Maynard <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: Re: Bug#330169: util-linux: losetup cannot use "deflate" as crypto
cipher
Message-ID: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level:
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER
autolearn=no version=2.60-bugs.debian.org_2005_01_02
Hi Nick,
On Mon, Sep 26, 2005 at 02:37:21PM +0100, Nick Maynard wrote:
> Attempting to use the "deflate" crypto cipher with the losetup program
> fails. AES works as expected:
The problem is that "deflate" is not a CryptoAPI cipher module, but
a "compress" type module. Those modules don't provide the functions
necessary for use with the loopback driver and losetup is supposed to
fail when trying to use them.
I'm closing the bug because that behaviour is expected for losetup.
Perhaps you could look into squashfs if r/o access is sufficient for
your use. Unfortunately I don't know of any transparently compressing
r/w filesystems on Linux.
cheers,
Max
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]