Hi Gregor

On Tue, Sep 04, 2012 at 12:03:45AM +0200, gregor herrmann wrote:
> Control: tag -1 + patch
> 
> On Thu, 26 Jan 2012 13:36:43 +0100, Andreas Beckmann wrote:
> 
> >   Preparing to replace conserver-client 8.1.16-3 (using 
> > .../conserver-client_8.1.18-1_amd64.deb) ...
> >   Unpacking replacement conserver-client ...
> >   ...
> >   Setting up conserver-client (8.1.18-1) ...
> >   
> >   Configuration file `/etc/conserver/console.cf'
> >    ==> Modified (by you or by a script) since installation.
> >    ==> Package distributor has shipped an updated version.
> >      What would you like to do about it ?  Your options are:
> >       Y or I  : install the package maintainer's version
> >       N or O  : keep your currently-installed version
> >         D     : show the differences between the versions
> >         Z     : start a shell to examine the situation
> >    The default action is to keep your current version.
> >   *** console.cf (Y/I/N/O/D/Z) [default=N] ? dpkg: error processing 
> > conserver-client (--configure):
> >    EOF on stdin at conffile prompt
> >   Errors were encountered while processing:
> >    conserver-client
> 
> Attached is a first attempt to handle the config file in a better
> way.
> 
> Feedback welcome.

I found a problem on handling of debconf values (but it seems already
coming from before, not yet checked in detail). If I have the
config-file configured with a server and port, and run
dpkg-reconfigure conserver-client again it rewrites wrongly the
console.cf:

root@wheezy:/etc/conserver# cat console.cf

# default config for console
config * {
        master  localhost;
        port    3109;
}
root@wheezy:/etc/conserver# dpkg-reconfigure conserver-client
# here choose again localhost and port 3109 ...
root@wheezy:/etc/conserver# cat console.cf

# default config for console
config * {
        master  localhost;
        portY09;
}
root@wheezy:/etc/conserver#

(I have not yet checked where the problem comes from, Gregor can you reproduce
this?)

Regards,
Salvatore

Attachment: signature.asc
Description: Digital signature

Reply via email to