| Summary: | cryptsetup luksOpen container_file container causes libdevmapper segfault | ||
|---|---|---|---|
| Product: | buildroot | Reporter: | Nobodyman <nobodyman> |
| Component: | Other | Assignee: | unassigned |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | buildroot |
| Priority: | P5 | ||
| Version: | 2018.02 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
| Attachments: | 0001-libdm-iface.patch | ||
|
Description
Nobodyman
2018-02-19 22:41:29 UTC
(In reply to Nobodyman from comment #0) Sorry, used command line was: cryptsetup --debug luksOpen container_file container Created attachment 7496 [details]
0001-libdm-iface.patch
This patch found on this site https://gitlab.labs.nic.cz/turris/turris-os-packages/commit/8f08ed5f59b51b222aef72fb2902472b0fa068ad was commited from Michal Hrusecky <michal.hrusecky@nic.cz>. Original path: utils/lvm2/patches/004-dm_task_get_info.patch lvm2: Fix crash and update to 2.02.145 Fixed really tricky issue with I suspect uClibc and devicemapper. For details see the patch. While at it updating it to the latest version as it didn't worked anyway. This is in fact isn't really a Buildroot issue, more an upstream issue. I'm not a big fan of taking some random OpenWRT patch that isn't "obviously correct". Has this issue been reported to the upstream lvm2 developers ? Or perhaps to the uClibc-ng maintainer ? I'm sure Waldemar will be interested about a case where a program against glibc works, but not with uClibc-ng. I opened up an issue: https://github.com/lvmteam/lvm2/issues/6 This has now been fixed by: https://git.buildroot.org/buildroot/commit/?id=5313c50aa3c1533c32ecf8d04c0628fbbb14f58d |