Skip to content

Minor fixes for the lvm module - #2616

Open
aafeijoo-suse wants to merge 3 commits into
dracut-ng:mainfrom
aafeijoo-suse:lvm-minor-fixes
Open

Minor fixes for the lvm module#2616
aafeijoo-suse wants to merge 3 commits into
dracut-ng:mainfrom
aafeijoo-suse:lvm-minor-fixes

Conversation

@aafeijoo-suse

Copy link
Copy Markdown
Contributor

See individual commits.

Checklist

  • I have tested it locally
  • I have reviewed and updated any documentation if relevant
  • I am providing new code and test(s) for it

The loop breaks with the first host device where `dmsetup splitname` does not
print `DM_VG_NAME` or `DM_LV_NAME`, instead of continuing with the next one.

Fixes 1743473
`_activated` is an associative array whose unique keys are formed by
`"${DM_VG_NAME}/${DM_LV_NAME}"`, but the condition always checks for the plain
value `DM_VG_NAME / DM_LV_NAME`, so it's always false and an already printed
value in `rd.lvm.lv=` can be printed again.

Fixes 9a52c3f
Commit 4916bf1 only meant to silence the error
that `lvm dumpconfig` prints when the option is not configured, but instead it
also redirected stdout to /dev/null, so `system_id_source` is never set, and the
path referenced by `system_id_file` is never installed.

Fixes 4916bf1
@aafeijoo-suse
aafeijoo-suse requested a review from a team as a code owner August 19, 2026 06:56
@github-actions github-actions Bot added lvm Issues related to the lvm module modules Issue tracker for all modules labels Aug 19, 2026
@devkontrol devkontrol added this to the 113 milestone Aug 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lvm Issues related to the lvm module modules Issue tracker for all modules

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants