[pkg-cryptsetup-devel] Bugreport: cryptsetup package

Jonas Meurer jonas at freesources.org
Tue Aug 5 10:34:40 UTC 2008


On 05/08/2008 Yusuf Iskenderoglu wrote:
> Hello,

Hey Yusuf,

> I am quite unsure if you are the right person to bugreport a problem in
> cryptsetup 2:1.0.6-4 from debian/sid, however, maybe you can point me
> out to the right person, if it is not the case.

I am one of the maintainers of cryptsetup, so contacting me isn't wrong.
But better would be the cryptsetup maintainers mailinglist at
pkg-cryptsetup-devel at lists.alioth.debian.org. For bugreports against
cryptsetup in debian it would be even better to use the bugtacking
system at bugs.debian.org. You should have the tool 'reportbug'
available on your system. Simply invoke 'reportbug cryptsetup' and
follow the instructions it gives to you.
Tracking bugs in a bugtracking system has many advantages over private
mail. The maintainer cannot forget about them, they are publically
available to everyone, duplicates can be merged etc.

Feel free to resend this mail as a bugreport against cryptsetup. I think
that severity important is appropriate. Maybe even severity grave.

> The problem is:
> 
> /lib/cryptsetup/cryptdisks.function is broken in the method do_noluks()
> 
> ...
> 
> You see what is happening to $PARAMS? 
> In the beginning, there is a keyfile in my configuration, so the first
> line adds a keyfile. however, later that keyfile argument gets replaced
> and modified

you're right, the --key-file argument get's passed twice to cryptsetup.
That indeed is a bug. The fix should be easy.

> moreover, this does not work, the created device cannot be mounted.
> 
> As a workaround, I commented out the if-loop, to make it work on my
> system. 

Could you try to comment out the first line which set's PARAMS instead:

> PARAMS=" $PARAMS --key-file=$key"

That should be the proper fix. Please report back whether that works for
you as well.

greetings,
 jonas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20080805/fa6f8ded/attachment.pgp 


More information about the pkg-cryptsetup-devel mailing list