Bug 18573 - /etc/rc.d/init.d/xfs should chmod a+r, not just +r.
/etc/rc.d/init.d/xfs should chmod a+r, not just +r.
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: XFree86 (Show other bugs)
7.0
All Linux
high Severity high
: ---
: ---
Assigned To: Mike A. Harris
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-10-06 17:18 EDT by Geir Harald Hansen
Modified: 2005-10-31 17:00 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-11-14 12:43:47 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Geir Harald Hansen 2000-10-06 17:18:07 EDT
/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 16:22:12 EST
Thanks, fixed in rawhide.  Will appear shortly.

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