From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lepiller.eu (dau94-h03-89-91-205-84.dsl.sta.abo.bbox.fr [89.91.205.84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.server123.net (Postfix) with ESMTPS for ; Sat, 23 Apr 2016 15:18:00 +0200 (CEST) Received: from polymos (198.186.9.109.rev.sfr.net [109.9.186.198]) by lepiller.eu (Postfix) with ESMTPSA id 1C8E14759E for ; Sat, 23 Apr 2016 15:17:40 +0200 (CEST) Date: Sat, 23 Apr 2016 15:17:34 +0200 From: Julien Lepiller Message-ID: <20160423151734.57ff2a5d@polymos> In-Reply-To: <571B3640.3020808@gmail.com> References: <20160422140149.37e9ba4f@raxacoricophallapatorius> <571B3640.3020808@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dm-crypt] unknown version List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de On Sat, 23 Apr 2016 10:45:52 +0200 Milan Broz 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.