Bug 10883

Summary: xfs fails to start up causing X itself to fail starting up
Product: [Retired] Red Hat Linux Reporter: Charles R. Anderson <cra>
Component: XFree86Assignee: Preston Brown <pbrown>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2CC: mattdm, satan
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-05-30 18:32:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Charles R. Anderson 2000-04-17 23:57:01 UTC
The X Font Server fails to start up when /etc/rc.d/init.d/xfs calls
mkfontdir due to mkfontdir making non-world-readable fonts.dir files.
This also causes the X server to fail starting up.  To fix this, insert a
umask command before mkfontdir is called in the init script:

buildfontlist() {
	umask 022
        for d in /usr/X11R6/lib/X11/fonts/* /usr/X11R6/lib/X11/fonts/*/*
/usr/share/fonts/* /usr/share/fonts/*/*; do

Comment 1 SB 2000-05-15 15:28:59 UTC
Is your system setup different than default, because I haven't
experienced this problem and I have setup two separate systems
with 6.2 and the permissions have been correct on both and xfs
has been starting up normal.  Did you upgrade or something?

-Stan Bubrouski

Comment 2 Charles R. Anderson 2000-05-15 15:36:59 UTC
Not that I know of.  Perhaps my default umask for root is different, but
I just now experienced the same problem on a brand new install on an
alpha.  It only seems to show up after the next reboot after running X.
(i.e., it did not happen the first time I started up X.)  After rebooting,
xfs reports "[ OK ]" on startup, but "ps auxw|grep xfs" shows that xfs is
not actually running.

Comment 3 Preston Brown 2000-05-30 18:32:59 UTC
have you changed your default root umask?

Comment 4 Preston Brown 2000-06-26 19:32:59 UTC
you have changed your default root umask, but I have adjusted the xfs init
script to check for this for our next release.