Bug: Kernel pref not respecting "default_kernel" value?

I think this may be a bug in Qubes unless I am not understanding these config settings:

qubes-prefs | grep kernel
default_kernel - 6.18.40-1.fc41

qvm-prefs browsing | grep kernel
kernel D 6.18.35-1.fc41

You can see browsing is set the (D)efault kernel value. That should be 6.18.40-1.fc41 except it is setting to 6.18.35-1.fc41 instead (NOT the default).

Did I do something wrong or is this a bug?

If you update your browsing qube’s template and then restart your browsing qube, does the pref stay the same?

Yes, everything is updated and restarted. Is there another location that qubes looks for the default kernel value?

I also set it via gui global settings to the .40 kernel and verified in gui settings for browsing that it says “default ()” but the default it lists is the 0.35 kernel.

Take a look at qvm-prefs --help-properties browsing:

kernel    Kernel used by this domain. TemplateBasedVMs use its template's
          value by default.

You can reset the template’s kernel property to the global default:

qvm-prefs -D `qvm-prefs browsing template` kernel
1 Like