RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1496184 - The RPM sapconf does not have bc as part of the pre-requisites check
Summary: The RPM sapconf does not have bc as part of the pre-requisites check
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: sapconf
Version: 7.4
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: rc
: ---
Assignee: Than Ngo
QA Contact: cluster-qe@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-26 15:36 UTC by Ashlee Burch
Modified: 2021-06-10 13:07 UTC (History)
1 user (show)

Fixed In Version: 0.98-13
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-10 11:37:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:0721 0 None None None 2018-04-10 11:37:36 UTC

Description Ashlee Burch 2017-09-26 15:36:00 UTC
Description of problem:

Missing dependency for sapconf (rhel-sap-for-rhel-7-server-rpms), leading to the required 'bc' package not being installed when performed after a minimal installation environment.


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

sapconf-0.98-11.el7.noarch.rpm


How reproducible:

Installing sapconf on a bare minimum RHEL 7 install will work but running /bin/sapconf will fail since bc is not part of the RHEL 7 minimal install

Steps to Reproduce:
1. Bare metal RHEL 7 Install
2. After installation completion /bin/sapconf fails as 'bc' is not part of the minimal install

Actual results:

- Command fails

Expected results:

- Command runs successfully


Additional info:
Details:

 The 'sapconf' package provides a single shell script which uses the
 'bc' command, as noted below:
 ------------------------------------------------------------
 $ rpm -qp sapconf-0.98-11.el7.noarch.rpm -ql
 warning: apconf-0.98-11.el7.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
 /usr/bin/sapconf
 /usr/share/doc/sapconf-0.98
 /usr/share/doc/sapconf-0.98/COPYING
 /usr/share/doc/sapconf-0.98/README
 /usr/share/man/man8/sapconf.8.gz
 ------------------------------------------------------------
 $ rpm2cpio sapconf-0.98-11.el7.noarch.rpm  | grep -a -E '\bbc\b' 
         if (( $(bc <<< "${!i} < 0") )); then
                 (( $(bc <<< "${!i} > ${!req}") )) && eval $req=${!i} # new = max(current, recommended)
    if (( $(bc <<< "$s == $r") )) ; then
 ------------------------------------------------------------
 https://access.redhat.com/downloads/content/sapconf/0.98-11.el7/noarch/fd431d51/package 

Current Dependencies

 Current dependency requirements for 'sapconf' are only:
 ------------------------------------------------------------
 $ rpm -qp sapconf-0.98-11.el7.noarch.rpm --requires
 warning: sapconf-0.98-11.el7.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
 /bin/bash
 /bin/bash
 rpmlib(CompressedFileNames) <= 3.0.4-1
 rpmlib(FileDigests) <= 4.6.0-1
 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
 tuned > 2.2.2
 tuned-profiles-sap
 uuidd
 yum-utils
 rpmlib(PayloadIsXz) <= 5.2-1
 ------------------------------------------------------------

 Which do not pull in the required 'bc' package:
 ------------------------------------------------------------
 # rpm -q bc --provides
 bc = 1.06.95-13.el7
 bc(x86-64) = 1.06.95-13.el7
 ------------------------------------------------------------

Comment 11 errata-xmlrpc 2018-04-10 11:37:16 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:0721


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