Grub2/grub2-efi update script does not detect other operating systems

In today’s instance I updated with the system tray update (don’t know what it’s name is). Today’s updates include:

grub2-efi-2.02-22.x86_64
grub2-2.02-22.x86_64

Full list of today’s updates on this system: updates-2019-02008.txt (2.1 KB)

Anyway when the script runs it does not pick up other operating systems as if os-prober is not enabled. Thus user will need to run:

$ sudo grub2-mkconfig -o /boot/grub2/grub.cfg

to repopulate grub.cfg.

I don’t know that os-prober is not enabled all I know is that other operating systems are not detected when the updater updates grub2 packages.

Perhaps this is the system tray updater currently in use:

plasma-pk-updates-0.3.2-1.x86_64

Fix for this fix is needed

While script is fixed now … the other problem is about all pk backends …

plasma-pk-updates and discover* … these seems to not run any scriptlets.

We’ll investigate that but a short look the code showed they only call libdnf…

That all means updates done with any dnf pk backend may random break when packages
have to execute scriptlets of any sort.

1 Like

@TPG @ben79

… so short long story … even update script was somewhat broken the bug bout that
are the pk dnf backend(s) not dnf itself nor any OM scripts/packages.

1 Like