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

updates
cooker
omlx-4
Tags: #<Tag:0x00007f0e47319fc8> #<Tag:0x00007f0e47319cf8> #<Tag:0x00007f0e47319aa0>

(Ben Bullard) #1

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.


(Ben Bullard) #2

Perhaps this is the system tray updater currently in use:

plasma-pk-updates-0.3.2-1.x86_64


(Tomasz Paweł Gajc) #3

Fix for this fix is needed


(Abucodonosor) #4

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.


(Abucodonosor) #5

@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.


(Ben Bullard) closed #6