[Freeipa-devel] [PATCH] 948 handle ipa_kpasswd on upgrades
Martin Kosek
mkosek at redhat.com
Wed Feb 15 12:18:01 UTC 2012
On Mon, 2012-02-13 at 11:46 -0500, Rob Crittenden wrote:
> When upgrading from 2.1 to 2.2 we need to kill any ipa_kpasswd processes
> and uninstall it.
>
> We also need to update the dbmodules section in /etc/krb5.conf to
> reflect the new kdb.
>
> rob
The patch works fine, I just have few comments.
This line seems a bit confusing (at least for me):
+ if not enabled is None and not enabled:
+ ipa_kpasswd.remove()
I would prefer
+ if enabled is not None and not enabled:
+ ipa_kpasswd.remove()
I know, its just a nitpick.
I checked update_dbmodules() function. It works but as we discussed,
there is a lot of hard-coding and a success of this function depends on
proper indentation etc. I would accept this fix as a short-term
solution, in the future we may want to use some better means to update
our configs like augeas that was already discussed before.
Martin
More information about the Freeipa-devel
mailing list