Re: morning update, using smart

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Saturday 17 March 2007, Sam Varshavchik wrote:
>Gene Heskett writes:
>> On Saturday 17 March 2007, Sam Varshavchik wrote:
>>>Gene Heskett writes:
>>>> On Saturday 17 March 2007, Sam Varshavchik wrote:
>>>>>Michael Schwendt writes:
>>>>>> On 17/03/07, Gene Heskett wrote:
>>>>>>> [root@coyote ~]# /usr/bin/fc-cache /usr/share/fonts
>>>>>>> /usr/share/fonts: failed to write cache
>>>>>>> /usr/share/fonts/bitmap-fonts: failed to write cache
>>>>>>
>>>>>> Are all those directories writable?
>>>>>
>>>>>All directories are writable by root.
>>>>>
>>>>>If these directories exist, check /var/log/messages for disk errors,
>>>>> then allocate some time for a brick replacement.
>>>>
>>>> With a chmod -R 0777 /usr/share/fonts in effect, Sam, I'd certainly
>>>> think so.
>>>>
>>>> And the log is totally bereft of any usefull clues:
>>>
>>>Then the next step would be "strace -o strace.log -s 256 -f -F
>>>/usr/bin/fc-cache /usr/share/fonts".
>>
>> I did this, then searched the strace.log for mentions of cache, as
>> in /var/cache.  There is none, all mentions of cache are in the error
>> strings it printing, except for this one:
>>
>> 24952 open("/etc/ld.so.cache", O_RDONLY) = 3
>>
>> the next hit starts here:
>> 24952 open("/usr/share/fonts", O_RDONLY|O_NONBLOCK|O_LARGEFILE|
>> O_DIRECTORY) = 3
>> 24952 fstat64(3, {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
>> 24952 fcntl64(3, F_SETFD, FD_CLOEXEC)   = 0
>> 24952 getdents(3, /* 13 entries */, 4096) = 292
>> 24952 getdents(3, /* 0 entries */, 4096) = 0
>> 24952 stat64("/usr/share/fonts/bitmap-fonts", {st_mode=S_IFDIR|0777,
>> st_size=4096, ...}) = 0
>> 24952 stat64("/usr/share/fonts/bitstream-vera", {st_mode=S_IFDIR|0777,
>> st_size=4096, ...}) = 0
>> 24952 stat64("/usr/share/fonts/default", {st_mode=S_IFDIR|0777,
>> st_size=4096, ...}) = 0
>> 24952 stat64("/usr/share/fonts/dejavu-fonts", {st_mode=S_IFDIR|0777,
>> st_size=4096, ...}) = 0
>> 24952 stat64("/usr/share/fonts/dejavu-lgc", {st_mode=S_IFDIR|0777,
>> st_size=4096, ...}) = 0
>> 24952 stat64("/usr/share/fonts/japanese", {st_mode=S_IFDIR|0777,
>> st_size=4096, ...}) = 0
>> 24952 stat64("/usr/share/fonts/linux-libertine",
>> {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
>> 24952 stat64("/usr/share/fonts/msttcorefonts", {st_mode=S_IFDIR|0777,
>> st_size=4096, ...}) = 0
>> 24952 stat64("/usr/share/fonts/perl", {st_mode=S_IFDIR|0777,
>> st_size=4096, ...}) = 0
>> 24952 stat64("/usr/share/fonts/terminus-font", {st_mode=S_IFDIR|0777,
>> st_size=4096, ...}) = 0
>> 24952 stat64("/usr/share/fonts/tv-fonts", {st_mode=S_IFDIR|0777,
>> st_size=4096, ...}) = 0
>> 24952 close(3)                          = 0
>> 24952 stat64("/usr/share/fonts", {st_mode=S_IFDIR|0777,
>> st_size=4096, ...}) = 0
>> 24952 write(2, "/usr/share/fonts: failed to write cache\n", 40) = 40
>>
>> With a few exceptions, all the hits on 'cache' look quite similar.
>>
>> Thanks for any advice that might fix this, everybody.
>
>Poking around fontconfig's source -- try zapping the contents of
>/var/cache/fontconfig.
>
>Err, better yet, move the contents of /var/cache/fontconfig someplace
> else, temporarily, in case removing those things just makes things
> worse.

Not one dotted i's diff, so I moved it back.  Then I noted that /etc/fonts 
had perms that were a bit claustrophobic (no w at all) so I did from 
the /etc dir, a 

chmod -R 0777 fonts

but this also make no difference.

The absolutely oldest date of any (dir)file in that tree is Nov 9, 2006, 
so that must have been when I installed FC6, but that seems to be a bit 
early.  The absolutely latest date is Jan 5, 2007.

In /etc/fonts/conf.avail, a directory created on Nov 9, all the files are 
1 Oct dated.

In /etc/fonts.conf.d a directory created on Jan 26, 2007, all the files 
are much older, with the newest ones being made on Nov 9th 2006.

The rest of the files in /etc/fonts:
-rwxrwxrwx 1 root root  8637 Dec 21  2004 Fontmap
-rwxrwxrwx 1 root root 11489 Jan  5  2005 fonts.conf
-rwxrwxrwx 1 root root  5840 Jan  5  2005 fonts.dtd
-rwxrwxrwx 1 root root  1070 Sep 27  2004 local.conf
are much older than that.

That was me that set all the perms wide open of course.

So, I still have the problem, and so far none of these 'clues' (now there 
is another oxymoron if ever there was such a thing) do not seem to be 
meaning much to this particular wannabe Sherlock Holmes.

Help!

Thanks.

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Order and simplification are the first steps toward mastery of a subject
-- the actual enemy is the unknown.
		-- Thomas Mann


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux