Bug 179362 - don't run fc-cache in /etc/init.d/xfs
Summary: don't run fc-cache in /etc/init.d/xfs
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-xfs
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: X/OpenGL Maintenance List
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: FC5Target
TreeView+ depends on / blocked
 
Reported: 2006-01-30 16:25 UTC by Matthias Clasen
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-02-01 03:09:28 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Matthias Clasen 2006-01-30 16:25:41 UTC
It is not necessary at all, since font packages are supposed
to run fc-cache in their %post

Comment 1 Mike A. Harris 2006-01-30 19:45:01 UTC
We can't guarantee that they do however, or that they rerun it when the
fonts get uninstalled.  Does fontconfig cleanly handle a font being
cached but no longer present?

Why do things work fine with FC4 and earlier, but in FC5 there is all
of a sudden a problem with calling fc-cache in xfs initscript?

I'm curious what the real problem here is, and would prefer to see that get
fixed.

I've CC'd Owen for additional thoughts

Comment 2 Matthias Clasen 2006-01-30 19:56:01 UTC
The real problem is being fixed. 

running fc-cache at boot time won't help anybody who has problems with fonts
being cached but no longer present. Unless you want to force an immediate reboot
after uninstalling a font package...

Comment 3 Mike A. Harris 2006-02-01 03:09:28 UTC
We've discussed this issue via email, however, for the benefit of other
developers and users who may wonder why this change is being made,
I thought I'd provide a brief rationale here that we can refer people
to for the future.

After the email discussion we've decided to remove the call to fc-cache
from the xfs initscript, as from an xfs package perspective fc-cache is
unrelated to xfs and core fonts, so shouldn't be called from xfs.init.  

It's considered to be a separate issue as to wether or not fc-cache should
be ran by any initscript at boot time or not, however if it is decided that
it should be ran, it should have its own /etc/rc.d/init.d/fontconfig script
perhaps, which is part of the fontconfig package.

The decision for wether that should happen or not is an orthagonal issue
that is beyond the scope of the xfs package however.  That decision is
up to the fontconfig maintainer et al.


I've made the changes and checked them into xfs CVS, however I haven't
built a new package yet as there are other changes I'd like to include
in the package soon.  It'll automatically get into rawhide in the next
build though, so I'm closing it as "RAWHIDE" for now.

Thanks guys.





Note You need to log in before you can comment on or make changes to this bug.