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 1107839 - Consider adding explicit version dependency: Requires: libestr >= 0.1.9
Summary: Consider adding explicit version dependency: Requires: libestr >= 0.1.9
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: rsyslog
Version: 7.1
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: rc
: ---
Assignee: Tomas Heinrich
QA Contact: Marek Marusic
URL:
Whiteboard:
Depends On:
Blocks: 1107840
TreeView+ depends on / blocked
 
Reported: 2014-06-10 18:32 UTC by Brenton Leanhardt
Modified: 2015-11-19 14:29 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1107840 (view as bug list)
Environment:
Last Closed: 2015-11-19 14:29:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:2173 0 normal SHIPPED_LIVE rsyslog bug fix update 2015-11-19 11:34:00 UTC

Description Brenton Leanhardt 2014-06-10 18:32:05 UTC
Description of problem:

The rsyslog package has "BuildRequires: libestr-devel >= 0.1.9".  I suspect the build environment is automatically adding the libestr dependency however it is not setting the version to match the build requirement.

It's likely not strictly required for RHEL 7 however it's nice for distro maintainers to have the dependency if indeed it's actually required.  That way we can avoid the case of libestr-devel >= 0.1.9 being used at build time but another version being used at runtime if a particular system is wired up to the incorrect channels or yum repositories.

Comment 3 Tomas Heinrich 2014-06-11 15:49:36 UTC
You're probably right, I'll add the dependency in the next update.

(In reply to Brenton Leanhardt from comment #0)
> The rsyslog package has "BuildRequires: libestr-devel >= 0.1.9".  I suspect
> the build environment is automatically adding the libestr dependency however
> it is not setting the version to match the build requirement.

That is correct. This should be, ideally, solved by depending on a specific so-name - rpm would process this dependency transparently and automatically. But upstream doesn't currently version the library interface.

> It's likely not strictly required for RHEL 7 however it's nice for distro
> maintainers to have the dependency if indeed it's actually required.  That
> way we can avoid the case of libestr-devel >= 0.1.9 being used at build time
> but another version being used at runtime if a particular system is wired up
> to the incorrect channels or yum repositories.

Well, if the package is build again version X, it should, in good faith, expect the same version in the runtime. If using incorrect channels, even the package that suffices the version requirement may have different contents.

Comment 9 errata-xmlrpc 2015-11-19 14:29:47 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://rhn.redhat.com/errata/RHBA-2015-2173.html


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