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

Re: Proposed handling of generated configuration files (Re: stop the "manage with debconf" madness)



On Sun, Apr 20, 2003 at 04:11:29AM +0200, Tore Anderson wrote:

>   I fully agree that as many questions as possible should be asked before
>   unpacking the package.  And I also agree it would better if the "replace
>   the configuration file" questions also came at that point of the
>   upgrade, but unfortunately, that isn't the status quo.
> 
>   dpkg asks for permission to overwrite conffiles *after* having unpacked
>   the package in question -- and therefore you cannot dist-upgrade 300
>   packages, answer all questions, then take lunch and expect it to be
>   finished when you're back.  The upgrade will most likely stop after
>   unpacking a package with a new conffile.

While this is true, it isn't inherent in the design.  conffile prompting
could presumably be moved to the preconfiguration stage with relative ease.
With dynamically generated configuration files, this is impossible for all
but the simple substitution case.

-- 
 - mdz



Reply to: