On 10/25/2010 11:51 AM, martin f krafft wrote: > Package: mldonkey-server Version: 3.0.3-2 Severity: serious > > mldonkey renames downloads.ini to downloads.dpkg on upgrade and > installs a new downloads.ini without migrating the settings. As a > result, mldonkey starts up with different settings after an upgrade. >
I could probably fix this in the postinst by removing the "mv" part in "Downloads.ini" section (leaving a backup is probably a good idea too). Could you please test and report back? > I think this is a policy violation, even though the configuration > file is not in /etc (which is in and of itself also a policy > violation). The configuration file might not be designed to be > user-editable, but a change to a global setting made via the GUI > should not be overwritten on an upgrade either. > This is indeed badly designed in mldonkey and I don't want to change this behaviour to not diverge from upstream's code. mldonkey modifies those files and that's why they are not present in /etc but in /var. IMO, if we want to change this behaviour we should discuss this with upstream first. In the meantime, this is not a policy violation since those files are handled by the daemon and are changed by the daemon, they are *not* user configuration files, nor server configuration files… but simply the dump of configuration presently used by the daemon. Regards, -- Mehdi Dogguy مهدي الدڤي http://dogguy.org/ -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

