[Freeipa-devel] [PATCH] 1052 add version to prepared replica files

Martin Kosek mkosek at redhat.com
Fri Sep 7 11:00:38 UTC 2012


On Fri, 2012-08-31 at 13:49 -0400, Rob Crittenden wrote:
> When installing a replica in an upgrade situation we want to be sure we 
> install the same version or higher. This will have to bake a bit until 
> the next full version of IPA but the idea is to prevent installing a 
> newer replica file on an older server.
> 
> To test this you need to rip apart a prepared file and tweak the version 
> forward or backward.
> 
> To do this, do something like:
> 
> # gpg -d replica-info-pitbull.example.com.gpg | tar xf -
> # edit realm_info/realm_info
> # tar cf replica-info-pitbull.example.com realm_info
> # gpg --batch --homedir `pwd`/.gnupg --passphrase-fd 0 --yes --no-tty -o 
> replica-info-pitbull.example.com.gpg -c replica-info-pitbull.example.com
> <type in DM password>
> 
> rob

Works fine.

ACK. Pushed to master, ipa-3-0.

Martin




More information about the Freeipa-devel mailing list