Bug#508444: mldonkey-server: server config /var/lib/mldonkey should be in /etc/mldonkey

2008-12-11 Thread Jari Aalto
Package: mldonkey-server
Version: 2.9.5-2
Severity: normal


The server configuration file (*.ini) at

  /var/lib/mldonkey

Should be relocated to directory

  /etc/mldonkey

See FHS for more information http://www.pathname.com/fhs/

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages mldonkey-server depends on:
ii  adduser3.110 add and remove users and groups
ii  debconf [debconf-2.0]  1.5.23Debian configuration management sy
ii  dpkg   1.14.22   Debian package management system
ii  libc6  2.7-13GNU C Library: Shared libraries
ii  libfreetype6   2.3.7-2   FreeType 2 font engine, shared lib
ii  libgcc11:4.3.2-1 GCC support library
ii  libgd2-noxpm   2.0.36~rc1~dfsg-3 GD Graphics Library version 2 (wit
ii  libjpeg62  6b-14 The Independent JPEG Group's JPEG 
ii  libpng12-0 1.2.27-1  PNG library - runtime
ii  libstdc++6 4.3.2-1   The GNU Standard C++ Library v3
ii  mime-support   3.44-1MIME files 'mime.types'  'mailcap
ii  ucf3.0010Update Configuration File: preserv
ii  zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime

mldonkey-server recommends no packages.

Versions of packages mldonkey-server suggests:
pn  makejail  none (no description available)

-- debconf information excluded



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



Bug#508444: mldonkey-server: server config /var/lib/mldonkey should be in /etc/mldonkey

2008-12-11 Thread Sylvain Le Gall
[Ce message a aussi été publié sur gmane.linux.debian.devel.ocaml.]
On 11-12-2008, Jari Aalto [EMAIL PROTECTED] wrote:
 Package: mldonkey-server
 Version: 2.9.5-2
 Severity: normal


 The server configuration file (*.ini) at

   /var/lib/mldonkey

 Should be relocated to directory

   /etc/mldonkey

 See FHS for more information http://www.pathname.com/fhs/


A long time ago, when I first use /var/lib/mldonkey, the reason was
quite clear: *.ini file (all .ini file in this directory) are loaded and
dumped by mlnet every now and then. 

The document you pointed, state about /etc/:
A configuration file is a local file used to control the operation of
a program; it must be static and cannot be an executable binary.
http://www.pathname.com/fhs/pub/fhs-2.3.html#ETCHOSTSPECIFICSYSTEMCONFIGURATION

But *.ini file in this directory are changed by the application at every
run. This files are in fact state variable. That is the reason I used
to move it to /var/lib/mldonkey.

If this is still the case (i.e. mlnet change .ini file), this is not a
bug to have these files in /var/lib.

Regards,
Sylvain Le Gall




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