Bug 813665 - rpm-4.8.0-19.el6 tries to run /usr/X11R6/bin/mkfontdir during cleanup
rpm-4.8.0-19.el6 tries to run /usr/X11R6/bin/mkfontdir during cleanup
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: rpm (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: Panu Matilainen
BaseOS QE Security Team
Depends On:
  Show dependency treegraph
Reported: 2012-04-18 03:26 EDT by Florian Hubold
Modified: 2012-04-18 05:04 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-04-18 05:04:19 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Florian Hubold 2012-04-18 03:26:21 EDT
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


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


  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 05:04:19 EDT
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.

Note You need to log in before you can comment on or make changes to this bug.