Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 120802

Summary: sys-fs/cryptsetup-0.1-r2 fails with newer device-mapper
Product: Gentoo Linux Reporter: Christian Rubbert <ceed>
Component: Current packagesAssignee: Benjamin Smee (strerror) (RETIRED) <strerror>
Status: RESOLVED FIXED    
Severity: normal CC: bugreports
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=344313
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 124928    
Bug Blocks:    

Description Christian Rubbert 2006-01-29 02:36:23 UTC
Portage's cryptsetup needs libdevmapper.so.1.01 to be able to read the maps, otherwise crypted images will not mount with the error:

"Command failed: Invalid argument"

There seems to be a cryptsetup snapshot which adresses this issue, please see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=344313

As a temporary fix, masking '>=sys-fs/device-mapper-1.02.02' helps.

This might affekt cryptsetup-luks as well, I have not tested it.
Comment 2 Benjamin Smee (strerror) (RETIRED) gentoo-dev 2006-02-02 06:59:05 UTC
in cvs, thanks for reporting
Comment 3 Stefan Tittel 2006-03-15 15:33:14 UTC
This problem still exists in the AMD64 stable branch. device-mapper-1.02.02 has been marked stable on AMD64, however cryptsetup-0.1-r3 is still masked and cryptsetup-0.1-r2 (the current stable lead) doesn't work with device-mapper-1.02 versions as described.

The solution is quite easy: Mark cryptsetup-0.1-r3 stable or mask device-mapper-1.02.02 again. Please reopen this bug (I don't have sufficient permissions for this).
Comment 4 Benjamin Smee (strerror) (RETIRED) gentoo-dev 2006-03-16 01:43:41 UTC
reopenned. AMD plesae mark stable as per bug #124928
Comment 5 Simon Stelling (RETIRED) gentoo-dev 2006-06-23 08:43:46 UTC
only alpha is left on bug 124928, removing amd64
Comment 6 Benjamin Smee (strerror) (RETIRED) gentoo-dev 2006-10-12 04:21:27 UTC
fixed