Skip to content

kdumpctl: sync /etc/kernel/cmdline when resetting crashkernel - #163

Open
Vrushali-Z wants to merge 1 commit into
rhkdump:mainfrom
Vrushali-Z:main
Open

kdumpctl: sync /etc/kernel/cmdline when resetting crashkernel#163
Vrushali-Z wants to merge 1 commit into
rhkdump:mainfrom
Vrushali-Z:main

Conversation

@Vrushali-Z

Copy link
Copy Markdown

Summary

After a single-kernel grubby --update-kernel crashkernel change, also
update /etc/kernel/cmdline. That stops the reset warning from firing
on every kernel update.
Does not use --update-kernel=ALL, so other kernels keep their own
crashkernel values.

Jira

https://redhat.atlassian.net/browse/RHEL-188906

Test plan

  • Non-default crashkernel + dnf reinstall kernel-core: cmdline matches the default after first reset
  • Second reinstall: no kdump reset warning
  • Other installed kernels keep their original crashkernel

Single-kernel grubby updates the BLS entry but not /etc/kernel/cmdline,
so every later kernel install sees a stale crashkernel value and repeats
the reset warning.
Fixes: RHEL-188906
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.

1 participant