Bug 690125 - Command "yum repolist " lists Red Hat Network repositories when runs under user different than root.
Summary: Command "yum repolist " lists Red Hat Network repositories when runs under us...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: yum-rhn-plugin
Version: 6.1
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Miroslav Suchý
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-23 12:02 UTC by Dimitar Yordanov
Modified: 2011-11-01 21:05 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-01 21:05:14 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Dimitar Yordanov 2011-03-23 12:02:44 UTC
Description of problem:
Command "yum repolist " lists Red Hat Network repositories when runs under user different than root.

Version-Release number of selected component (if applicable):
RHEL6
rhn-check-1.0.0-57.el6.noarch
rhn-client-tools-1.0.0-57.el6.noarch
rhn-setup-1.0.0-57.el6.noarch
rhn-setup-gnome-1.0.0-57.el6.noarch
yum-rhn-plugin-0.9.1-20.el6.noarch

How reproducible:
Always

Steps to Reproduce:
1.rehister RHEL 6.1 system to rhn.errata.stage.redhat.com
2.Update to:
rhn-check-1.0.0-57.el6.noarch
rhn-client-tools-1.0.0-57.el6.noarch
rhn-setup-1.0.0-57.el6.noarch
rhn-setup-gnome-1.0.0-57.el6.noarch
yum-rhn-plugin-0.9.1-20.el6.noarch
3.su - test
4.yum repolist
  
Actual results:

[test@server]$ yum repolist
Plugin "product-id" can't be imported
Plugin "subscription-manager" can't be imported
Loaded plugins: rhnplugin
*Note* Red Hat Network repositories are not listed below. You must run this command as root to access RHN repositories.
beaker-harness                                                                                                               42/42
beaker-tasks                                                                                                             8821/8821
rhel-x86_64-server-6                                                                                                     4077/4077
repo id                                         repo name                                                                    status
beaker-HighAvailability                         beaker-HighAvailability                                                         47
beaker-LoadBalancer                             beaker-LoadBalancer                                                              2
beaker-ResilientStorage                         beaker-ResilientStorage                                                         42
beaker-ScalableFileSystem                       beaker-ScalableFileSystem                                                        7
beaker-Server                                   beaker-Server                                                                3,471
beaker-debug                                    beaker-debug                                                                 1,624
beaker-harness                                  beaker-harness                                                                  42
beaker-optional-x86_64-debug                    beaker-optional-x86_64-debug                                                 1,177
beaker-optional-x86_64-os                       beaker-optional-x86_64-os                                                    2,628
beaker-tasks                                    beaker-tasks                                                                 8,821
rhel-x86_64-server-6                            Red Hat Enterprise Linux Server (v. 6 for 64-bit x86_64)                     4,077
repolist: 21,938


Expected results:
rhel-x86_64-server-6  must not be in the list.

Additional info:

Comment 2 RHEL Program Management 2011-11-01 21:05:14 UTC
Product Management has reviewed and declined this request.  You may appeal this
decision by reopening this request.


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