Opening LUKS encrypted partition fails

Bug #117553 reported by Jamie Lokier
2
Affects Status Importance Assigned to Milestone
cryptsetup (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: cryptsetup

This is for version 2:1.0.4+svn29-1ubuntu1 (Gutsy latest at the time of writing).

There's a couple of places in /lib/cryptsetup/cryptdisks.functions which use $CRYPTCMD, like this:

    $CRYPTCMD $PARAMS luksOpen $src $dst <&1

However, $CRYPTCMD is not defined anywhere. (It was defined in older versions).

As a result, the command is simply "$PARAMS luksOpen..." and of course it fails with a command-not-found error.

The fix is to replace all occurrences of $CRYPTCMD with "cryptsetup" in /lib/cryptsetup/cryptdisks.functions, which is consistent with the rest of it.

Revision history for this message
Reinhard Tartler (siretart) wrote :

Thanks for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 115617 and is being marked as such. Please feel free to report any other bugs you may find.

Revision history for this message
Jamie Lokier (jamie-shareable) wrote :

Yes it's a duplicate. I wonder why the original bug report does not show up when searching launchpad for the "cryptsetup" project, or even when searching Ubuntu in Launchpad for bugs containing the word "cryptsetup". I wouldn't have submitted a duplicate if I'd been able to find the original! Thanks for responding, anyway.

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.