Grub2-tools scriptlet error on dnf update

Updates to grub packages were found today.

Packages Altered:
    Upgrade  grub2-common-1:2.06-102.fc38.noarch           @updates
    Upgraded grub2-common-1:2.06-100.fc38.noarch           @@System
    Upgrade  grub2-efi-x64-1:2.06-102.fc38.x86_64          @updates
    Upgraded grub2-efi-x64-1:2.06-100.fc38.x86_64          @@System
    Upgrade  grub2-tools-1:2.06-102.fc38.x86_64            @updates
    Upgraded grub2-tools-1:2.06-100.fc38.x86_64            @@System
    Upgrade  grub2-tools-minimal-1:2.06-102.fc38.x86_64    @updates
    Upgraded grub2-tools-minimal-1:2.06-100.fc38.x86_64    @@System

Updating produced this error:

1 Failed to set unit properties on grub-systemd-integration.service: Unit grub-systemd-integration.service not found.

Searching for grub-systemd-integration.service in any package came up empty. This situation seems like it should not exist.

Found this in the spec file changelog:

* Thu Sep 28 2023 Christian Glombek <> - 2.06-101
- spec: Fix grub2-systemd-integration.service name

The grub2-systemd-integration.service unit file is on the system and disabled.

Looking at a diff of the 2 version’s spec files show that the %postun of the older version caused this as a latent bug. Should be innocuous.

I’ve experienced this same issue when updating today!

I have flagged this to the appropriate maintainer, thank you :fedora:

i got this error on fedora 39 while reinstalling grub (sudo dnf reinstall grub*)