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.