-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello,
> Sam, do you have an opinion on this? The basic problem right now is > that > if you install krb5-config, edit /etc/krb5.conf to change the default > realm without telling debconf, and then upgrade krb5-config, it will > revert your change, which is in violation of Policy 10.7.3. Also, if > you > intentionally don't list your local realm KDCs in krb5.conf but don't > tell > debconf that you're using DNS, you'll keep getting prompted for your > local > KDCs. No it does not have to lost the local modified settings. An usual way is to get (with some shell magic) in your .config script the actual values of the local (maybe modified) configuration file and displaying them as default in debconf. Just for a quick example I am using the following in my config maintainer script: if [ -f /etc/sbnc/sbnc.conf ] ; then HOST=$(grep system.ip /etc/sbnc/sbnc.conf|cut -d"=" -f2) if [ "X$HOST" = "X" ] ; then HOST="0.0.0.0" fi db_set sbnc/host $HOST PORT=$(grep system.port /etc/sbnc/sbnc.conf|cut -d"=" -f2) if [ "X$PORT" = "X" ] ; then PORT="9000" fi db_set sbnc/port $PORT fi Not the best example but it is working. :-) On upgrading etc the config script will be called, first it checks if the configuration file exists, if it exists it tries to get with a little bit of shell magic the values of the configuration file, also if the user has modified it. Then it sets those values in the debconf database and db_go will display the actual modified values as standard. I hope this will help you :) - -- /* Mit freundlichem Gruß / With kind regards, Patrick Matthäi E-Mail: patrick.matth...@web.de Comment: Always if we think we are right, we were maybe wrong. */ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkldVcwACgkQ2XA5inpabMeAJwCfbpucp4aw6d6kjOoMTHyNxciF 3mcAniUOuaggWaBBOTfT3n3DfQMA1xWD =IOaI -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org