On further testing, looks like we need to set pkisilent to use 1.7
too.
The attached patch does this.
Ade
On Fri, 2016-03-11 at 11:07 -0500, Ade Lee wrote:
> Thanks.
>
> Fix checked into rhel 6.8 branch ..
>
> Counting objects: 62, done.
> Compressing objects: 100% (31/31), done.
> Writing objects: 100% (32/32), 5.18 KiB, done.
> Total 32 (delta 18), reused 0 (delta 0)
> To
ssh://git.app.eng.bos.redhat.com/srv/git/pki.git
> 3637b1f..dd5039f DOGTAG_9_0_RHEL_BRANCH -> DOGTAG_9_0_RHEL_BRANCH
>
> Matt, please create builds, attach to errata etc.
> Ade
>
> On Thu, 2016-03-10 at 22:41 -0700, Matthew Harmsen wrote:
>> On 03/10/2016 09:52 AM, Ade Lee wrote:
>>> Fix java_home and other 6.8 bugs
>>>
>>> Fixes:
>>> 1. BZ 1306989 - Crash seen with pki-common pkg during IPA server
install
>>> Crash in upgrade script occurs because prior to configuration,
>>> CS.cfg has lines that are comments and that do not parse neatly
>>> into a foo=bar pattern. Now, we will ignore comments and blank
lines.
>>>
>>> 2. BZ 1290535 - Check for incompatible Java at startup
>>> The bulk of this change. Sets the JAVA_HOME to the 1.7.0 JRE.
>>> rather than relying on alternatives. Also includes migration
script
>>> for existing instances.
>>>
>>> 3. BZ1313207 - ca.subsystem.certreq missing from CS.cfg
>>> certreq is not really needed right now for the upgrade scripts.
>>> This will ignore the error if it is not present.
>>>
>>> Please review,
>>>
>>> Ade
>>>
>>>
>>> _______________________________________________
>>> Pki-devel mailing list
>>> Pki-devel(a)redhat.com <mailto:Pki-devel@redhat.com>
>>>
https://www.redhat.com/mailman/listinfo/pki-devel
>> ACK
>>
>> CAVEAT: Since the KRA, OCSP, and TKS subsystems are not available
>> on the RHEL 6 platform, the following changes may be checked into
>> the DOGTAG_9_0_RHEL_BRANCH,
>> but will not be included in the 'pki-core' patch, nor
>> will any additional packages be created for pki-kra, pki-ocsp, nor
>> pki-tks:
>>
>> * base/kra/setup/registry_instance
>> * base/kra/shared/conf/tomcat6.conf
>> * base/ocsp/setup/registry_instance
>> * base/ocsp/shared/conf/tomcat6.conf
>> * base/tks/setup/registry_instance
>> * base/tks/shared/conf/tomcat6.conf
>>
>>
> _______________________________________________
> Pki-devel mailing list
> Pki-devel(a)redhat.com <mailto:Pki-devel@redhat.com>
>
https://www.redhat.com/mailman/listinfo/pki-devel ACK
CAVEAT: Remove the accidental newline between:
my $ARCHITECTURE="";
+
chop($OS);