000026773 - Silvertail/RSA WTD: how to extract a single binary from an rpm package (for patching)

Document created by RSA Customer Support Employee on Jun 14, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000026773
Applies ToRSA Silvertail

This is how to extract specific patches without a full reinstall. Find the latest major build of silvertail, and just extract the component needed:

example: 4.1.x.x can use any version higher 4.1.x.x, but not 4.6.x.x

IssueNeed to obtain a binary from a silvertail build without running the installer.
Need to extract an el5 binary while on an el6 system, or vice versa. Need a binary but cannot run the installer.
Resolution

Example: need to obtain silvertap component from version 4.1.4.0 el5, so it can be installed on a customer 4.1.1.1 system:

a) Obtain the silvertail-enterprise-4.1.4.0.el5.run package and run it.

b) It expands, and in a new subdirectory is the RPM file silvertail-enterprise-4.1.4.0-0.el5.centos.x86_64.rpm.

c) Locate the directory silvertap will extract to, [as if you were to run the installer].

rpm -qlp silvertail-enterprise-4.1.4.0-0.el5.centos.x86_64.rpm | grep silvertap

You will get this output, note the directory for silvertap:

/var/opt/silvertail/bin/nullsilvertap
/var/opt/silvertail/bin/silvertap
/var/opt/silvertail/bin/silvertap-service.sh

d) Based on the information in C, run another command to extract the Silvertap binary and use the directory:

 rpm2cpio silvertail-enterprise-4.1.4.0-0.el5.centos.x86_64.rpm | cpio -ivd ./var/opt/silvertail/bin/silvertap

./var/opt/silvertail/bin/silvertap
2938894 blocks

e) Navigate to the newly created subdirectory /var/opt/silvertail/bin and the extracted silvertap binary file will be there. 

Legacy Article IDa65214

Attachments

    Outcomes