Tobias Stoeckmann (493d8908) at 02 Oct 11:35
Typos found with codespell.
Signed-off-by: Tobias Stoeckmann [email protected]
The thread does not contain field "damon" but "daemon".
Actually found with codespell.
Signed-off-by: Tobias Stoeckmann [email protected]
Tobias Stoeckmann (4220f141) at 13 Sep 16:35
lvmdbusd: Fix Python script
Tobias Stoeckmann (045f58df) at 13 Sep 16:35
Fix typos
Tobias Stoeckmann (ba4c028f) at 24 Aug 17:37
Tobias Stoeckmann (52f5cb8c) at 24 Aug 17:35
Segments are validated in hdr_validate_segments. Gaps in segment keys are detected when collecting offsets. But if an invalid segment is very large, larger than count, it could happen that cryptsetup is unable to allocate enough memory, not giving a clue about what actually is the problem.
Therefore check for gaps even if not enough memory is available. This gives much more information with debug output enabled.
Obviously cryptsetup still fails if segments are perfectly fine but not enough RAM available. But at that stage, the user knows that it's the fault of the system, not of an invalid segment.
The large text block happened due to reformat. It's just addition of "the" in front of problem, i.e. "If this is the problem, ..."
Tobias Stoeckmann (4bb85dfa) at 24 Aug 17:23
Fixed some typos.
Tobias Stoeckmann (61882ae8) at 24 Aug 17:23
Check segment gaps regardless of heap space.
The failure ignoring option "-" is treated after name check. Therefore, an empty name is not detected.
If you use "-=value", the name will be seen as "-". Moving the failure ignoring check in front of the name check solves the problem.
The failure ignoring option "-" is treated after name check. Therefore, an empty name is not detected.
If you use "-=value", the name will be seen as "-". Moving the failure ignoring check in front of the name check solves the problem.