fix: recover stale luks device mapper#1364
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1364 +/- ##
==========================================
- Coverage 71.97% 71.64% -0.33%
==========================================
Files 17 17
Lines 1520 1552 +32
==========================================
+ Hits 1094 1112 +18
- Misses 338 352 +14
Partials 88 88
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Debugging information provided by customer indicates there is an issue with luks device mappers not being closed properly. I could not yet reproduce this correctly, but this would address the issue. |
|
As an addition, I properly introduced context management into the cryptsetup. Required a little refactor, but this is mostly just dragging along the context. |
7b0980e to
23ee4c1
Compare
23ee4c1 to
5ff574f
Compare
4ab707d to
09cd36f
Compare
|
@lukasmetzner I think we got hit by somthing related to this pr AIA dm-crypt mapper left over from an earlier attach cycle stayed active while pointing at a dead I ran this PR's |
No description provided.