Hi! FHS should make clear whether the dirs under /var/cache can be deleted or not.
The FHS, section 5.2, says:
[...]
/var/cache is intended for cached data [...] The application must be
able to regenerate or restore the data. Unlike /var/spool, the cached
files can be deleted without data loss.
[...]
Now many apps in Debian will choke on *directories* under /var/cache
being removed. Matt Zimmerman says to this (in the Bug#241901 thread):
> On Sat, Apr 03, 2004 at 11:50:33AM -0800, Matt Zimmerman wrote:
> > If you read the FHS more closely, you see that it only refers to the
> > deletion of _files_ under /var/cache, not directories.
Which is right, but: as directory is a special kind of a file, the
wording there is ambiguous, or misleading, at least (*I* was mislead).
I'd suggest the progs being able to survive the deletion of *anything*
under /var/cache, and FHS being worded more clearly.
Cheers,
Jan.
--
``[A]le vubec si to nezaslouzis, takze ti doporucuju abys pokracoval standardni
... cestou a nasel si nejblizsi oficialni ap.''
-- Lukas Holubicka alias Skrin
pgpcvA4caqQTD.pgp
Description: PGP signature

