On Fri, Mar 30, 2007 at 07:35:40PM +0300, Timo Sirainen wrote:
I hate how badly the configuration file updating works everywhere (well, or at least in Debian). If the changes don't really change any existing settings and won't conflict with the modified parts of the config file, there's no need to ask anything about merging.
Why couldn't it work by doing a diff of the old and new default config files, and then try to patch the changes into the current config. If the patch succeeds, that's your new config. Of course if the new config file really changes existing defaults, it shouldn't do this without asking.
I'm actually doing a "merge dovecot.conf <old-default> <new-default>" every time, and it usually causes some conflicts due to changed comments. They're easy to resolve, of course, but it could be avoided.
Geert