kargs module not working for me

Weirdly enough, the kargs module seems to not work properly for me. It creates the file in /usr/lib/bootc/kargs.d/bluebuild-args.toml and then i upgrade with bootc. But after a reboot, it didn't stick. I saw it working one time for sure in the last week, but right now bootc seems to ignore it for some reason
8 Replies
gierthi
gierthiOP3w ago
According to https://bootc-dev.github.io/bootc/building/kernel-arguments.html, everything is correct on my system but the /boot/loader.0/entries/ostree-x.conf does not get updatet.
fiftydinar
fiftydinar3w ago
Hmm, I can reproduce, I also don't have kargs anymore idk if it's a bug or they changed something in upstream seems like a regression in upstream to me, we do everything right
gierthi
gierthiOP3w ago
It works for me again, except for preempt=full, which just gets ignored for some reason? Does not get added to the final kargs for some reason
fiftydinar
fiftydinar3w ago
same, except preempt=full is added for me
gierthi
gierthiOP3w ago
you use the default fedora kernel?
fiftydinar
fiftydinar3w ago
yes From journalctl:
ago 15 22:35:49 fedora kernel: Kernel command line: BOOT_IMAGE=(hd0,gpt2)/ostree/default-846dc70cb003ead69b47b6f798c8a616cf79a752c78c9ad52f6b1ebabb4de94a/vmlinuz-6.15.9-201.fc42.x86_64 ostree=/ostree/boot.0/default/846dc70cb003ead69b47b6f798c8a616cf79a752c78c9ad52f6b1ebabb4de94a/0 preempt=full radeon.si_support=0 radeon.cik_support=0 amdgpu.si_support=1 amdgpu.cik_support=1 nouveau.config=NvGspRm=1 rhgb quiet root=UUID=0c9e1638-ebb5-4f04-8d6f-5593dce5d700 vconsole.keymap=rs-latinyz rootflags=subvol=root rw
ago 15 22:35:49 fedora kernel: Dynamic Preempt: full
ago 15 22:35:49 fedora kernel: Kernel command line: BOOT_IMAGE=(hd0,gpt2)/ostree/default-846dc70cb003ead69b47b6f798c8a616cf79a752c78c9ad52f6b1ebabb4de94a/vmlinuz-6.15.9-201.fc42.x86_64 ostree=/ostree/boot.0/default/846dc70cb003ead69b47b6f798c8a616cf79a752c78c9ad52f6b1ebabb4de94a/0 preempt=full radeon.si_support=0 radeon.cik_support=0 amdgpu.si_support=1 amdgpu.cik_support=1 nouveau.config=NvGspRm=1 rhgb quiet root=UUID=0c9e1638-ebb5-4f04-8d6f-5593dce5d700 vconsole.keymap=rs-latinyz rootflags=subvol=root rw
ago 15 22:35:49 fedora kernel: Dynamic Preempt: full
gierthi
gierthiOP2w ago
preempt=full just gets ignored for me. Meaning, bootc does not add it to the arguments even though my /usr/lib/bootc/kargs.d/bluebuild-kargs.toml looks like this: kargs = ["mitigations=auto", "preempt=full", "rd.luks.options=discard"] match-architectures = ["x86_64", "aarch64"]
Luke Skywunker
At this point, you might have to open an issue with bootc if all the files are where they should be
GitHub
GitHub - bootc-dev/bootc: Boot and upgrade via container images
Boot and upgrade via container images. Contribute to bootc-dev/bootc development by creating an account on GitHub.

Did you find this page helpful?