Skip to contentSkip to conversation

New: cryptsetup does not work on branch 2020.02 following json-c upgrade

Buildroot bugzilla at busybox.net 1 participant 5 messages Oct 8, 2020 – Oct 12, 2020

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=13251

Bug ID: 13251
Summary: cryptsetup does not work on branch 2020.02 following
json-c upgrade
Product: buildroot
Version: 2020.02.6
Hardware: All
OS: Linux
Status: NEW
Severity: blocker
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: dominique.tronche at atos.net
CC: buildroot at uclibc.org
Target Milestone: ---

Created attachment 8596
--> https://bugs.busybox.net/attachment.cgi?id=8596&action=edit
cryptsetup debug

We have integrated the last 2 tags of buildroot on branch 2020.02 which include a patch on cryptsetup following an upgrade of json-c package, but this patch does not seems sufficient
Our cyphered partition cannot be opened which makes our product unusable Attached the cryptsetup command failing in debug mode

A similar issue was found on cryptsetup gitlab
https://gitlab.com/cryptsetup/cryptsetup/-/issues/556

Upgrading to cryptsetup version from master branch solved the issue

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#1 lore raw

[Buildroot] [Bug 13251] cryptsetup does not work on branch 2020.02 following json-c upgrade

https://bugs.busybox.net/show_bug.cgi?id=13251

Peter Korsgaard <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED

--- Comment #1 from Peter Korsgaard <[email protected]> ---
Thanks for the report, should be fixed by
https://patchwork.ozlabs.org/project/buildroot/patch/20201011210738.22951-1-peter at korsgaard.com/
- Can you verify please?

It would be good with a runtime test for cryptsetup.

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#2 lore raw

[Buildroot] [Bug 13251] cryptsetup does not work on branch 2020.02 following json-c upgrade

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=13251

--- Comment #2 from Dominique Tronche <[email protected]> --- Hi,
The patch is working on our facility.
Is there any reason why a patch instead of upgrading to cryptsetup 2.3.3 ? That is what we did as a correction on our side and we are interested to know if it is not safe.
Regards
Dominique Tronche

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#3 lore raw

[Buildroot] [Bug 13251] cryptsetup does not work on branch 2020.02 following json-c upgrade

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=13251

--- Comment #3 from Peter Korsgaard <[email protected]> ---
(In reply to Dominique Tronche from comment #2)
Good to hear. On the LTS branch we only bump package versions if absolutely needed. The 2.3.x version brings new features, so it is "safer" to just fix the compatibility issue.

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.
#4 lore raw

[Buildroot] [Bug 13251] cryptsetup does not work on branch 2020.02 following json-c upgrade

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=13251

Peter Korsgaard <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED

--- Comment #4 from Peter Korsgaard <[email protected]> --- Fixed in git, will be part of the upcoming 2020.02.7 release:
https://git.buildroot.org/buildroot/commit/?h=2020.02.x&id=2fe040e7e79170299bcc1fb3d0f6d64cd2823583

Signature · 2 lines
You are receiving this mail because:
You are on the CC list for the bug.