Package: mpdscribble
Version: 0.18-1
Severity: important

mpdscribble inappropriately treats debconf as a registry rather than a
cache; as debconf-devel(7) notes, you should set things up so that the
config script can populate the "current" answers to questions from
information stored elsewhere.

The main practical effect of this is that it does not fully take "no"
for an answer to mpdscribble/systemwide: although it indeed arranges
not to start it on boot, installation, or upgrade, the logrotate
configuration specifies and unconditional run of

    /etc/init.d/mpdscribble restart >/dev/null

which (per Policy) starts a new instance even if one hadn't been
running.

I would suggest adding a setting to /etc/default/mpdscribble
indicating whether a systemwide instance is actually desired, which
/etc/init.d/mpdscribble would then honor.  The postinst script could
then be a fair bit simpler, and you could generally address the
debconf misuse by arranging for the config script to make db_set calls
based on /etc/default/mpdscribble's contents (if any) prior to asking
the user what settings are now in order.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mpdscribble depends on:
ii  adduser                       3.110      add and remove users and groups
ii  cdebconf [debconf-2.0]        0.144      Debian Configuration Management Sy
ii  debconf [debconf-2.0]         1.5.27     Debian configuration management sy
ii  libc6                         2.9-19     GNU C Library: Shared libraries
ii  libglib2.0-0                  2.20.4-1   The GLib library of C routines
ii  libsoup2.4-1                  2.26.2-1   an HTTP library implementation in 
ii  lsb-base                      3.2-22     Linux Standard Base 3.2 init scrip
ii  ucf                           3.0018     Update Configuration File: preserv

mpdscribble recommends no packages.

Versions of packages mpdscribble suggests:
ii  mpd                           0.15-2     Music Player Daemon

-- debconf information:
  mpdscribble/user:
* mpdscribble/systemwide: false



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

Reply via email to