Bug#612042: quassel-core inappropriately uses /var/cache for data and configuration

2011-02-16 Thread Thomas Müller

On Fri, 4 Feb 2011 23:08:40 -0600, Tony Gies wrote:

Package: quassel-core
Version: 0.7.1-1

quassel-core stores things in /var/cache it oughtn't:

$ ls -A /var/cache/quassel
.config quasselCert.pem quasselcore.conf quassel-storage.sqlite

Quoting the Linux FHS

(http://www.pathname.com/fhs/pub/fhs-2.3.html#VARCACHEAPPLICATIONCACHEDATA):

/var/cache is intended for cached data from applications. Such data
is locally generated as a result of time-consuming I/O or 
calculation.

The application must be able to regenerate or restore the data.

This is clearly not true of the quassel configuration file nor the
SQLite database in which all chat logs and other user data are 
stored.

It is supposed to be possible to blow away the contents of /var/cache
without any actual loss of data, but that is not the case for this
package. /var/lib/quassel would be a more appropriate location
according to the FHS and (my interpretation of) Debian's
interpretation of them.


THX for pointing this out - I'll have a look.

Take care,

Thomas



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#612042: quassel-core inappropriately uses /var/cache for data and configuration

2011-02-04 Thread Tony Gies
Package: quassel-core
Version: 0.7.1-1

quassel-core stores things in /var/cache it oughtn't:

$ ls -A /var/cache/quassel
.config quasselCert.pem quasselcore.conf quassel-storage.sqlite

Quoting the Linux FHS
(http://www.pathname.com/fhs/pub/fhs-2.3.html#VARCACHEAPPLICATIONCACHEDATA):

/var/cache is intended for cached data from applications. Such data
is locally generated as a result of time-consuming I/O or calculation.
The application must be able to regenerate or restore the data.

This is clearly not true of the quassel configuration file nor the
SQLite database in which all chat logs and other user data are stored.
It is supposed to be possible to blow away the contents of /var/cache
without any actual loss of data, but that is not the case for this
package. /var/lib/quassel would be a more appropriate location
according to the FHS and (my interpretation of) Debian's
interpretation of them.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org