From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-x242.google.com (mail-wm0-x242.google.com [IPv6:2a00:1450:400c:c09::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.server123.net (Postfix) with ESMTPS for ; Sat, 23 Apr 2016 10:45:55 +0200 (CEST) Received: by mail-wm0-x242.google.com with SMTP id w143so8332993wmw.3 for ; Sat, 23 Apr 2016 01:45:55 -0700 (PDT) References: <20160422140149.37e9ba4f@raxacoricophallapatorius> From: Milan Broz Message-ID: <571B3640.3020808@gmail.com> Date: Sat, 23 Apr 2016 10:45:52 +0200 MIME-Version: 1.0 In-Reply-To: <20160422140149.37e9ba4f@raxacoricophallapatorius> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [dm-crypt] unknown version List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Julien Lepiller , dm-crypt@saout.de 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