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

Re: msttcorefonts install breaks FC6 printing, help!



On Fri, 2007-01-26 at 00:58 -0500, Gene Heskett wrote:
> 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.
----
if selinux is disabled, it isn't going to matter.

perhaps you should figure out if selinux is or isn't disabled.

Craig


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