From: Milan Broz <gmazyland@gmail.com>
To: Guido Trentalancia <guido@trentalancia.net>, dm-crypt@saout.de
Subject: Re: [dm-crypt] Cryptsetup (>= 1.7.0) luksOpen/luksClose gets stuck after open/close
Date: Thu, 7 Apr 2016 21:24:15 +0200 [thread overview]
Message-ID: <5706B3DF.50509@gmail.com> (raw)
In-Reply-To: <1460054876.32268.9.camel@trentalancia.net>
On 04/07/2016 08:47 PM, Guido Trentalancia wrote:
> Hello.
>
> My first message contains the debug information (last part of the
> strace output).
No, it does not. Please post debug information and NOT strace as
I described in the first reply...
Just add --debug to cryptsetup command and you have it (without strace).
It contains a lot of info that is needed to debug almost all kind of cryptsetup problem.
You also missed request to post distro version here.
Do you compile cryptsetup yourself?
Anyway, I am almost sure you are missing the udev dmsetup udevcomplete
call in udev, this is very common error.
> If you need other information, please let me know. Obviously I cannot
> post gdb output as the program does not crash, it simply gets stuck.
Strace or gdb info is not needed if not requested, --debug log is usually
enough to see what is going on.
And did you try that "dmsetup udevcomplete_all" I already suggested?
(once it is "stuck", run from another terminal - is should finish that command)
> The two versions show a different behaviour (the working version reads
> SELinux configuration, the broken version opens /dev/urandom and gets
> stuck), so the code must have changed.
I do not know about any change there.
Running code depends on compilation parameters, some basic info how code
behaves is in the debug log I am still waiting for...
Milan
next prev parent reply other threads:[~2016-04-07 19:24 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-07 14:26 [dm-crypt] Cryptsetup (>= 1.7.0) luksOpen/luksClose gets stuck after open/close Guido Trentalancia
2016-04-07 16:23 ` Milan Broz
2016-04-07 16:55 ` Guido Trentalancia
2016-04-07 17:49 ` Guido Trentalancia
2016-04-07 18:06 ` Milan Broz
2016-04-07 18:47 ` Guido Trentalancia
2016-04-07 19:24 ` Milan Broz [this message]
2016-04-08 10:28 ` Guido Trentalancia
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=5706B3DF.50509@gmail.com \
--to=gmazyland@gmail.com \
--cc=dm-crypt@saout.de \
--cc=guido@trentalancia.net \
/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.