Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 859281

Summary: RFE: rhn-channel to provide an option to query the existing base channel of the system.
Product: Red Hat Enterprise Linux 6 Reporter: jalviso <jalviso>
Component: rhn-client-toolsAssignee: Milan Zázrivec <mzazrivec>
Status: CLOSED ERRATA QA Contact: Pavel Studeník <pstudeni>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.5CC: mminar, pstudeni
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: rhn-client-tools-1.0.0.1-1.el6 Doc Type: Bug Fix
Doc Text:
Cause: Customer request: ability to list base channel of a system Consequence: Fix: new -b option for rhn-channel utility which shows base channel of a system. Result:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-21 10:07:02 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:

Description jalviso 2012-09-21 01:52:14 UTC
Description of problem: 
Request for Enhancement of "rhn-channel" command to include a switch to query the base channel of any RHEL system.

Version-Release number of selected component (if applicable):

How reproducible: 
It is reproducible.

Steps to Reproduce:
1. When invoking the command "rhn-channel", a switch to query the base channel 
   say "-b" would be ideal.
2. Currently, we can only get all channels available which includes base 
   channel in "rhn-channel -l" but the output doesn't show which line is the
   base channel.
3. Any other command that serves this purpose is acceptable but not the 
   Satellite API "Method: getSubscribedBaseChannel" because it is not plausible
   to the requesting customer's need.

Description:
Needs to provides the base channel of a given system through a command or additional switch for "rhn-channel" command.
  
Actual results:


Expected results:


Additional info: 

Please note that the rhn-client tools is selected in the Component field because there is no selection for rhn-setup.

Comment 2 Milan Zázrivec 2012-09-21 11:54:43 UTC
New '-b' option for rhn-channel / spacewalk-channel utility which lists
base channel that the system is subscribed to.

spacewalk.git master: 81df0f7ac4c1ac35f2311e897f75dbc6aa065acc

Comment 3 Milan Zázrivec 2012-09-21 11:58:22 UTC
Additional fix in spacewalk.git master: bbf617384638adf9babeb2018373f50dee0dbf6a

Comment 10 errata-xmlrpc 2013-02-21 10:07:02 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-0388.html