You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If /usr/lib/bootc/kargs.d is updated in the image, kargs should also be modified by bootc. Currently this only happens at install time.
This would require some kind of mechanism to keep track of which kargs are set at runtime by the user (rpm-ostree kargs) and which are set by kargs.d (so that they can be adjusted when kargs.d files change).
I was surprised to hear this. I assumed those would be applied after any bootc upgrade or bootc switch.
This would be a very useful feature to automatically roll out kargs changes (remove no longer needed kargs thanks to kernel updates, add new kargs for workarounds, add new kargs for performance tweaks, etc.).
We use kargs.d on CentOS Stream 10 bootc images for console configuration (console=tty0 console=ttyS0,115200n8, order matters when NVIDIA takes the framebuffer) and kernel module parameters. For context, we build NVIDIA drivers from source into our bootc images: https://gitlab.com/dunn.dev/immutable/basec/-/blob/main/images/zfs-nvidia/Containerfile
It looks like the core ask here, applying kargs.d during upgrades, was implemented in #1783. We've been testing with that behavior and it works as expected for our use case.
Is this issue resolved by #1783, or is there remaining scope around /etc/bootc/kargs.d or other aspects that still need work?
Hi @andrewdunndev cool to hear it's working for you! The PR you linked was for the composefs backend, the core /usr/lib/bootc/kargs.d was implemented before that for the ostree backend.
I am closing this as we have tests that cover this too, but anyone should feel free to comment or reopen if they see other issues.
Activity
LukeShortCloud commentedon Nov 8, 2025
I was surprised to hear this. I assumed those would be applied after any
bootc upgradeorbootc switch.This would be a very useful feature to automatically roll out kargs changes (remove no longer needed kargs thanks to kernel updates, add new kargs for workarounds, add new kargs for performance tweaks, etc.).
andrewdunndev commentedon Mar 15, 2026
We use
kargs.don CentOS Stream 10 bootc images for console configuration (console=tty0 console=ttyS0,115200n8, order matters when NVIDIA takes the framebuffer) and kernel module parameters. For context, we build NVIDIA drivers from source into our bootc images:https://gitlab.com/dunn.dev/immutable/basec/-/blob/main/images/zfs-nvidia/Containerfile
It looks like the core ask here, applying
kargs.dduring upgrades, was implemented in #1783. We've been testing with that behavior and it works as expected for our use case.Is this issue resolved by #1783, or is there remaining scope around
/etc/bootc/kargs.dor other aspects that still need work?cgwalters commentedon Mar 15, 2026
Hi @andrewdunndev cool to hear it's working for you! The PR you linked was for the composefs backend, the core
/usr/lib/bootc/kargs.dwas implemented before that for the ostree backend.I am closing this as we have tests that cover this too, but anyone should feel free to comment or reopen if they see other issues.