[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



On 11-12-2008, Jari Aalto <jari.aalto@cante.net> 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


Reply to: