Package: mt-daapd
Version: 0.9~r1696-1.2
Severity: normal
Tags: patch

The Debian package creates the database/cache directory
    /var/cache/mt-daapd

However, the package-supplied /etc/mt-daapd.conf contains the entry:
    db_parms = /usr/var/cache/mt-daapd

..Which will cause the /var/cache/mt-daapd directory to be ignored, and
an entirely new directory tree to be created under /usr/var.

Enclosed trivial patch modifies /etc/mt-daapd.conf to refer to the
presumably-intended /var/cache/mt-daapd directory. Hope this helps!

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (200, 'stable'), (50, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.16.30.2006110301 (PREEMPT)
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1) (ignored: LC_ALL set to 
en_GB)
Shell: /bin/sh linked to /bin/bash

Versions of packages mt-daapd depends on:
ii  adduser                 3.105            add and remove users and groups
ii  avahi-daemon            0.6.22-2         Avahi mDNS/DNS-SD daemon
ii  libavahi-compat-howl0   0.6.22-2         Avahi Howl compatibility library
ii  libavcodec1d            0.cvs20070307-6  ffmpeg codec library
ii  libavformat1d           0.cvs20070307-6  ffmpeg file format library
ii  libavutil1d             0.cvs20070307-6  ffmpeg utility library
ii  libc6                   2.7-2            GNU C Library: Shared libraries
ii  libflac8                1.2.1-1.1        Free Lossless Audio Codec - runtim
ii  libid3tag0              0.15.1b-10       ID3 tag reading library from the M
ii  libogg0                 1.1.3-2          Ogg Bitstream Library
ii  libsqlite3-0            3.4.2-1          SQLite 3 shared library
ii  libtagc0                1.4-8+b1         TagLib Audio Meta-Data Library (C 
ii  libvorbis0a             1.2.0.dfsg-2     The Vorbis General Audio Compressi
ii  libvorbisfile3          1.2.0.dfsg-2     The Vorbis General Audio Compressi
ii  zlib1g                  1:1.2.3.3.dfsg-5 compression library - runtime

mt-daapd recommends no packages.

-- no debconf information
--- mt-daapd.conf.org   2008-04-03 18:07:32.000000000 +0100
+++ mt-daapd.conf       2008-04-03 18:07:47.000000000 +0100
@@ -71,7 +71,7 @@
 # must be writable by the "runas" user.
 #
 
-db_parms = /usr/var/cache/mt-daapd
+db_parms = /var/cache/mt-daapd
 
 #
 # mp3_dir (required)

Reply via email to