Bug 434564 - CRM #1799024 net-snmp spec file does not have require net-snmp-libs
Summary: CRM #1799024 net-snmp spec file does not have require net-snmp-libs
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: net-snmp
Version: 4.6
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Jan Safranek
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 391511 434746
TreeView+ depends on / blocked
 
Reported: 2008-02-22 19:32 UTC by Alan Matsuoka
Modified: 2018-10-19 20:10 UTC (History)
1 user (show)

Fixed In Version: RHBA-2008-0700
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-07-24 19:50:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2008:0700 0 normal SHIPPED_LIVE net-snmp bug fix update 2008-07-23 15:45:38 UTC

Description Alan Matsuoka 2008-02-22 19:32:42 UTC
Description of problem:

net-snmp requires net-snmp-libs to work, but the SPEC file doesn't have the
below requirement specification in it to enforce it.

Requires: %{name}-libs = %{version}-%{release}

The end result is that, if a customer runs "up2date net-snmp", it would update
the net-snmp package to the latest version without updating the net-snmp-libs
package to the latest version which would cause snmp service to fail.

How reproducible:

Always.

Steps to Reproduce:

- Take an RHEL4 system.
- Do "rpm -e snmp snmp-libs --nodeps"
- Download the net-snmp and net-snmp-libs packages from
http://porkchop.redhat.com/brewroot/packages/net-snmp/5.1.2/11.el4_6 .11.1/ and
install it using "rpm -ivh net-snmp*" command.
- Make sure that snmpd starts successfully.
- Run "up2date net-snmp". It would only update net-snmp without updating
net-snmp-libs
- Restart snmpd service. It should show "OK", but the service would actually
fail to start.

Actual results:

- net-snmp does not require net-snmp-libs-{version}-{release}

Expected results:

It should be dependent on net-snmp-libs

Additional info:

Attaching patch for RHEL4 and RHEL5 which can be applied for the SPEC file.

One reference - https://bugzilla. redhat.com/show_bug.cgi?id=139740

Bugzilla filed for RHEL4 and fixed in rawhide. I would request to open separate
bugzillas for RHEL4 and RHEL5. Let me know if you want me to clone this IT for
RHEL5.

Regards,

--Sadique

Comment 3 RHEL Program Management 2008-02-25 08:38:08 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 8 errata-xmlrpc 2008-07-24 19:50:41 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2008-0700.html


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