Bug 57788 - Messed up font configuration after an update
Summary: Messed up font configuration after an update
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: XFree86
Version: 1.0
Hardware: alpha
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Mike A. Harris
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-12-22 23:40 UTC by Michal Jaegermann
Modified: 2007-04-18 16:38 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-02-06 05:00:24 UTC
Embargoed:


Attachments (Terms of Use)

Description Michal Jaegermann 2001-12-22 23:40:52 UTC
Description of Problem:

I have seen manifestations of this problem not only on alpha and with
other releases 4.1.0-14 but this has to be filed somewhere. :-)
After an update X server does not want to start because "fixed" font
cannot be found.  A closer investigation reveals that in various
subdirectories of /usr/X11R6/lib/X11/fonts/ files like 'fonts.dir'
and/or 'encodings.dir' are missing apparently at random.

Various font packages execute the same postinstallation script which
looks like this:

  for fontdir in 100dpi 75dpi CID Speedo Type1 misc \
                 latin2/{Type1} ;do
    umask 133;/usr/X11R6/bin/mkfontdir -e \
    /usr/X11R6/lib/X11/fonts/encodings -e \    
    /usr/X11R6/lib/X11/fonts/encodings/large \
    /usr/X11R6/lib/X11/fonts/$fontdir || :
    /usr/sbin/chkfontpath -q -a /usr/X11R6/lib/X11/fonts/$fontdir || :
  done

Executing "manually" just mkfontdir-part of the loop above restores
sanity immediately.  Is this 'chkfontpath' responsible for the resulting
mess?  On this particular test installation the following packages
were really used in an update:

XFree86-100dpi-fonts-4.1.0-14.alpha.rpm
XFree86-75dpi-fonts-4.1.0-14.alpha.rpm
XFree86-cyrillic-fonts-4.1.0-14.alpha.rpm
XFree86-ISO8859-15-100dpi-fonts-4.1.0-14.alpha.rpm
XFree86-ISO8859-15-75dpi-fonts-4.1.0-14.alpha.rpm
XFree86-ISO8859-2-100dpi-fonts-4.1.0-14.alpha.rpm
XFree86-ISO8859-2-75dpi-fonts-4.1.0-14.alpha.rpm
XFree86-ISO8859-9-100dpi-fonts-4.1.0-14.alpha.rpm
XFree86-ISO8859-9-75dpi-fonts-4.1.0-14.alpha.rpm

Comment 1 Mike A. Harris 2002-01-23 20:29:53 UTC
Once X is updated, both xfs and XFree86 need to be restarted and
everything should work fine.  I can't reproduce the problem you're
describing.

Comment 2 Michal Jaegermann 2002-01-23 21:53:13 UTC
Well, sure, but restarting X and xfs does not help with recreating various
missing 'fonts.dir' and encoding files.  It was actually hard to notice
that something is funny without restarting xfs.

I have suspicions, but not a "smoking gun", that the problem is some mixup
during updates when fonts with various encodings are installed.  When you
tried to reproduce did you have only iso8859-1 fonts on a machine or some
other ones as well?

Comment 3 Mike A. Harris 2002-08-08 11:00:50 UTC
Problem is not reproduceable in rawhide currently.  Closing as
fixed in rawhide.


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