Bug 656884

Summary: python modules should not be in /usr/share/rhnsm
Product: Red Hat Enterprise Linux 6 Reporter: Miroslav Suchý <msuchy>
Component: subscription-managerAssignee: Pradeep Kilambi <pkilambi>
Status: CLOSED WONTFIX QA Contact: John Sefler <jsefler>
Severity: medium Docs Contact:
Priority: low    
Version: 6.1CC: bkearney, dpal, rcritten, shaines
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-11 16:28:42 UTC Type: ---
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: 682238    

Description Miroslav Suchý 2010-11-24 13:25:30 UTC
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