Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 813665

Summary: rpm-4.8.0-19.el6 tries to run /usr/X11R6/bin/mkfontdir during cleanup
Product: Red Hat Enterprise Linux 6 Reporter: Florian Hubold <doktor5000>
Component: rpmAssignee: Panu Matilainen <pmatilai>
Status: CLOSED NOTABUG QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.2   
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-18 09:04:19 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 Florian Hubold 2012-04-18 07:26:21 UTC
During last update:



---> Package rpm.x86_64 0:4.8.0-19.el6 will be updated                                                                                                                                                                                       
---> Package rpm.x86_64 0:4.8.0-19.el6_2.1 will be an update

[snip]

rpm                                                              x86_64                                      4.8.0-19.el6_2.1                                         RHEL-62-Updates-x86_64                                          898 k

Total                                                                                                                                                                                                        714 kB/s |  52 MB     01:15     
Running rpm_check_debug                                                                                                                                                                                                                      
Running Transaction Test                                                                                                                                                                                                                     
Transaction Test Succeeded                                                                                                                                                                                                                   
Running Transaction                                                                                                                                                                                                                          
  Updating   : rpm-4.8.0-19.el6_2.1.x86_64

[snip]

  Cleanup    : rpm-4.8.0-19.el6.x86_64                                                                                                                                                                                                 47/56 
/var/tmp/rpm-tmp.nwtlzU: Zeile 2: /usr/X11R6/bin/mkfontdir: file or directory not found                                                                                                                                           
/var/tmp/rpm-tmp.nwtlzU: Zeile 3: /usr/X11R6/bin/mkfontdir: file or directory not found



The only package i found which contains mkfontdir:

yum whatprovides "*/mkfontdir"

[snip]                                                                                                                                                                                          | 2.2 MB     00:01
1:xorg-x11-font-utils-7.2-11.el6.x86_64 : X.Org X11 font utilities
Repo        : RHEL-62-x86_64
Matched from:
Filename    : /usr/bin/mkfontdir



1:xorg-x11-font-utils-7.2-11.el6.x86_64 : X.Org X11 font utilities
Repo        : installed
Matched from:
Filename    : /usr/bin/mkfontdir

Comment 2 Panu Matilainen 2012-04-18 09:04:19 UTC
Rpm simply executes what package scriptlets tell it to. This is a packaging flaw in some package(s) on your system, and AFAICS no RHEL-6 package tries to execute /usr/X11R6/bin/mkfontdir so its likely some 3rd party package.

You'll need to figure out the package with the offending scripts ('rpm -qa --scripts --triggeres' should help in that, also the packages present in the transaction might provide hints) and report the issue to the author of that (whether Red Hat or some other party).

Rpm bug this is not.