Skip to content

fix: Rebuild initramfs when module config changed#382

Merged
spetrosi merged 1 commit intoredhat-cop:mainfrom
spetrosi:rhel-7-kernel-modules-unload
Mar 19, 2026
Merged

fix: Rebuild initramfs when module config changed#382
spetrosi merged 1 commit intoredhat-cop:mainfrom
spetrosi:rhel-7-kernel-modules-unload

Conversation

@spetrosi
Copy link
Copy Markdown
Collaborator

@spetrosi spetrosi commented Mar 18, 2026

Remediation for RHEL 7 kernel modules doesn’t work because modules remain after reboot in initramfs. Calling dracut to rebuild initramfs to fix the issue.

@spetrosi spetrosi force-pushed the rhel-7-kernel-modules-unload branch from 9ab0307 to d60f29b Compare March 18, 2026 08:24
@spetrosi
Copy link
Copy Markdown
Collaborator Author

[citest]

Remediation for RHEL 7 kernel modules doesn’t work because modules
remain after reboot in initramfs. Calling dracut to rebuild
initramfx to fix the issue.
@spetrosi spetrosi force-pushed the rhel-7-kernel-modules-unload branch from d60f29b to 36d50b1 Compare March 18, 2026 11:36
@spetrosi
Copy link
Copy Markdown
Collaborator Author

[citest]

@spetrosi spetrosi marked this pull request as draft March 18, 2026 13:24
@spetrosi
Copy link
Copy Markdown
Collaborator Author

Waiting for @swapdisk and @djdanielsson opinions.

This changes the default behavior of the analysis role - it now clears versionlock list, updates all packages and reboots.

@djdanielsson
Copy link
Copy Markdown
Collaborator

analysis shouldn't update/touch anything that should be remediation. the most analysis should do is install leapp and run it IMO. a lot of times we tried to push because it is just doing analysis it would be safe to run anytime and not require maintenance window. @swapdisk thoughts?

@spetrosi
Copy link
Copy Markdown
Collaborator Author

@djdanielsson sorry wrong PR, I had to comment it in #383

@spetrosi spetrosi marked this pull request as ready for review March 18, 2026 13:38
@swapdisk
Copy link
Copy Markdown
Member

@djdanielsson sorry wrong PR, I had to comment it in #383

Oops, I'll comment in #383.

@spetrosi spetrosi merged commit e5126bb into redhat-cop:main Mar 19, 2026
29 checks passed
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.

4 participants