Re: msttcorefonts install breaks FC6 printing, help!

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

 



On Thursday 25 January 2007 13:24, Craig White wrote:
>On Thu, 2007-01-25 at 11:00 -0500, Gene Heskett wrote:
>> On Thursday 25 January 2007 07:13, Craig White wrote:
>> >On Thu, 2007-01-25 at 03:01 -0500, Gene Heskett wrote:
>> >> Greetings;
>> >>
>> >> I installed the msttcorefonts-2.0.1-noarch.rpm 2 nights ago, and
>> >> now see that amanda is unable to print her backup reports.  From
>> >> the looks of the error, nothing will print, and I now have 2 amanda
>> >> printouts sitting in the print queue, all failing with an Invalid
>> >> fonts in findfonts error.
>> >>
>> >> When the rpm ran its postinstall thing, it only does two things,
>> >> wrapped in bash conditionals:
>> >>
>> >> /usr/sbin/chkfontpath --add /usr/share/fonts/msttcorefonts
>> >>
>> >> which apparently runs ok, no errors are reported.
>> >> But then it runs
>> >> /usr/bin/fc-cache which spits out this:
>> >>
>> >> /usr/share/fonts: failed to write cache
>> >> /usr/share/fonts/bitmap-fonts: failed to write cache
>> >> /usr/share/fonts/bitstream-vera: failed to write cache
>> >> /usr/share/fonts/default: failed to write cache
>> >> /usr/share/fonts/default/Type1: failed to write cache
>> >> /usr/share/fonts/default/ghostscript: failed to write cache
>> >> /usr/share/fonts/dejavu-lgc: failed to write cache
>> >> /usr/share/fonts/japanese: failed to write cache
>> >> /usr/share/fonts/japanese/TrueType: failed to write cache
>> >> /usr/share/fonts/japanese/misc: failed to write cache
>> >> /usr/share/fonts/msttcorefonts: failed to write cache
>> >> /usr/share/fonts/perl: failed to write cache
>> >> /root/.fonts: failed to write cache
>> >> /root/.fonts/kde-override: failed to write cache
>> >> /usr/local/share/fonts: failed to write cache
>> >>
[...]
>[root@localhost ~]# rpm -q msttcorefonts
>msttcorefonts-1.3-4
>
>[root@localhost ~]# /usr/sbin/chkfontpath \
>--add /usr/share/fonts/msttcorefonts
>chkfontpath: /usr/share/fonts/msttcorefonts already in list
>[root@localhost ~]#
>
>I have had the msttcorefonts installed on this machine since day 1
>(FC-6, install via kickstart and using local repo's)
>
>No such problems on my end - must be something with your setup.

The only thing I can see that's different between the FC5 install that's 
working and this one that isn't is the stuff that is supposed to be 
disabled, selinux stuffs.  On the fc5 box, the /usr/share/fonts directory 
has an ls --scontext output of:

system_u:object_r:fonts_t name_of_subdir
for all subdirs with three of them having a final :s0 appended.

/usr/share/fonts oon this broken box, ls --scontext outputs:

system_u:object_r:fonts_t:s0     bitmap-fonts
system_u:object_r:fonts_t:s0     bitstream-vera
system_u:object_r:fonts_t:s0     default
system_u:object_r:fonts_t:s0     dejavu-lgc
system_u:object_r:fonts_t:s0     japanese
                                 msttcorefonts
system_u:object_r:fonts_t:s0     perl

And in the /root/.fonts, it shows:
root:object_r:user_home_t:s0     abogada_loco.ttf
root:object_r:user_home_t:s0     Alexei_CopperplateITC-Normal.ttf
root:object_r:user_home_t:s0     andalemo.ttf
root:object_r:user_home_t:s0     arialbd.ttf
root:object_r:user_home_t:s0     arialbi.ttf
root:object_r:user_home_t:s0     ariali.ttf
root:object_r:user_home_t:s0     arial.ttf
root:object_r:user_home_t:s0     ariblk.ttf

yadda yadda another 100 times.  But selinux is supposed to be disabled.

And I can make a file with touch in any of those directories fc-cache 
spits out as unpalatable.

I even tried another version of fc-cache from a different release, it 
works exactly the same.

I've stared at restorecon's limited manpage for about a hour now without 
the required context/syntax for anything becoming obvious enough to fix 
things to match what they should be.

>Craig

-- 
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)
Yahoo.com and AOL/TW attorneys please note, additions to the above
message by Gene Heskett are:
Copyright 2007 by Maurice Eugene Heskett, all rights reserved.

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux