Bug 1292151
| Summary: | rhnpush: missing required package on RHEL5 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Satellite 5 | Reporter: | Pavel Studeník <pstudeni> | ||||
| Component: | Client | Assignee: | Gennadii Altukhov <galtukho> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Pavel Studeník <pstudeni> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | unspecified | CC: | dyordano, galtukho, tlestach | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | rhnpush-5.5.89-9-sat | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2017-06-21 12:07:01 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 1358815 | ||||||
| Attachments: |
|
||||||
|
Description
Pavel Studeník
2015-12-16 15:18:13 UTC
After I installed rhnpush-5.5.81-9.el5sat on RHEL5, I'm getting: # rhnpush Unable to load module rhnpush No module named Crypto.Hash Taking... Created attachment 1127544 [details]
patch for spec file of rhnpush package
There is no problem in Spacewalk package of rhnpush. rhnpush depends on spacewalk-backend-libs, which depends on python-hashlib ('epel' repo).
For Satellite there are no problems for RHEL 6 and 7, since installed package 'python-libs' contains module hashlib (/usr/lib64/python2.6/hashlib.py) to work with hash functions. In code of 'rhnpush_lib' we're trying to import hashlib first.
For Satellite package of rhnpush RHEL 5, I have added a dependensy on python-hashlib (this package is contained in 'Red Hat Network Tools for RHEL' repo), please, see at attached patch.
Verified rhnpush-5.5.89-20.el5sat
>> yum install rhnpush -y
Installing:
rhnpush
Installing for dependencies:
python-hashlib
spacewalk-backend-libs
spacewalk-usix
|