FS#1002 - ttf-ms-fonts and gdm restarting
Attached to Project:
Arch Linux
Opened by Kevin Piche (kpiche) - Wednesday, 16 June 2004, 15:43 GMT
Last edited by Dale Blount (dale) - Wednesday, 16 June 2004, 15:47 GMT
Opened by Kevin Piche (kpiche) - Wednesday, 16 June 2004, 15:43 GMT
Last edited by Dale Blount (dale) - Wednesday, 16 June 2004, 15:47 GMT
|
Details
After a system update GDM failed to start; it kept switching
between text and graphics continuously. The trouble was
tracked to the updated ttf-ms-fonts (1.3-5). Apparently GDM
wants fonts to be world readable but the fonts from the
package installed with perms 640.
$ ls -l /usr/X11R6/lib/X11/fonts/TTF total 7300 [snip] -r--r--r-- 1 root root 49224 Apr 26 13:07 VeraMono.ttf -r--r--r-- 1 root root 60280 Apr 26 13:07 VeraSe.ttf -r--r--r-- 1 root root 58736 Apr 26 13:07 VeraSeBd.ttf -rw-r----- 1 root root 105468 Jun 12 20:24 andalemo.ttf -rw-r----- 1 root root 275572 Jun 12 20:24 arial.ttf -rw-r----- 1 root root 286620 Jun 12 20:24 arialbd.ttf -rw-r----- 1 root root 224692 Jun 12 20:24 arialbi.ttf [snip] After a "chmod 444 /usr/X11R6/lib/X11/fonts/TTF/*.ttf" GDM restarted correctly. Not sure if this is a quirk of my machine or a umask issue but it can't hurt to add a chmod to the postinstall function. |
This task depends upon
this could be the missing link to the font problem, now we just need to find out why it's happening.
# umask
# pacman -R ttf-ms-fonts
# umask
# pacman -S ttf-ms-fonts
# umask
and report back here.
Thanks.
# umask
0027
# pacman -R ttf-ms-fonts
removing ttf-ms-fonts... done.
# umask
0027
# pacman -S ttf-ms-fonts
Targets: ttf-ms-fonts-1.3-5
Proceed with upgrade? [Y/n]
checking package integrity... done.
loading package data... done.
checking for file conflicts... done.
installing ttf-ms-fonts... done.
extracting fonts... done.
rebuilding font cache... done.
# umask
0027
# ls -l /usr/X11R6/lib/X11/fonts/TTF/arial*
-rw-r----- 1 root root 275572 Jun 16 17:12 /usr/X11R6/lib/X11/fonts/TTF/arial.ttf
-rw-r----- 1 root root 286620 Jun 16 17:12 /usr/X11R6/lib/X11/fonts/TTF/arialbd.ttf
-rw-r----- 1 root root 224692 Jun 16 17:12 /usr/X11R6/lib/X11/fonts/TTF/arialbi.ttf
-rw-r----- 1 root root 206132 Jun 16 17:12 /usr/X11R6/lib/X11/fonts/TTF/ariali.ttf
#
Looks like the umask. I also noticed that Mozilla doesn't start (returns the prompt) until the permissions are fixed. Good luck!
This will be fixed in the future globally by setting the umask when pacman runs.
will be the resolution for this bug...
Thanks for your help.