Bug#638030: libgtk2.0-bin: /usr/share/icons/gnome/icon-theme.cache violates FHS chapter 4

Carsten Hey carsten at debian.org
Wed Aug 17 20:38:40 UTC 2011


* Josselin Mouette [2011-08-17 02:10 +0200]:
> Le mardi 16 août 2011 à 20:22 +0200, Axel Beckert a écrit :
> > /usr/share/icons/gnome/icon-theme.cache is not part of any package, but
> > according to gtk-update-icon-cache(1), it is a cache file generated by
> > gtk-update-icon-cache.
> >
> > This behaviour violates the File Hierachy Standard, chapter 4: "[...]
> > /usr is [...], read-only data. That means that /usr [...] must not be
> > written to. Any information that is host-specific or varies with time is
> > stored elsewhere. [...]"
> >
> > gtk-update-icon-cache should use /var/cache for such caches.
>
> This cache is only ever written upon dpkg invocation, through a trigger.
> It is not host-specific, and does not vary with time - unless you count
> upgrading packages as “varying with time”, which would make all files
> under /usr fall under this rule.
>
> This file is under control of gnome-icon-theme, which is in charge of
> setting the trigger and cleaning up on package removal.

gnome-icon-theme-extras also uses /usr/share/icons/gnome/

> Again, there is no policy violation here.

Is the content of this cache file architecture dependent or at least
depending on the endianness?

Carsten






More information about the pkg-gnome-maintainers mailing list