[Bug 1377367] fontconfig cache in /var incompatible with ostree
model;
unable to `rpm-ostree install emacs`
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1377367
--- Comment #18 from Nicolas Mailhot <nicolas.mailhot(a)laposte.net> ---
Well, Fedora font package are one directory per srpm, it would probably not be
too hard to modify the macro to be one package by rpm (the hard part being
filesystem cration which is not automated today). And then rebuild all font
packages.
Though, of course, this may harm fontconfig performance. Not sure it it like
too many directories. And it would transform noarch packages to arch packages
which would be expensive for mirrors, given how bulky unicode fonts are.
On the plus side, installing noto would not kill systems performance for
minutes anymore.
--
You are receiving this mail because:
You are on the CC list for the bug.
7 years, 5 months
[Bug 1377367] fontconfig cache in /var incompatible with ostree
model;
unable to `rpm-ostree install emacs`
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1377367
--- Comment #14 from Akira TAGOH <tagoh(a)redhat.com> ---
(In reply to Matthew Miller from comment #11)
> Rather than moving the cache around -- or, I guess, in addition to it, but
> obviating an concern about FHS or dyanamic, unmanaged files in /usr, could
> we just pregenerate the cache files at _build_ time rather than install
> time? They appear to be arch specifc (well, word size and order specific)
> but not really host-specific.
At this moment, unfortunately the updates at the install time are required to
update the directory caches. there are two types of the caches in fontconfig.
one is to contain a font meta data to reduce the costs to iterate a font, which
could be generated at the build time (for Fedora at least. generally speaking,
maybe not, because the unit of the cache are per-directories not per-files).
one is to contain a directory meta data to reduce the costs to iterate files in
a directory and detect the updates, which is likely to be changed at the
install time.
--
You are receiving this mail because:
You are on the CC list for the bug.
7 years, 5 months
[Bug 1377367] fontconfig cache in /var incompatible with ostree
model;
unable to `rpm-ostree install emacs`
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1377367
--- Comment #12 from Matthew Miller <mattdm(a)redhat.com> ---
I agree with Colin's assessment that the FHS doesn't really cover this
situation well. From the section on /var:
/var is specified here in order to make it possible to mount /usr
read-only. Everything that once went into /usr that is written to
during system operation (as opposed to installation and software
maintenance) must be in /var.
But here, we're talking about stuff that is written specifically and only
during "installation and software maintenance". That's just not
well-accounted-for in the spec. Generate-at-build-time as I suggest above might
(I hope) work for fontconfig, but it won't for /etc/ld.so.cache -- and I guess
that living in /etc may be a reflection of the above problem.
--
You are receiving this mail because:
You are on the CC list for the bug.
7 years, 5 months