Red Hat Bugzilla – Bug 435712
Sniff fails to start after install - no fonts found
Last modified: 2010-12-16 10:07:25 EST
Description of problem: # sniff Creating logfile at /tmp/dogtail/logs/sniff_20080303-093625_debug ... No fonts found; this probably means that the fontconfig library is not correctly configured. You may need to edit the fonts.conf configuration file. More information about fontconfig can be found in the fontconfig(3) manual page and on http://fontconfig.org Version-Release number of selected component (if applicable): dogtail-0.6.1-2.el5 How reproducible: 100% Steps to Reproduce: 1. Install a system. My kickstart packages section has: @development-tools @development-libs libxml2-python ntp expect pyOpenSSL emacs vim-enhanced 2. install and start vnc server 3. run sniff on the vnc server display Actual results: No fonts found. Application exits. Expected results: Application runs. Additional info: Installed font packages: libXfont-1.2.2-1.0.3.el5_1 xorg-x11-font-utils-7.1-2 fontconfig-2.4.1-7.el5 fontconfig-2.4.1-7.el5 chkfontpath-1.10.1-1.1 xorg-x11-fonts-base-7.1-2.1.el5 libfontenc-1.0.2-2.2.el5 libXfontcache-1.0.2-3.1 xorg-x11-fonts-ISO8859-1-75dpi-7.1-2.1.el5
After installing gedit it pulls up other dependencies and the error doesn't happen anymore. Installing: gedit Installing for dependencies: docbook-dtds ghostscript ghostscript-fonts gnome-python2-desktop gnome-python2-gnomeprint gnome-python2-gtksourceview gtksourceview libgnomecups libgnomeprint22 libgnomeprintui22 openjade opensp scrollkeeper sgml-common urw-fonts xml-common
Additional info: There are 3 separate bugs that go in the order: this bug, bug #435714, bug #435702
OK, that's really strange. I don't even know which package might have made the difference there.
From strace which is not included here I think that it is trying to find fonts in several directories, last of them being ~/.fonts. These probably do not exist (at least .fonts) and the application just exits. Follow the steps to reproduce and then strace sniff. Any other ideas how we can debug this?
On my Client install, sniff starts just fine. Then again, I have GNOME installed...
Zack, please try installing using a kickstart file containing %packages --ignoremissing @development-tools @development-libs libxml2-python ntp expect pyOpenSSL emacs vim-enhanced
This request was evaluated by Red Hat Product Management for inclusion, but this component is not scheduled to be updated in the current Red Hat Enterprise Linux release. If you would like this request to be reviewed for the next minor release, ask your support representative to set the next rhel-x.y flag to "?".