Re: Debconf problem

2005-11-11 Thread Frank Küster
Joey Hess <[EMAIL PROTECTED]> wrote: > Frank Küster wrote: >> Because it isn't true that the previous version didn't use debconf. It >> just asked the questions totally differently and took an approach that I >> now would call flawed. But still it gave the users the impression that >> their ls-R

Re: Debconf problem

2005-11-10 Thread Joey Hess
Frank Küster wrote: > Because it isn't true that the previous version didn't use debconf. It > just asked the questions totally differently and took an approach that I > now would call flawed. But still it gave the users the impression that > their ls-R files' permissions are managed by debconf,

Re: Debconf problem

2005-11-10 Thread Frank Küster
Hi Joey, thanks for being patient with me. I promise that I'll write this up (for debconf-devel(7) or the developer's reference or whatever you suggest) once we've sorted this out. Joey Hess <[EMAIL PROTECTED]> wrote: >> Does that mean I must use some hackish handmade flags that are reset >> o

Re: Debconf problem

2005-11-09 Thread Joey Hess
Frank Küster wrote: > Sorry for still being dumb. When it's reconfigure, I have just learned > that the config script is run only once, so I need not handle this case > specially. But when its an upgrade, it is run twice, and I need to > discriminate between the first pass (check existing permiss

Re: Debconf problem

2005-11-09 Thread Frank Küster
Joey Hess <[EMAIL PROTECTED]> wrote: > Frank Küster wrote: >> I found no way to cleanly solve the problem of >> >> - writing the current state into the debconf database, so that >> noninteractive installs don't change anything >> >> - actually reflect changed answers in the system. > > The co

Re: Debconf problem

2005-11-08 Thread Joey Hess
Frank Küster wrote: > I found no way to cleanly solve the problem of > > - writing the current state into the debconf database, so that > noninteractive installs don't change anything > > - actually reflect changed answers in the system. The config script is passed parameters that you can use

Re: Debconf problem

2005-11-08 Thread Frank Küster
Joey Hess <[EMAIL PROTECTED]> wrote: > dpkg-reconfigure runs the config script exactly once, so the config file > is read once, its values are used for defaults to the questions to allow > reconfiguration, and are saved to the config file by the postinst. Yes, I was wrong about this - it's only r

Re: Debconf problem

2005-11-08 Thread Joey Hess
Frank Küster wrote: > However, in case apt-utils is installed, this script will be run twice: > Once by dpkg-preconfigure, i.e. in the preinst stage, and once by > confmodule when the postinst script sources confmodule. As far as I can > see, this will have a confusing effect. Assume the configfi