Bug 656884 - python modules should not be in /usr/share/rhnsm
python modules should not be in /usr/share/rhnsm
Status: CLOSED WONTFIX
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: subscription-manager (Show other bugs)
6.1
Unspecified Unspecified
low Severity medium
: rc
: ---
Assigned To: Pradeep Kilambi
John Sefler
:
Depends On:
Blocks: rhsm-rhel62
  Show dependency treegraph
 
Reported: 2010-11-24 08:25 EST by Miroslav Suchý
Modified: 2011-05-11 12:28 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2011-05-11 12:28:42 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Miroslav Suchý 2010-11-24 08:25:30 EST
Description of problem:
subcription manager has python modules in /usr/share/rhsm. Please do not do it, it has no sense. It is inheritance from rhn-client-tools. We are moving from /usr/share/rhn to %{python_sitelib}/rhn there right now.

You should place those module to %{python_sitelib}/rhsm

Version-Release number of selected component (if applicable):
git-HEAD, subscription-manager-0.93.2-1.git.1.c76a8b0.el6.x86_64.rpm

How reproducible:
always

Steps to Reproduce:
1. rpm -ql python-rhsm subscription-manager subscription-manager-gnome | grep share | grep .py\$
  
Actual results:
/usr/share/rhsm/certificate.py
/usr/share/rhsm/config.py
/usr/share/rhsm/connection.py
/usr/share/rhsm/logutil.py
/usr/share/rhsm/__init__.py
/usr/share/rhsm/certlib.py
/usr/share/rhsm/certmgr.py
/usr/share/rhsm/constants.py
/usr/share/rhsm/factlib.py
/usr/share/rhsm/facts.py
/usr/share/rhsm/hwprobe.py
/usr/share/rhsm/lock.py
/usr/share/rhsm/managercli.py
/usr/share/rhsm/managerlib.py
/usr/share/rhsm/managerlib_async.py
/usr/share/rhsm/productid.py
/usr/share/rhsm/repolib.py
/usr/share/firstboot/modules/rhsm_entitlement_choose.py
/usr/share/firstboot/modules/rhsm_login.py
/usr/share/firstboot/modules/rhsm_subscriptions.py
/usr/share/rhsm/gui/__init__.py
/usr/share/rhsm/gui/allsubs.py
/usr/share/rhsm/gui/compliance.py
/usr/share/rhsm/gui/contract_selection.py
/usr/share/rhsm/gui/dateselect.py
/usr/share/rhsm/gui/factsgui.py
/usr/share/rhsm/gui/installedtab.py
/usr/share/rhsm/gui/managergui.py
/usr/share/rhsm/gui/messageWindow.py
/usr/share/rhsm/gui/mysubstab.py
/usr/share/rhsm/gui/progress.py
/usr/share/rhsm/gui/storage.py
/usr/share/rhsm/gui/utils.py
/usr/share/rhsm/gui/widgets.py

Expected results:
only firstboot modules should be in /usr/share

Additional info:
everything else should be in 
/usr/lib/python2.6/site-packages/rhnsm

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