All of lore.kernel.org
 help / color / mirror / Atom feed
From: Milan Broz <gmazyland@gmail.com>
To: "Thomas Bächler" <thomas@archlinux.org>, dm-crypt@saout.de
Subject: Re: [dm-crypt] libcryptsetup kernel feature detection fails on boot
Date: Thu, 24 Jul 2014 22:20:51 +0200	[thread overview]
Message-ID: <53D16AA3.9070401@gmail.com> (raw)
In-Reply-To: <53CF681B.8030500@gmail.com>

On 07/23/2014 09:45 AM, Milan Broz wrote:
> On 23.7.2014 0:36, Thomas Bächler wrote:
>> Since cryptsetup 1.6.5, libcryptsetup fails to detect the kernel's
>> features on boot. In particular, whenever the dm-crypt module is not
>> loaded before configuring a mapping with libcryptsetup, the
>> allow_discards option is not used.
> 
> Hm, yes, that's possible... dmcrypt is now needed only on activation
> (previaously it was loaded earlier perhaps).
> 
> Well, the workaround for now is probably to always load dmcrypt module,
> I'll try to fix it soon.

It is fixed in devel git now. Thanks.

(The main problem with detection of features is that without device-mapper
target module loaded there is no way to get the version. And using only
kernel version is not enough, e.g. RHEL systems often backports features.)

Milan

      reply	other threads:[~2014-07-24 20:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-22 22:36 [dm-crypt] libcryptsetup kernel feature detection fails on boot Thomas Bächler
2014-07-23  7:45 ` Milan Broz
2014-07-24 20:20   ` Milan Broz [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53D16AA3.9070401@gmail.com \
    --to=gmazyland@gmail.com \
    --cc=dm-crypt@saout.de \
    --cc=thomas@archlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.