Bug 18573

Summary: /etc/rc.d/init.d/xfs should chmod a+r, not just +r.
Product: [Retired] Red Hat Linux Reporter: Geir Harald Hansen <redhat.com>
Component: XFree86Assignee: Mike A. Harris <mharris>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: high Docs Contact:
Priority: high    
Version: 7.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-11-14 17:43:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Geir Harald Hansen 2000-10-06 21:18:07 UTC
/etc/rc.d/init.d/xfs runs mkfontdir when needed.
It chmods only +r on fonts.dir and encodings.dir not at all.
Then it runs xfs -droppriv, which cannot read the files.

Fix:  chmod a+r fonts.dir encodings.dir

Also, the error message from xfs says that there is a bad font.  It should 
be saying that it is unable to open a file and which file that is.
(fonts.dir)

The result of this bug is that gdm keeps dying and restarting every 2 
seconds, as there is no xfs running.  Quite nasty and probably difficult 
to fix for a beginner.

Comment 1 Mike A. Harris 2001-03-01 21:22:12 UTC
Thanks, fixed in rawhide.  Will appear shortly.