[dm-crypt] unknown version

Julien Lepiller julien at lepiller.eu
Sat Apr 23 15:17:34 CEST 2016


On Sat, 23 Apr 2016 10:45:52 +0200
Milan Broz <gmazyland at gmail.com> wrote:

> On 04/22/2016 02:01 PM, Julien Lepiller wrote:
> > Hello,
> > 
> > I am trying to use cryptsetup with a disk that has been encrypted
> > some time ago. I'm using Linux From Scratch, and built cryptsetup
> > myself. What I see when I run luksOpen is the following (all
> > commands are run as root) :
> > 
> > # cryptsetup 1.7.1 processing "cryptsetup --debug luksOpen /dev/sda1
> > hdd"  
> ...
> > # Activating volume hdd [keyslot -1] using [none] passphrase.
> > # dm version   OF   [16384] (*1)
> > # device-mapper: version ioctl on  failed: Permission denied  
> 
> This looks like you cannot access something (/dev/mapper/control?)
> and then it just fails because of this initial failure.
> 
> Do you have SElinux switched on?
> 
> What is output of "dmsetup version" - does it work?
> 
> Milan

Thank you for your answer, the output of the command is:

Library version:   1.02.121 (2016-04-01)
Driver version:    4.34.0

Selinux is switched off (I tried to use it, so I have the libraries,
but it just does not work at all), and their is nothing in journald.


More information about the dm-crypt mailing list