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

Rob Crittenden rcritten at redhat.com
Fri Aug 31 17:49:15 UTC 2012


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-rcrit-1052-version.patch
Type: text/x-diff
Size: 6343 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20120831/858e663d/attachment.bin>


More information about the Freeipa-devel mailing list