On 12/25/2010 10:37 AM, Joost van Baal wrote:
>
>> As for the current bug, I'd like to point out that noip2 configuration and 
>> runtime state has always been kept in a binary "configuration" file.
>> This doesn't match the Debian policy, and the current "abuse" of debconf
>> is the result of a our deliberate attempt to workaround it.
>>     
> As documented in Bug #430842, I just found out.  

There's more background in bug #485725 [1]. This issue keeps coming up,
our best intentions not withstanding.


> However, this still is a
> serious bug.  Currently, someone who makes local changes to the content of the
> configuration file /var/lib/noip2/noip2.conf by running the noip2 client will
> lose her changes at an upgrade.
>
> Currently, no-ip offers debconf support for managing username, password,
> updating, matchlist, netdevice and forcenatoff.  I assume this is generally
> really sufficient to use no-ip.
>   

Well, user changes will not be lost if the user performs them via
dpkg-reconfigure. I'm not sure, however, if this is specifically
documented anywhere.

> An extra plain text conffile needs to be introduced, and the
> advice in debconf-devel(7)'s "ADVANCED PROGRAMMING WITH DEBCONF - Config file
> handling" needs to be followed.  Users should be advised not to change
> /var/lib/noip2/noip2.conf directly.  I believe this way one fully adheres to
> http://www.debian.org/doc/debian-policy/ch-files.html#s10.7.2 .  It won't be
> trivial...
>   

I was under the impression that the current situation conforms with the
debian policy, but I may be wrong.

Your suggested solution makes sense, and I agree with your assessment
that it won't be trivial to implement.

Note that noip2 already contains significant debian-specific patches, in
order to support configuration via debconf, and supporting plain a text
conffile will only add to this unhealthy situation.

In any case, I don't have the time to tackle this, and no real
motivation, since, as I mentioned, I'm quite happy using a different
update client (namely, ddclient [2]).

Thanks,
Avi



> Bye,
>
> Joost
>
>   

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=485725
[2] http://packages.debian.org/search?keywords=ddclient

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to