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

Re: preserving user changes while managing configuration files



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

On 23-11-11 14:34, Arno Töll wrote:
> please mind the exact wording here. A "configuration file" is not
> the same as a "conffile" in Debian. Note, you are not allowed to
> modify a conffile at any time.
In the context of the maintainer scripts, I take it. ;-)

[...]
> If you want to modify the configuration of your package at
> installation time, you can do so by creating a configuration file
> your program expects _at installation time_ in the maintainer
> script but it must not be part of the package itself. To preserve
> user changes or do a graceful updates of your dynamically created
> configuration files, you may then manage your changes through ucf
> as Alexander suggested.

OK, thanks. Just to be clear, running dpkg-reconfigure *will* rewrite
the configuration if the admin never touched the configuration file,
is that correct?

I'm going to try my hand at using ucf now.

Cheers,

Dennis
- -- 
D.H. van Dok :: Software Engineer :: www.nikhef.nl :: www.biggrid.nl
Phone +31 20 592 22 28 :: http://www.nikhef.nl/~dennisvd/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk7NBhIACgkQIITq5lEwLHcbfACdFpzL8n6s6wl8uBBjvsMmWaZk
g+AAniPf6x75oTKvxW5vGQlD2XvusWBc
=qTqW
-----END PGP SIGNATURE-----


Reply to: