Description of problem: When installing a custom kernel rhgb quiet are added as extra arguments to kernel options. Version-Release number of selected component (if applicable): grub2-common-2.06-46.fc37.noarch grub2-pc-2.06-46.fc37.x86_64 grub2-pc-modules-2.06-46.fc37.noarch grub2-tools-2.06-46.fc37.x86_64 grub2-tools-minimal-2.06-46.fc37.x86_64 grubby-8.40-64.fc37.x86_64 How reproducible: 100% Steps to Reproduce: 1.Download a kernel tarball wget https://s3.amazonaws.com/arr-cki-prod-trusted-artifacts/trusted-artifacts/603714145/build%20x86_64%20debug/2807738987/artifacts/kernel-mainline.kernel.org-redhat_603714145_x86_64_debug.tar.gz 2.extract it tar xfh kernel-mainline.kernel.org-redhat_603714145_x86_64_debug.tar.gz -C / 3.install the kernel kernel-install add 5.19.0 /boot/vmlinuz-5.19.0 grubby --set-default /boot/vmlinuz-5.19.0 Actual results: options from default Rawhide kernel: cat /boot/loader/entries/*-5.19.0-65.fc37.x86_64.conf | grep options options root=/dev/mapper/fedora_kvm--02--guest23-root ro rd.lvm.lv=fedora_kvm-02-guest23/root console=ttyS0,115200 options from custom kernel cat /boot/loader/entries/*-5.19.0.conf | grep options options root=/dev/mapper/fedora_kvm--02--guest23-root ro rd.lvm.lv=fedora_kvm-02-guest23/root console=ttyS0,115200 rhgb quiet Expected results: custom kernel should have same arguments as Rawhide kernel Additional info: the custom kernel got rhgb quiet as additional arguments
> Expected results: > custom kernel should have same arguments as Rawhide kernel *Why* should it have the same arguments as the rawhide kernel? I'm not disagreeing with you, but there isn't enough information for me to make it possibly do what you want.
(In reply to Robbie Harwood from comment #1) > > Expected results: > > custom kernel should have same arguments as Rawhide kernel > > *Why* should it have the same arguments as the rawhide kernel? I'm not > disagreeing with you, but there isn't enough information for me to make it > possibly do what you want. It really surprised me that when a installed the new kernel it added additional arguments and not used the same arguments from the kernel I was using. The `quiet` specifically was undesired to me as when I booted up the new kernel it didn't show the kernel messages that I was expecting to see.
Right now, the current kernel's arguments directly becoming the new kernel's arguments is a bug that needs fixed. What's supposed to happen is that the new kernel's arguments are the default set that's been requested. I have heuristics for `rhgb quiet` specifically, but maybe I can tune them more. Let me think about that.
(In reply to Robbie Harwood from comment #3) > Right now, the current kernel's arguments directly becoming the new kernel's > arguments is a bug that needs fixed. What's supposed to happen is that the > new kernel's arguments are the default set that's been requested. I have > heuristics for `rhgb quiet` specifically, but maybe I can tune them more. > Let me think about that. Thanks. btw I think the `rhgb quiet` being added to kernel arguments is something that got changed recently. I don't remember seeing this problem when using Rawhide composes from early August.
FEDORA-2022-a3480ad0d3 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-a3480ad0d3
FEDORA-2022-a3480ad0d3 has been pushed to the Fedora 36 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-a3480ad0d3` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-a3480ad0d3 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
thanks it works well on Rawhide: grubby-8.40-65.fc38.x86_64 grub2-2.06-52.fc38.noarch
also works well on Fedora-36 with grubby-8.40-66.fc36 grub2-2.06-52.fc36
*** Bug 2120476 has been marked as a duplicate of this bug. ***
Migrating my FAS address to omosnacek...
FEDORA-2022-a3480ad0d3 has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report.