Package: slimserver
Version: 6.3.0-4
Severity: normal

Every Sunday morning at 6:30, the slimserver log is rotated, and my
player (which is on infinite-loop random-by-album, 750 albums and about
10K songs which should take three weeks to play completely) stops.

This is annoying.  When it restarts, it's randomized differently (starting
from the album playing when it was killed by the log disappearance), but it
means that instead of playing the entire list before randomizing and
starting over, I only get about a third of it, and some things get played
much more often than they would if it continued as I have it set.

I don't think that this is an upstream, since it is an interaction with the
debian logrotate facility.  In fact, the problem is clearly that slimserver
is forced to restart in the script in /etc/logrotate.d/slimserver.

On the other hand, maybe it is an upstream.  The logfile is not initialized
in initSettings() (where it would respond to a sighup, which is what the
init script's reload sends (via start-stop-daemon)), but in daemonize(),
which is only called once on start (or restart).

There isn't a good workaround.  Failing to rotate the logs is liable to lead
to them growing to unacceptable dimensions; there isn't a good built-in way
to signal the daemon that its logfile has been rotated out.  The
least-dangerous way to stop it from dying every Sunday morning seems to be
to disable logging, and then disable log rotation--which means that any
*other* problems are liable to be that much harder to diagnose.


-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.10
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages slimserver depends on:
ii  adduser                     3.101        Add and remove users and groups
ii  debconf                     1.5.11       Debian configuration management sy
ii  flac                        1.1.2-5      Free Lossless Audio Codec - comman
ii  libcache-cache-perl         1.05-2       Managed caches of persistent infor
ii  libclass-accessor-chained-p 0.01-2       make chained accessors
ii  libclass-data-inheritable-p 0.04-1       Inheritable, overridable class dat
ii  libclass-dbi-abstractsearch 0.07-2       Abstract Class::DBI's SQL with SQL
ii  libclass-dbi-pager-perl     0.08-2       Pager utility for Class::DBI
ii  libclass-dbi-plugin-perl    0.03-4       Abstract base class for Class::DBI
ii  libclass-dbi-plugin-retriev 1.04-2       A more complex retrieve_all() meth
ii  libclass-singleton-perl     1.03-7       perl Class::Singleton - Implementa
ii  libclass-trigger-perl       0.10-2       Mix-in to add / call inheritable t
ii  libclass-virtual-perl       0.05-2       Base class for virtual base classe
ii  libclass-whitehole-perl     0.04-4       Base class to treat unhandled meth
ii  libcompress-zlib-perl       1.42-2       Perl module for creation and manip
ii  libdata-page-perl           2.00-3       Help when paging through sets of r
ii  libdbd-sqlite3-perl         1.13-1.1     Perl DBI driver with a self-contai
ii  libdbi-perl                 1.53-1       Perl5 database interface by Tim Bu
ii  libdbix-contextualfetch-per 1.03-2       Add context aware fetches to DBI
ii  libfile-slurp-perl          9999.09-1    single call read & write file rout
ii  libfile-which-perl          0.05-7       Perl module for searching paths fo
ii  libgd-gd2-perl              1:2.34-1     Perl module wrapper for libgd - gd
ii  libhtml-parser-perl         3.55-1       A collection of modules that parse
ii  libima-dbi-perl             0.34-3       Database connection caching and or
ii  libio-string-perl           1.08-2       Emulate IO::File interface for in-
ii  libnet-dns-perl             0.59-1       Perform DNS queries from a Perl sc
ii  libnet-ip-perl              1.25-2       Perl extension for manipulating IP
ii  libpath-class-perl          0.15-1       Cross-platform path specification 
ii  librpc-xml-perl             0.59-1       Perl module implementation of XML-
ii  libsoap-lite-perl           0.69-1       Client and server side SOAP implem
ii  libsql-abstract-limit-perl  2:0.12-1     portable LIMIT emulation
ii  libsql-abstract-perl        1.21-2       Generate SQL from Perl data struct
ii  libtemplate-perl            2.14-1       template processing system written
ii  libtie-regexphash-perl      0.13-1       CPAN's Tie::RegexpHash - Use regul
ii  libtime-modules-perl        2003.1126-2  Various Perl modules for time/date
ii  libtimedate-perl            1.1600-5     Time and date functions for Perl
ii  libuniversal-moniker-perl   0.08-4       Nicer names for your Perl modules/
ii  libwww-perl                 5.805-1      WWW client/server library for Perl
ii  libxml-namespacesupport-per 1.09-3       Perl module for supporting simple 
ii  libxml-sax-perl             0.14-0.1     Perl module for using and building
ii  libxml-simple-perl          2.14-5       Perl module for reading and writin
ii  perl                        5.8.8-7      Larry Wall's Practical Extraction 
ii  sox                         12.18.2-2    A universal sound sample translato
ii  subversion                  1.4.2dfsg1-2 Advanced version control system
ii  ttf-bitstream-vera          1.10-7       The Bitstream Vera family of free 
ii  vorbis-tools                1.1.1-6      several Ogg Vorbis tools

slimserver recommends no packages.

-- debconf information:
* slimserver/download-firmware: false


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to