On Tue, Mar 30, 2004 at 12:10:12AM +0300, you [Ville Herva] wrote:
The problem was that ttmkfdir segfaults when I do "service xfs restart". In
fact, it segfaults when I run it in any truetype font directory, and as
fonts.scale is missing, no ttf fonts are available.
I recreated the fonts.scale files by copying the ttf font dirs to a backup
snapshot directory from couple of days ago, chrooting there and running
ttmkfdir manually. After this, I get the ttf fonts back.
I tried
LD_LIBRARY_PATH=/backup-versioned/2004-03-19T052000/usr/lib:/backup-versioned/2004-03-19T052000/lib
ttmkfdir
but it still crashes.
Forgot to mention that I also tried
LD_LIBRARY_PATH=/backup-versioned/2004-03-19T052000/usr/lib:/backup-versioned/2004-03-19T052000/lib
/backup-versioned/2004-03-19T052000/usr/bin/ttmkfdir
and verified with strace that it actually loads the libraries from
/backup-versioned/2004-03-19T052000. Still crashes.
However, when I replace /usr/X11R6/lib/X11/fonts/encodings/ with the older
version, it works. The failing encodings directory is from
xorg-x11-base-fonts-0.0.6.6-0.0.2004_03_11.9, the working is from
XFree86-base-fonts-4.3.0-63.
I'll file a bugzilla case.
-- v --
v(a)iki.fi