[SERVER-12753] Specify cyrus-sasl and net-snmp-libs versions in enterprise rpm dependencies Created: 15/Feb/14 Updated: 11/Jul/16 Resolved: 06/Mar/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Packaging |
| Affects Version/s: | 2.4.9, 2.5.5 |
| Fix Version/s: | 2.6.0-rc2 |
| Type: | Task | Priority: | Minor - P4 |
| Reporter: | Ernie Hershey | Assignee: | Ernie Hershey |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Participants: | |||||||||
| Description |
|
It's possible to install newer versions of snmp packages that don't work with mongodb binaries. To reproduce in CentOS 6.4:
The error:
|
| Comments |
| Comment by Githook User [ 06/Mar/14 ] | |||||||||||||||
|
Author: {u'username': u'ehershey', u'name': u'Ernie Hershey', u'email': u'ernie.hershey@10gen.com'}Message: | |||||||||||||||
| Comment by Githook User [ 28/Feb/14 ] | |||||||||||||||
|
Author: {u'username': u'ehershey', u'name': u'Ernie Hershey', u'email': u'ernie.hershey@10gen.com'}Message: This turns on a call out to the find-requires script which | |||||||||||||||
| Comment by Ernie Hershey [ 27/Feb/14 ] | |||||||||||||||
|
Based on a lot of testing, help from jonathan.reams@10gen.com, and finally info here - https://fedoraproject.org/wiki/PackagingDrafts/FilteringAutomaticDependencies I've determined that our package generation environment in Ubuntu, doesn't properly generate automatic shared library dependency because it's trying to use an internal dependency generator. Setting the rpm macro _use_internal_dependency_generator to 0 enables calling out to the external "find-requires" script, which properly detects shared library dependencies and adds them to the rpm. Building a new RPM with _use_internal_dependency_generator set to 0 properly gives an error when trying to install it alongside versions of libraries that are too new.
It also errors when trying to upgrade the libraries while the mongodb package is installed.
|