Bug 2016269

Summary: RPM grub2-tools-minimal is shipping prelink config files although prelink is absent in rhel8
Product: Red Hat Enterprise Linux 8 Reporter: vanbhule
Component: grub2Assignee: Bootloader engineering team <bootloader-eng-team>
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team-automation>
Severity: low Docs Contact:
Priority: unspecified    
Version: 8.4CC: peter.vreman, pjanda, pzatko, rharwood, vrajput
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: grub2-2.02-109.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-05-10 15:31:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description vanbhule 2021-10-21 07:20:13 UTC
Description of problem:
Prelink is absent in RHEL8, but "grub2-tools-minimal-2.02-99.el8.x86_64" is still shipping configuration files for it.


Version-Release number of selected component (if applicable):
grub2-tools-minimal-2.02-99.el8.x86_64


How reproducible:
Always

Steps to Reproduce:
1. Install RHEL8.4
2. Install mlocate and run updatedb
3. Run 'locate prelink'

Actual results:
# locate prelink
/etc/prelink.conf.d
/etc/prelink.conf.d/grub2.conf
/usr/share/bash-completion/completions/prelink
/usr/share/selinux/targeted/default/active/modules/100/prelink
/usr/share/selinux/targeted/default/active/modules/100/prelink/cil
/usr/share/selinux/targeted/default/active/modules/100/prelink/lang_ext
/var/lib/selinux/targeted/active/modules/100/prelink
/var/lib/selinux/targeted/active/modules/100/prelink/cil
/var/lib/selinux/targeted/active/modules/100/prelink/hll
/var/lib/selinux/targeted/active/modules/100/prelink/lang_ext

# rpm -qf /etc/prelink.conf.d/grub2.conf
grub2-tools-minimal-2.02-99.el8.x86_64


Expected results:
No files related to prelink should be present.

Additional info:

Comment 2 Petr Zatko 2022-02-09 14:33:35 UTC
Reproduced with grub2-tools-minimal-2.02-108.el8

╭─[pzatko@Inn][~/Tmp/grub]
╰─> rpm2cpio grub2-tools-minimal-2.02-108.el8.x86_64.rpm | cpio -t | grep prelink
1517 blocks
./etc/prelink.conf.d/grub2.conf

Tested with grub2-tools-minimal-2.02-109.el8

╭─[pzatko@Inn][~/Tmp/grub]
╰─> rpm2cpio grub2-tools-minimal-2.02-109.el8.x86_64.rpm| cpio -t | grep prelink
1516 blocks

Marking as Verified: Tested

Comment 7 errata-xmlrpc 2022-05-10 15:31:42 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Low: grub2 security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:2110