quassel-core inappropriately uses /var/cache for data and configuration

Bug #713462 reported by Tony Gies
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
quassel (Debian)
Fix Released
Unknown
quassel (Ubuntu)
Fix Released
High
Scott Kitterman

Bug Description

Binary package hint: quassel-core

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. /var/lib/quassel would be a more appropriate location.

Ubuntu 10.04.2, quassel-core 0.6.1-0ubuntu1.1

Changed in quassel (Debian):
status: Unknown → New
Changed in quassel (Ubuntu):
assignee: nobody → Scott Kitterman (kitterman)
importance: Undecided → High
milestone: none → ubuntu-11.04-beta-1
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package quassel - 0.7.2-0ubuntu1

---------------
quassel (0.7.2-0ubuntu1) natty; urgency=low

  * New upstream bug fix release
  * Move quassel-core data dir from /var/cache to /var/lib (LP: #713462)
    - Add quassel-core.preinst to move existing data
    - Update debian/quasselcore-makecert, quassel-core.postinst,
      quassel-core.postrm, and quassel-core.quasselcore.init for the new data
      dir location
  * Increase startup time allowance in debian/quassel-core.quasselcore.init to
    reduce incidence of startup failures (LP: #480022)
    - Thanks to Ralph Janke for the patch
  * Update configdir description in debian/mans/quasselcore.pod to not
    specifically mention SQLite since other database types are also supported
  * Drop temporary versioning libindicate-qt-dev build-depend
 -- Scott Kitterman <email address hidden> Thu, 24 Mar 2011 09:57:49 -0400

Changed in quassel (Ubuntu):
status: In Progress → Fix Released
Changed in quassel (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.