Bug 1302900 - rhn-org-trusted-ssl-cert doesn't install correctly on EL5
Summary: rhn-org-trusted-ssl-cert doesn't install correctly on EL5
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: Clients
Version: 2.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jan Dobes
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space27
TreeView+ depends on / blocked
 
Reported: 2016-01-28 22:43 UTC by Avi Miller
Modified: 2017-09-28 18:11 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-06-16 08:03:48 UTC
Embargoed:


Attachments (Terms of Use)

Description Avi Miller 2016-01-28 22:43:40 UTC
Description of problem:

Commit bf161d6 added update-ca-cert.sh to the spec file that is used to build the rhn-org-trusted-ssl-cert RPM. However, this uses the /usr/bin/update-ca-trust tool which doesn't exist on EL5.


Version-Release number of selected component (if applicable):

spacewalk-certs-tools-2.4.7-1
spacewalk-certs-tools-2.4.6-1
spacewalk-certs-tools-2.4.5-1
spacewalk-certs-tools-2.4.4-1

How reproducible:

100%

Steps to Reproduce:
1. Install Spacewalk 2.4
2. Download rhn-org-trusted-ssl-cert-1.0-1.noarch.rpm from the Spacewalk server
3. rpm -ivh rhn-org-trusted-ssl-cert-1.0-1.noarch.rpm on an EL5 client

Actual results:

# rpm -ivh rhn-org-trusted-ssl-cert-1.0-1.noarch.rpm
Preparing...                ########################################### [100%]
   1:rhn-org-trusted-ssl-cer########################################### [100%]
ln: creating symbolic link `/etc/pki/ca-trust/source/anchors' to `/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT': No such file or directory
/var/tmp/rpm-tmp.1700: line 33: /usr/bin/update-ca-trust: No such file or directory
error: %post(rhn-org-trusted-ssl-cert-1.0-1.noarch) scriptlet failed, exit status 127


Expected results:

# rpm -ivh rhn-org-trusted-ssl-cert-1.0-1.noarch.rpm
Preparing...                ########################################### [100%]
   1:rhn-org-trusted-ssl-cer########################################### [100%]

Additional info:

There is no ca-certificates packages on EL5 and no /usr/bin/update-ca-trust tool either.

Comment 1 Jan Dobes 2016-02-03 15:13:23 UTC
fixed in spacewalk master:

927fb4f2b9ba7f6ad5f681f0637d56a1b30f8f86

Comment 2 Tomáš Kašpárek 2016-06-16 08:03:48 UTC
Spacewalk 2.5 was released.

Comment 3 Eric Herget 2017-09-28 18:11:43 UTC
This BZ closed some time during 2.5, 2.6 or 2.7.  Adding to 2.7 tracking bug.


Note You need to log in before you can comment on or make changes to this bug.