All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 112631] New: Cannot open encrypted Luks root filesystem
@ 2016-02-17 20:08 bugzilla-daemon
  2016-02-17 20:10 ` [Bug 112631] " bugzilla-daemon
                   ` (29 more replies)
  0 siblings, 30 replies; 31+ messages in thread
From: bugzilla-daemon @ 2016-02-17 20:08 UTC (permalink / raw)
  To: linux-ext4

https://bugzilla.kernel.org/show_bug.cgi?id=112631

            Bug ID: 112631
           Summary: Cannot open encrypted Luks root filesystem
           Product: File System
           Version: 2.5
    Kernel Version: 4.1.18
          Hardware: x86-64
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: high
          Priority: P1
         Component: ext4
          Assignee: fs_ext4@kernel-bugs.osdl.org
          Reporter: alex.theoto@gmail.com
        Regression: No

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 31+ messages in thread

* [Bug 112631] Cannot open encrypted Luks root filesystem
  2016-02-17 20:08 [Bug 112631] New: Cannot open encrypted Luks root filesystem bugzilla-daemon
@ 2016-02-17 20:10 ` bugzilla-daemon
  2016-02-17 20:22 ` bugzilla-daemon
                   ` (28 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: bugzilla-daemon @ 2016-02-17 20:10 UTC (permalink / raw)
  To: linux-ext4

https://bugzilla.kernel.org/show_bug.cgi?id=112631

--- Comment #1 from alex.theoto <alex.theoto@gmail.com> ---
I cannot boot my system.
The root is encrypted with Luks and after booting and enter my password I get
the following error:

    Check that kernel supports aes-xts-plain64 cipher (check syslog for more
info)

and prompts me again the password.

Downgrading into 4.1.17, cryptsetup works fine.

Distro: ArchLinux

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 31+ messages in thread

* [Bug 112631] Cannot open encrypted Luks root filesystem
  2016-02-17 20:08 [Bug 112631] New: Cannot open encrypted Luks root filesystem bugzilla-daemon
  2016-02-17 20:10 ` [Bug 112631] " bugzilla-daemon
@ 2016-02-17 20:22 ` bugzilla-daemon
  2016-02-17 20:30 ` bugzilla-daemon
                   ` (27 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: bugzilla-daemon @ 2016-02-17 20:22 UTC (permalink / raw)
  To: linux-ext4

https://bugzilla.kernel.org/show_bug.cgi?id=112631

alex.theoto <alex.theoto@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|ext4                        |ecryptfs

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 31+ messages in thread

* [Bug 112631] Cannot open encrypted Luks root filesystem
  2016-02-17 20:08 [Bug 112631] New: Cannot open encrypted Luks root filesystem bugzilla-daemon
  2016-02-17 20:10 ` [Bug 112631] " bugzilla-daemon
  2016-02-17 20:22 ` bugzilla-daemon
@ 2016-02-17 20:30 ` bugzilla-daemon
  2016-02-19 18:52 ` bugzilla-daemon
                   ` (26 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: bugzilla-daemon @ 2016-02-17 20:30 UTC (permalink / raw)
  To: linux-ext4

https://bugzilla.kernel.org/show_bug.cgi?id=112631

alex.theoto <alex.theoto@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|ecryptfs                    |Other

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 31+ messages in thread

* [Bug 112631] Cannot open encrypted Luks root filesystem
  2016-02-17 20:08 [Bug 112631] New: Cannot open encrypted Luks root filesystem bugzilla-daemon
                   ` (2 preceding siblings ...)
  2016-02-17 20:30 ` bugzilla-daemon
@ 2016-02-19 18:52 ` bugzilla-daemon
  2016-02-20  2:28 ` bugzilla-daemon
                   ` (25 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: bugzilla-daemon @ 2016-02-19 18:52 UTC (permalink / raw)
  To: linux-ext4

https://bugzilla.kernel.org/show_bug.cgi?id=112631

Karl Sponser <karl.sponser@web.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |karl.sponser@web.de

--- Comment #2 from Karl Sponser <karl.sponser@web.de> ---
I can confirm the problem on Fedora ARM with the RPI Kernel 4.1.18 (previous
kernels worked). It's not possible to open a luks container nor format a new
device:



# cryptsetup luksOpen /dev/vg1/test1 luks-test1
Enter passphrase for /dev/vg1/test1:
Failed to setup dm-crypt key mapping for device /dev/vg1/test1.
Check that kernel supports aes-xts-plain64 cipher (check syslog for more info).



# cryptsetup luksFormat /dev/vg1/test2
WARNING!
========
This will overwrite data on /dev/vg1/test2 irrevocably.
Are you sure? (Type uppercase yes): YES
Enter passphrase:
Verify passphrase:
Failed to setup dm-crypt key mapping for device /dev/vg1/test2.
Check that kernel supports aes-xts-plain64 cipher (check syslog for more info). 



Even if the message tells to check syslog for more information, there's no
entry in /var/log/messages nor in dmesg output.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 31+ messages in thread

* [Bug 112631] Cannot open encrypted Luks root filesystem
  2016-02-17 20:08 [Bug 112631] New: Cannot open encrypted Luks root filesystem bugzilla-daemon
                   ` (3 preceding siblings ...)
  2016-02-19 18:52 ` bugzilla-daemon
@ 2016-02-20  2:28 ` bugzilla-daemon
  2016-02-20 10:15 ` bugzilla-daemon
                   ` (24 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: bugzilla-daemon @ 2016-02-20  2:28 UTC (permalink / raw)
  To: linux-ext4

https://bugzilla.kernel.org/show_bug.cgi?id=112631

Andreas Amann <andreas.amann@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andreas.amann@gmx.de

--- Comment #3 from Andreas Amann <andreas.amann@gmx.de> ---
I have the same problem. Bisection leads to the following commit:

commit 0571ba52a19e18a1c20469454231eef681cb1310
Author: Herbert Xu <herbert@gondor.apana.org.au>
Date:   Wed Dec 30 11:47:53 2015 +0800

    crypto: af_alg - Disallow bind/setkey/... after accept(2)

    [ Upstream commit c840ac6af3f8713a71b4d2363419145760bd6044 ]

    Each af_alg parent socket obtained by socket(2) corresponds to a
    tfm object once bind(2) has succeeded.  An accept(2) call on that
    parent socket creates a context which then uses the tfm object.

    Therefore as long as any child sockets created by accept(2) exist
    the parent socket must not be modified or freed.

    This patch guarantees this by using locks and a reference count
    on the parent socket.  Any attempt to modify the parent socket will
    fail with EBUSY.

    Cc: stable@vger.kernel.org
    Reported-by: Dmitry Vyukov <dvyukov@google.com>
    Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
    Signed-off-by: Sasha Levin <sasha.levin@oracle.com>

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 31+ messages in thread

* [Bug 112631] Cannot open encrypted Luks root filesystem
  2016-02-17 20:08 [Bug 112631] New: Cannot open encrypted Luks root filesystem bugzilla-daemon
                   ` (4 preceding siblings ...)
  2016-02-20  2:28 ` bugzilla-daemon
@ 2016-02-20 10:15 ` bugzilla-daemon
  2016-02-20 18:46 ` bugzilla-daemon
                   ` (23 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: bugzilla-daemon @ 2016-02-20 10:15 UTC (permalink / raw)
  To: linux-ext4

https://bugzilla.kernel.org/show_bug.cgi?id=112631

Manu Bourguin <kernel@chezmanu.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kernel@chezmanu.eu

--- Comment #4 from Manu Bourguin <kernel@chezmanu.eu> ---
I confirm same issue, with same error messages with Raspbian Jessie (lite) on
Raspberry Pi 2 (ARMv7).
Everything is OK with 4.1.17, unable to unlock crypted volume since upgrade to
4.1.18.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 31+ messages in thread

* [Bug 112631] Cannot open encrypted Luks root filesystem
  2016-02-17 20:08 [Bug 112631] New: Cannot open encrypted Luks root filesystem bugzilla-daemon
                   ` (5 preceding siblings ...)
  2016-02-20 10:15 ` bugzilla-daemon
@ 2016-02-20 18:46 ` bugzilla-daemon
  2016-02-21 12:00 ` bugzilla-daemon
                   ` (22 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: bugzilla-daemon @ 2016-02-20 18:46 UTC (permalink / raw)
  To: linux-ext4

https://bugzilla.kernel.org/show_bug.cgi?id=112631

Henrique de Moraes Holschuh <hmh@hmh.eng.br> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hmh@hmh.eng.br

--- Comment #5 from Henrique de Moraes Holschuh <hmh@hmh.eng.br> ---
From https://lwn.net/Articles/676552/

Posted Feb 20, 2016 16:33 UTC (Sat) by alonz (subscriber, #815)
Interesting... the code in cryptsetup indeed breaks the assumptions enforced by
this commit (it closed the "tfmfd" before the "opfd", while the code always
assumed the opposite and now enforces it). So it has always been "buggy but
working" – which is no excuse for breaking userspace.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 31+ messages in thread

* [Bug 112631] Cannot open encrypted Luks root filesystem
  2016-02-17 20:08 [Bug 112631] New: Cannot open encrypted Luks root filesystem bugzilla-daemon
                   ` (6 preceding siblings ...)
  2016-02-20 18:46 ` bugzilla-daemon
@ 2016-02-21 12:00 ` bugzilla-daemon
  2016-02-21 12:02 ` bugzilla-daemon
                   ` (21 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: bugzilla-daemon @ 2016-02-21 12:00 UTC (permalink / raw)
  To: linux-ext4

https://bugzilla.kernel.org/show_bug.cgi?id=112631

--- Comment #6 from Henrique de Moraes Holschuh <hmh@hmh.eng.br> ---
Meh, cannot fix the bug metadata.  Someone with appropriate ACLs (maybe the bug
submitter?), please fix:

Regression: yes
Kernel versions affected: 3.10.97, 3.14.61, 3.18.27, 4.1.18, 4.3.6, 4.4.2.

It is assigned to the wrong subsystem (ext4 has nothing to do with this).

Remove "root" from bug title, it breaks any attempt to use cryptsetup.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 31+ messages in thread

* [Bug 112631] Cannot open encrypted Luks root filesystem
  2016-02-17 20:08 [Bug 112631] New: Cannot open encrypted Luks root filesystem bugzilla-daemon
                   ` (7 preceding siblings ...)
  2016-02-21 12:00 ` bugzilla-daemon
@ 2016-02-21 12:02 ` bugzilla-daemon
  2016-02-21 12:55 ` bugzilla-daemon
                   ` (20 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: bugzilla-daemon @ 2016-02-21 12:02 UTC (permalink / raw)
  To: linux-ext4

https://bugzilla.kernel.org/show_bug.cgi?id=112631

--- Comment #7 from da_audiophile@yahoo.com ---
Regarding comment #6, on 4.3.6 I have no issues mounting a luks partition.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 31+ messages in thread

* [Bug 112631] Cannot open encrypted Luks root filesystem
  2016-02-17 20:08 [Bug 112631] New: Cannot open encrypted Luks root filesystem bugzilla-daemon
                   ` (8 preceding siblings ...)
  2016-02-21 12:02 ` bugzilla-daemon
@ 2016-02-21 12:55 ` bugzilla-daemon
  2016-02-21 14:23 ` bugzilla-daemon
                   ` (19 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: bugzilla-daemon @ 2016-02-21 12:55 UTC (permalink / raw)
  To: linux-ext4

https://bugzilla.kernel.org/show_bug.cgi?id=112631

--- Comment #8 from Andreas Amann <andreas.amann@gmx.de> ---
Also just tested 4.4.2 and unlocking works. Apparently the original patch
c840ac6af3f8713a71b4d2363419145760bd6044 is correct for newer kernels (since
4.3?), but fails for older ones.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 31+ messages in thread

* [Bug 112631] Cannot open encrypted Luks root filesystem
  2016-02-17 20:08 [Bug 112631] New: Cannot open encrypted Luks root filesystem bugzilla-daemon
                   ` (9 preceding siblings ...)
  2016-02-21 12:55 ` bugzilla-daemon
@ 2016-02-21 14:23 ` bugzilla-daemon
  2016-02-21 16:12 ` bugzilla-daemon
                   ` (18 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: bugzilla-daemon @ 2016-02-21 14:23 UTC (permalink / raw)
  To: linux-ext4

https://bugzilla.kernel.org/show_bug.cgi?id=112631

--- Comment #9 from Henrique de Moraes Holschuh <hmh@hmh.eng.br> ---
It looks like the kernel change actually requires a newer version of cryptsetup
to work.

cryptsetup 1.6.6 (in Debian stable, for example) is broken (at least on
3.18.27).
cryptsetup 1.7.0 has fixes for this, apparently.

Looks like the change in Linux needs a KCONFIG guard (default?), that distros
can change after they get updated userspace...

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 31+ messages in thread

* [Bug 112631] Cannot open encrypted Luks root filesystem
  2016-02-17 20:08 [Bug 112631] New: Cannot open encrypted Luks root filesystem bugzilla-daemon
                   ` (10 preceding siblings ...)
  2016-02-21 14:23 ` bugzilla-daemon
@ 2016-02-21 16:12 ` bugzilla-daemon
  2016-02-21 16:18 ` [Bug 112631] Cannot open encrypted Luks filesystem. Cruptsetup error bugzilla-daemon
                   ` (17 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: bugzilla-daemon @ 2016-02-21 16:12 UTC (permalink / raw)
  To: linux-ext4

https://bugzilla.kernel.org/show_bug.cgi?id=112631

--- Comment #10 from da_audiophile@yahoo.com ---
Regarding comment #9, Arch Linux ships cryptsetup-1.7.0-1 and when used with
4.1.18-1 does not fix this problem.

Enter passphrase for /dev/md0: 
Failed to setup dm-crypt key mapping for device /dev/md0.
Check that kernel supports aes-xts-plain64 cipher (check syslog for more info).

uname -r
4.1.18-1-lts

pacman -Qs cryptsetup
local/cryptsetup 1.7.0-1 (base)

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 31+ messages in thread

* [Bug 112631] Cannot open encrypted Luks filesystem. Cruptsetup error.
  2016-02-17 20:08 [Bug 112631] New: Cannot open encrypted Luks root filesystem bugzilla-daemon
                   ` (11 preceding siblings ...)
  2016-02-21 16:12 ` bugzilla-daemon
@ 2016-02-21 16:18 ` bugzilla-daemon
  2016-02-21 16:19 ` bugzilla-daemon
                   ` (16 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: bugzilla-daemon @ 2016-02-21 16:18 UTC (permalink / raw)
  To: linux-ext4

https://bugzilla.kernel.org/show_bug.cgi?id=112631

alex.theoto <alex.theoto@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Kernel Version|4.1.18                      |3.10.97, 3.14.61, 3.18.27,
                   |                            |4.1.18, 4.3.6, 4.4.2
         Regression|No                          |Yes
            Summary|Cannot open encrypted Luks  |Cannot open encrypted Luks
                   |root filesystem             |filesystem. Cruptsetup
                   |                            |error.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 31+ messages in thread

* [Bug 112631] Cannot open encrypted Luks filesystem. Cruptsetup error.
  2016-02-17 20:08 [Bug 112631] New: Cannot open encrypted Luks root filesystem bugzilla-daemon
                   ` (12 preceding siblings ...)
  2016-02-21 16:18 ` [Bug 112631] Cannot open encrypted Luks filesystem. Cruptsetup error bugzilla-daemon
@ 2016-02-21 16:19 ` bugzilla-daemon
  2016-02-21 16:20 ` bugzilla-daemon
                   ` (15 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: bugzilla-daemon @ 2016-02-21 16:19 UTC (permalink / raw)
  To: linux-ext4

https://bugzilla.kernel.org/show_bug.cgi?id=112631

--- Comment #11 from alex.theoto <alex.theoto@gmail.com> ---
(In reply to Henrique de Moraes Holschuh from comment #6)
> Meh, cannot fix the bug metadata.  Someone with appropriate ACLs (maybe the
> bug submitter?), please fix:
> 
> Regression: yes
> Kernel versions affected: 3.10.97, 3.14.61, 3.18.27, 4.1.18, 4.3.6, 4.4.2.
> 
> It is assigned to the wrong subsystem (ext4 has nothing to do with this).
> 
> Remove "root" from bug title, it breaks any attempt to use cryptsetup.

Thank you. I'm new here. If there is something wrong, please tell me again.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 31+ messages in thread

* [Bug 112631] Cannot open encrypted Luks filesystem. Cruptsetup error.
  2016-02-17 20:08 [Bug 112631] New: Cannot open encrypted Luks root filesystem bugzilla-daemon
                   ` (13 preceding siblings ...)
  2016-02-21 16:19 ` bugzilla-daemon
@ 2016-02-21 16:20 ` bugzilla-daemon
  2016-02-21 16:22 ` bugzilla-daemon
                   ` (14 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: bugzilla-daemon @ 2016-02-21 16:20 UTC (permalink / raw)
  To: linux-ext4

https://bugzilla.kernel.org/show_bug.cgi?id=112631

alex.theoto <alex.theoto@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Kernel Version|3.10.97, 3.14.61, 3.18.27,  |3.10.97, 3.14.61, 3.18.27,
                   |4.1.18, 4.3.6, 4.4.2        |4.1.18, 4.4.2

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 31+ messages in thread

* [Bug 112631] Cannot open encrypted Luks filesystem. Cruptsetup error.
  2016-02-17 20:08 [Bug 112631] New: Cannot open encrypted Luks root filesystem bugzilla-daemon
                   ` (14 preceding siblings ...)
  2016-02-21 16:20 ` bugzilla-daemon
@ 2016-02-21 16:22 ` bugzilla-daemon
  2016-02-21 16:35 ` bugzilla-daemon
                   ` (13 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: bugzilla-daemon @ 2016-02-21 16:22 UTC (permalink / raw)
  To: linux-ext4

https://bugzilla.kernel.org/show_bug.cgi?id=112631

alex.theoto <alex.theoto@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Kernel Version|3.10.97, 3.14.61, 3.18.27,  |3.10.97, 3.14.61, 3.18.27,
                   |4.1.18, 4.4.2               |4.1.18

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 31+ messages in thread

* [Bug 112631] Cannot open encrypted Luks filesystem. Cruptsetup error.
  2016-02-17 20:08 [Bug 112631] New: Cannot open encrypted Luks root filesystem bugzilla-daemon
                   ` (15 preceding siblings ...)
  2016-02-21 16:22 ` bugzilla-daemon
@ 2016-02-21 16:35 ` bugzilla-daemon
  2016-02-21 20:14 ` bugzilla-daemon
                   ` (12 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: bugzilla-daemon @ 2016-02-21 16:35 UTC (permalink / raw)
  To: linux-ext4

https://bugzilla.kernel.org/show_bug.cgi?id=112631

--- Comment #12 from alex.theoto <alex.theoto@gmail.com> ---
I'm sorry but I cannot remove the ext4 'assigned to'

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 31+ messages in thread

* [Bug 112631] Cannot open encrypted Luks filesystem. Cruptsetup error.
  2016-02-17 20:08 [Bug 112631] New: Cannot open encrypted Luks root filesystem bugzilla-daemon
                   ` (16 preceding siblings ...)
  2016-02-21 16:35 ` bugzilla-daemon
@ 2016-02-21 20:14 ` bugzilla-daemon
  2016-02-21 21:27 ` bugzilla-daemon
                   ` (11 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: bugzilla-daemon @ 2016-02-21 20:14 UTC (permalink / raw)
  To: linux-ext4

https://bugzilla.kernel.org/show_bug.cgi?id=112631

--- Comment #13 from Henrique de Moraes Holschuh <hmh@hmh.eng.br> ---
Cross-bts link to issue report in cryptsetup upstream:
https://gitlab.com/cryptsetup/cryptsetup/issues/284

Apparently, some changes had to be backported to cryptsetup 1.7.x branch, so I
expect it will be fixed in the cryptsetup 1.7.1 release, hopefully very soon.

The cryptsetup issue report mentions that the kernel change also breaks old
versions of libkcapi.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 31+ messages in thread

* [Bug 112631] Cannot open encrypted Luks filesystem. Cruptsetup error.
  2016-02-17 20:08 [Bug 112631] New: Cannot open encrypted Luks root filesystem bugzilla-daemon
                   ` (17 preceding siblings ...)
  2016-02-21 20:14 ` bugzilla-daemon
@ 2016-02-21 21:27 ` bugzilla-daemon
  2016-02-23  8:34 ` bugzilla-daemon
                   ` (10 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: bugzilla-daemon @ 2016-02-21 21:27 UTC (permalink / raw)
  To: linux-ext4

https://bugzilla.kernel.org/show_bug.cgi?id=112631

--- Comment #14 from Henrique de Moraes Holschuh <hmh@hmh.eng.br> ---
While reporting the issue to Debian, I've been contacted by Milan Broz with
updated information.

http://www.mail-archive.com/linux-crypto@vger.kernel.org/msg17926.html

kernels 4.4.2 and 4.3.6 have a compatibility path that makes them work with old
cryptsetup.

The two patches implementing that compatibility path are missing from the other
kernels, and will require backporting.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 31+ messages in thread

* [Bug 112631] Cannot open encrypted Luks filesystem. Cruptsetup error.
  2016-02-17 20:08 [Bug 112631] New: Cannot open encrypted Luks root filesystem bugzilla-daemon
                   ` (18 preceding siblings ...)
  2016-02-21 21:27 ` bugzilla-daemon
@ 2016-02-23  8:34 ` bugzilla-daemon
  2016-02-23  9:37 ` bugzilla-daemon
                   ` (9 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: bugzilla-daemon @ 2016-02-23  8:34 UTC (permalink / raw)
  To: linux-ext4

https://bugzilla.kernel.org/show_bug.cgi?id=112631

STRSHR <strasharo2000@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |strasharo2000@yahoo.com

--- Comment #15 from STRSHR <strasharo2000@yahoo.com> ---
(In reply to da_audiophile from comment #10)
> Regarding comment #9, Arch Linux ships cryptsetup-1.7.0-1 and when used with
> 4.1.18-1 does not fix this problem.
> 
> Enter passphrase for /dev/md0: 
> Failed to setup dm-crypt key mapping for device /dev/md0.
> Check that kernel supports aes-xts-plain64 cipher (check syslog for more
> info).
> 
> uname -r
> 4.1.18-1-lts
> 
> pacman -Qs cryptsetup
> local/cryptsetup 1.7.0-1 (base)

Does cryptsetup-1.7.0-2 resolve your issue?

https://projects.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/cryptsetup&id=ea2c8f73c45aa239ed5f356a8ecd01aeba51ef1d

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 31+ messages in thread

* [Bug 112631] Cannot open encrypted Luks filesystem. Cruptsetup error.
  2016-02-17 20:08 [Bug 112631] New: Cannot open encrypted Luks root filesystem bugzilla-daemon
                   ` (19 preceding siblings ...)
  2016-02-23  8:34 ` bugzilla-daemon
@ 2016-02-23  9:37 ` bugzilla-daemon
  2016-02-23 19:41 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: bugzilla-daemon @ 2016-02-23  9:37 UTC (permalink / raw)
  To: linux-ext4

https://bugzilla.kernel.org/show_bug.cgi?id=112631

Philipp Dijkstal <philipp.dijkstal@web.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |philipp.dijkstal@web.de

--- Comment #16 from Philipp Dijkstal <philipp.dijkstal@web.de> ---
Yes. After today's upgrade to cryptsetup 1.7.0-2, it is resolved on my Arch
System with 4.1.18 lts kernel.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 31+ messages in thread

* [Bug 112631] Cannot open encrypted Luks filesystem. Cruptsetup error.
  2016-02-17 20:08 [Bug 112631] New: Cannot open encrypted Luks root filesystem bugzilla-daemon
                   ` (20 preceding siblings ...)
  2016-02-23  9:37 ` bugzilla-daemon
@ 2016-02-23 19:41 ` bugzilla-daemon
  2016-02-23 20:30 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: bugzilla-daemon @ 2016-02-23 19:41 UTC (permalink / raw)
  To: linux-ext4

https://bugzilla.kernel.org/show_bug.cgi?id=112631

--- Comment #17 from Karl Sponser <karl.sponser@web.de> ---
Even if there is an update of cryptsetup available in Arch Linux, other distros
doesn't plan to update. E. g. Fedora 23 is on 1.6.8 and I don't know if they
will move to a newer version before F24, because they don't ship kernel 4.1.18
(I'm affected because I the RPI kernel on Fedora, because the one they ship
doesn't support an RPI).

So a workaround/fix for users whose distros won't/can't update cryptsetup is
still desirable.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 31+ messages in thread

* [Bug 112631] Cannot open encrypted Luks filesystem. Cruptsetup error.
  2016-02-17 20:08 [Bug 112631] New: Cannot open encrypted Luks root filesystem bugzilla-daemon
                   ` (21 preceding siblings ...)
  2016-02-23 19:41 ` bugzilla-daemon
@ 2016-02-23 20:30 ` bugzilla-daemon
  2016-02-23 20:52 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: bugzilla-daemon @ 2016-02-23 20:30 UTC (permalink / raw)
  To: linux-ext4

https://bugzilla.kernel.org/show_bug.cgi?id=112631

--- Comment #18 from da_audiophile@yahoo.com ---
Regarding Comment #17 - It is just 2 patches to apply to cryptsetup.  I would
think any distro would have no problem with them.[1]

1.
https://projects.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/cryptsetup&id=ea2c8f73c45aa239ed5f356a8ecd01aeba51ef1d

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 31+ messages in thread

* [Bug 112631] Cannot open encrypted Luks filesystem. Cruptsetup error.
  2016-02-17 20:08 [Bug 112631] New: Cannot open encrypted Luks root filesystem bugzilla-daemon
                   ` (22 preceding siblings ...)
  2016-02-23 20:30 ` bugzilla-daemon
@ 2016-02-23 20:52 ` bugzilla-daemon
  2016-02-24 21:01 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: bugzilla-daemon @ 2016-02-23 20:52 UTC (permalink / raw)
  To: linux-ext4

https://bugzilla.kernel.org/show_bug.cgi?id=112631

Milan Broz <gmazyland@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gmazyland@gmail.com

--- Comment #19 from Milan Broz <gmazyland@gmail.com> ---
It is kernel bug and it should be fixed in kernel.
Or there is a new rule to break API and userspace in stable kernels?

See http://www.mail-archive.com/linux-crypto@vger.kernel.org/msg17926.html

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 31+ messages in thread

* [Bug 112631] Cannot open encrypted Luks filesystem. Cruptsetup error.
  2016-02-17 20:08 [Bug 112631] New: Cannot open encrypted Luks root filesystem bugzilla-daemon
                   ` (23 preceding siblings ...)
  2016-02-23 20:52 ` bugzilla-daemon
@ 2016-02-24 21:01 ` bugzilla-daemon
  2016-03-07 17:57 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: bugzilla-daemon @ 2016-02-24 21:01 UTC (permalink / raw)
  To: linux-ext4

https://bugzilla.kernel.org/show_bug.cgi?id=112631

--- Comment #20 from Karl Sponser <karl.sponser@web.de> ---
Fedora won't patch to cryptsetup, because it's a kernel bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1311286#c2

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 31+ messages in thread

* [Bug 112631] Cannot open encrypted Luks filesystem. Cruptsetup error.
  2016-02-17 20:08 [Bug 112631] New: Cannot open encrypted Luks root filesystem bugzilla-daemon
                   ` (24 preceding siblings ...)
  2016-02-24 21:01 ` bugzilla-daemon
@ 2016-03-07 17:57 ` bugzilla-daemon
  2016-03-07 18:03 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: bugzilla-daemon @ 2016-03-07 17:57 UTC (permalink / raw)
  To: linux-ext4

https://bugzilla.kernel.org/show_bug.cgi?id=112631

--- Comment #21 from alex.theoto <alex.theoto@gmail.com> ---
I think this problem has solved.
There are both new linux-lts and cryptsetup packages available.

Can someone verify this?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 31+ messages in thread

* [Bug 112631] Cannot open encrypted Luks filesystem. Cruptsetup error.
  2016-02-17 20:08 [Bug 112631] New: Cannot open encrypted Luks root filesystem bugzilla-daemon
                   ` (25 preceding siblings ...)
  2016-03-07 17:57 ` bugzilla-daemon
@ 2016-03-07 18:03 ` bugzilla-daemon
  2016-03-11 17:38 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  29 siblings, 0 replies; 31+ messages in thread
From: bugzilla-daemon @ 2016-03-07 18:03 UTC (permalink / raw)
  To: linux-ext4

https://bugzilla.kernel.org/show_bug.cgi?id=112631

--- Comment #22 from Manu Bourguin <kernel@chezmanu.eu> ---
I try tonight on the latest raspbian to check.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 31+ messages in thread

* [Bug 112631] Cannot open encrypted Luks filesystem. Cruptsetup error.
  2016-02-17 20:08 [Bug 112631] New: Cannot open encrypted Luks root filesystem bugzilla-daemon
                   ` (26 preceding siblings ...)
  2016-03-07 18:03 ` bugzilla-daemon
@ 2016-03-11 17:38 ` bugzilla-daemon
  2016-03-11 17:43 ` bugzilla-daemon
  2016-03-11 17:43 ` bugzilla-daemon
  29 siblings, 0 replies; 31+ messages in thread
From: bugzilla-daemon @ 2016-03-11 17:38 UTC (permalink / raw)
  To: linux-ext4

https://bugzilla.kernel.org/show_bug.cgi?id=112631

--- Comment #23 from alex.theoto <alex.theoto@gmail.com> ---
Looks like this bug is fixed.
Closing...

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 31+ messages in thread

* [Bug 112631] Cannot open encrypted Luks filesystem. Cruptsetup error.
  2016-02-17 20:08 [Bug 112631] New: Cannot open encrypted Luks root filesystem bugzilla-daemon
                   ` (27 preceding siblings ...)
  2016-03-11 17:38 ` bugzilla-daemon
@ 2016-03-11 17:43 ` bugzilla-daemon
  2016-03-11 17:43 ` bugzilla-daemon
  29 siblings, 0 replies; 31+ messages in thread
From: bugzilla-daemon @ 2016-03-11 17:43 UTC (permalink / raw)
  To: linux-ext4

https://bugzilla.kernel.org/show_bug.cgi?id=112631

alex.theoto <alex.theoto@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |PATCH_ALREADY_AVAILABLE

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 31+ messages in thread

* [Bug 112631] Cannot open encrypted Luks filesystem. Cruptsetup error.
  2016-02-17 20:08 [Bug 112631] New: Cannot open encrypted Luks root filesystem bugzilla-daemon
                   ` (28 preceding siblings ...)
  2016-03-11 17:43 ` bugzilla-daemon
@ 2016-03-11 17:43 ` bugzilla-daemon
  29 siblings, 0 replies; 31+ messages in thread
From: bugzilla-daemon @ 2016-03-11 17:43 UTC (permalink / raw)
  To: linux-ext4

https://bugzilla.kernel.org/show_bug.cgi?id=112631

--- Comment #24 from alex.theoto <alex.theoto@gmail.com> ---
.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2016-03-11 17:43 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-17 20:08 [Bug 112631] New: Cannot open encrypted Luks root filesystem bugzilla-daemon
2016-02-17 20:10 ` [Bug 112631] " bugzilla-daemon
2016-02-17 20:22 ` bugzilla-daemon
2016-02-17 20:30 ` bugzilla-daemon
2016-02-19 18:52 ` bugzilla-daemon
2016-02-20  2:28 ` bugzilla-daemon
2016-02-20 10:15 ` bugzilla-daemon
2016-02-20 18:46 ` bugzilla-daemon
2016-02-21 12:00 ` bugzilla-daemon
2016-02-21 12:02 ` bugzilla-daemon
2016-02-21 12:55 ` bugzilla-daemon
2016-02-21 14:23 ` bugzilla-daemon
2016-02-21 16:12 ` bugzilla-daemon
2016-02-21 16:18 ` [Bug 112631] Cannot open encrypted Luks filesystem. Cruptsetup error bugzilla-daemon
2016-02-21 16:19 ` bugzilla-daemon
2016-02-21 16:20 ` bugzilla-daemon
2016-02-21 16:22 ` bugzilla-daemon
2016-02-21 16:35 ` bugzilla-daemon
2016-02-21 20:14 ` bugzilla-daemon
2016-02-21 21:27 ` bugzilla-daemon
2016-02-23  8:34 ` bugzilla-daemon
2016-02-23  9:37 ` bugzilla-daemon
2016-02-23 19:41 ` bugzilla-daemon
2016-02-23 20:30 ` bugzilla-daemon
2016-02-23 20:52 ` bugzilla-daemon
2016-02-24 21:01 ` bugzilla-daemon
2016-03-07 17:57 ` bugzilla-daemon
2016-03-07 18:03 ` bugzilla-daemon
2016-03-11 17:38 ` bugzilla-daemon
2016-03-11 17:43 ` bugzilla-daemon
2016-03-11 17:43 ` bugzilla-daemon

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.