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

Re: Update Configuration File: preserves user changes to config files.



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 20-06-2005 09:57, Geert Stappers wrote:
> On Mon, Jun 20, 2005 at 01:04:09AM +0200, Jonas Smedegaard wrote:
> 
>>On 19-06-2005 22:44, Petter Reinholdtsen wrote:
> 
>  <snip/>
> 
>>>I expect upgrades to keep my configuration, and not present me with an
>>>impossible question, where neither of the two options presented are
>>>any good to me.
>>>
>>>This is broken upgrades to me.
>>
>>I want the slapd package to buy me some chocolate. It doesn't, so the
>>package is broken. Nahh.
>>
>>If the package maintainer choose to handle issues of "current config
>>file is different from both old and new pristine ones, so what to do?"
>>by presenting you with annoying and possibly irrational questions (by
>>tagging the config files as "conffiles" and let dpkg deal invoke its
>>builtin interactive problem solver), then that is *not* a broken
>>package, but a deliberate choice by the package maintainer.
>>
>>
>>>As for the your issue, yes, this will break too.  It does not matter
>>>if the admin edit the file or pointed it to a different file using
>>>symlinks.  In both cases, the configuration is most likely lost during
>>>upgrades.  I consider it a variant of the problem described above,
>>>where the wanted configuration is lost during upgrades
>>
>>You say "configuration files" here. Would you say the same of conffiles?
>>
>>And would you say if replacing with a dir, named pipe or device node?
>>
>>I believe the local admin (or the CDD tool behaving as if it was the
>>local adming - in violation of Debian Policy 10.7.4) can't blame the
>>packaging system if changing conffiles into something else than files.
> 
> 
> Can ucf, http://packages.debian.org/unstable/utils/ucf, come to the rescue?

Possibly, if the package maintainer decides to use that instead of dpkg
builtin routines (by marking the configfiles as "conffiles").

The problem raised here is that debian-edu packages messes with slapd
conf(ig)files. That cannot (in the Debian we have today, Andreas!) be
solved by debian-edu using ucf: Debian-edu is not allowed to mess with
configfiles of other packages, except if those packages provide a tool
to do so (like debconf).


Please read Debian Policy 10.7.3 and 10.7.4.


 - Jonas

- --
* Jonas Smedegaard - idealist og Internet-arkitekt
* Tlf.: +45 40843136  Website: http://dr.jones.dk/

 - Enden er nær: http://www.shibumi.org/eoti.htm
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCtrl/n7DbMsAkQLgRAmeFAJ48K8SSyEOXYNb9Q9Yo7aNTJr1HWgCffECG
K+6+jpMN6CDqUjOZEHFoixI=
=jxq4
-----END PGP SIGNATURE-----



Reply to: