RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 656884 - python modules should not be in /usr/share/rhnsm
Summary: python modules should not be in /usr/share/rhnsm
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: subscription-manager
Version: 6.1
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: rc
: ---
Assignee: Pradeep Kilambi
QA Contact: John Sefler
URL:
Whiteboard:
Depends On:
Blocks: rhsm-rhel62
TreeView+ depends on / blocked
 
Reported: 2010-11-24 13:25 UTC by Miroslav Suchý
Modified: 2011-05-11 16:28 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-11 16:28:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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


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