From: Milan Broz <gmazyland@gmail.com>
To: dm-crypt@saout.de
Subject: Re: [dm-crypt] Kernel update: "Failed to access temporary keystore device."
Date: Sun, 03 Aug 2014 21:41:46 +0200 [thread overview]
Message-ID: <53DE907A.1020805@gmail.com> (raw)
In-Reply-To: <20140803000116.GA17450@tansi.org>
On 08/03/2014 02:01 AM, Arno Wagner wrote:
>> Can you paste the command with added --debug?
>
> See below, both for 1.6.1 and 1.6.5, which unloaks without
> error (well, without error that gets propagated to the user),
> but never creates the entry in /dev/mapper/. Likely
> a bug in 1.6.5, as it probably should tell the user that
> things went wrong.
The 1.6.5 uses different code here (it reads device directly
when decrypting keyslot) and it need more user friendly error
messages here, my bad...
Anyway, seems like in both cases read of device really returns
I/O error while reading keyslot area.
Could you send me strace of the command?
(No need to enter correct password at all.)
BTW if not already there, it is another nice item to FAQ
- warn people that strace and similar debugging output can
easily leak keys or passwords. And yes, people sometimes
post these to lists :)
>
>> Can you try to boot Debian provided kernel - does it work?
>
> Not easily. But it does work with 3.10.51, so the 3.2.x that
> Debian stable is stuck at should probably work too.
>
> Come to think of it, I have /usr/src/linux pointing to a 3.4.67
> source tree, as gcc kernel includes in Debian stable are really
> messed up with 3.5.x and later and I failed to fix it manually.
> (Sometimes I really wonder what the Kernel devs are thinking or
> whether they are thinking at all...) Could that be the problem?
Don't think so... kernel should use own includes while compiling
and what's failing here is just plain read (I think).
> I usually run testing, except that I really do not want systemd,
> so until I am sure I can do that update without getting that
> atrocity, no update to jessy for me.
There is a lot of discussion about this on debian devel,
IIRC systemd-shim is possible the way to avoid systemd as init.
(dunno if this will be supported).
> Anyways, if we do not figure this one out, I will just stay
> with 3.10.x, it is a longterm-kernel after all. I just
> tried 3.14.15 because I have some network issues and wanted to
> see whether they may be gone with a newer kernel.
Well, it would be interesting to find what's wrong here.
You are using MD device - what kind of raid is that?
(lsblk -t can say more info about storage stack topology as well).
Milan
next prev parent reply other threads:[~2014-08-03 19:41 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-01 3:57 [dm-crypt] Kernel update: "Failed to access temporary keystore device." Arno Wagner
2014-08-01 6:20 ` Milan Broz
2014-08-03 0:01 ` Arno Wagner
2014-08-03 19:41 ` Milan Broz [this message]
2014-08-04 1:13 ` Arno Wagner
2014-08-04 5:50 ` Yves-Alexis Perez
2014-08-04 5:53 ` Arno Wagner
2014-08-04 6:00 ` Yves-Alexis Perez
2014-08-20 23:40 ` Arno Wagner
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=53DE907A.1020805@gmail.com \
--to=gmazyland@gmail.com \
--cc=dm-crypt@saout.de \
/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.