Skip to content

systemd: backport dm-verity mapper naming fix for sysext#4156

Open
rootp1 wants to merge 1 commit into
flatcar:mainfrom
rootp1:fix-2187-sysext-verity-warnings
Open

systemd: backport dm-verity mapper naming fix for sysext#4156
rootp1 wants to merge 1 commit into
flatcar:mainfrom
rootp1:fix-2187-sysext-verity-warnings

Conversation

@rootp1

@rootp1 rootp1 commented Jul 25, 2026

Copy link
Copy Markdown

Summary

Backport the upstream systemd dm-verity mapper naming fix that includes the loop diskseq in generated device-mapper names for dissected images.

Why

systemd-sysext refresh on Flatcar Alpha 4722.0.0 and Beta 4694.1.0 emits repeated warnings like:

device-mapper: reload ioctl on loop4p1-verity (...) failed: Invalid argument

The upstream fix avoids mapper name collisions when loop-backed extension images are dissected repeatedly or concurrently. The issue log shows repeated reuse of loopNp1-verity names and device numbers during sysext refresh, which matches this failure mode.

Fixes flatcar/Flatcar#2187.

Testing

  • Not run locally; this is a focused backport of upstream commit 15e9fbc76983 into the systemd-259.4-r2 ebuild.

Copilot AI review requested due to automatic review settings July 25, 2026 10:05
@rootp1
rootp1 requested a review from a team as a code owner July 25, 2026 10:05

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Signed-off-by: rootp1 <arnav.iitr@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

systemd-sysext refresh does print scary warnings

2 participants