Describe the bug
Running rpm-ostree kargs --delete= crashes the rpm-ostreed daemon with a GLib assertion failure when the active deployment is a bootc OCI image (i.e., pulled from a container registry via ostree-unverified-registry:). The same crash also occurs when running rpm-ostree status.
Reproduction steps
- Boot a system deployed from a bootc OCI image (no traditional RPM layering)
- Run: rpm-ostree kargs --delete=isolcpus=4-43
Expected behavior
Kernel argument is deleted and a new deployment is staged successfully.
Actual behavior
The staging completes (Staging deployment... done) but then rpm-ostreed crashes:
rpm-ostreed:ERROR:src/lib/rpmostree-package.c:284:_rpm_ostree_package_list_for_commit: assertion failed (pkglist->len > 0): (0 > 0)
Bail out! rpm-ostreed:ERROR:src/lib/rpmostree-package.c:284:_rpm_ostree_package_list_for_commit: assertion failed (pkglist->len > 0): (0 > 0)
Aborted (core dumped)
Note: rpm-ostree status also crashes with the identical assertion, suggesting the daemon consistently fails to handle this deployment type.
# rpm-ostree status
State: idle
Deployments:
......
**
rpm-ostreed:ERROR:src/lib/rpmostree-package.c:284:_rpm_ostree_package_list_for_commit: assertion failed (pkglist->len > 0): (0 > 0)
Bail out! rpm-ostreed:ERROR:src/lib/rpmostree-package.c:284:_rpm_ostree_package_list_for_commit: assertion failed (pkglist->len > 0): (0 > 0)
Aborted (core dumped)
System details
- OS: Oracle Linux Server 10.1 (kernel 6.12.0-124.52.1.el10_1.x86_64)
- Deployment type: ostree-unverified-registry (bootc OCI image)
Additional information
No response
Describe the bug
Running rpm-ostree kargs --delete= crashes the rpm-ostreed daemon with a GLib assertion failure when the active deployment is a bootc OCI image (i.e., pulled from a container registry via ostree-unverified-registry:). The same crash also occurs when running rpm-ostree status.
Reproduction steps
Expected behavior
Kernel argument is deleted and a new deployment is staged successfully.
Actual behavior
The staging completes (Staging deployment... done) but then rpm-ostreed crashes:
Note:
rpm-ostree statusalso crashes with the identical assertion, suggesting the daemon consistently fails to handle this deployment type.System details
Additional information
No response