Bug 216808
Summary: | RFE: Subscribe to channels via yum/rhn-plugin command | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | John T. Rose <inode0> |
Component: | rhn-client-tools | Assignee: | Miroslav Suchý <msuchy> |
Status: | CLOSED ERRATA | QA Contact: | Jiri Kastner <jkastner> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 5.1 | CC: | akrherz, cperry, duffy, jhutar, jkastner, msuchy, pkilambi, riek, tao, taw |
Target Milestone: | --- | Keywords: | FutureFeature, Reopened |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-03-30 08:43:59 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: | 540544 | ||
Bug Blocks: | 437822, 459432, 557292 |
Description
John T. Rose
2006-11-22 01:39:42 UTC
specifically consider the custom channel use case where installation numbers wouldn't be of much help. Also, we should consider this for 5.1 and put it on the API list request. this was filed under RHEL 5 beta. Moving this to RHEL 5.1, although at this point 5.2 is likely more appropriate (I apologize for missing that this was misfiled). Also, please note that adding a Satellite API call would not help many customers needing this feature, especially University customers, because it would require a login/password to the Satellite to run the API script client-side (API scripts require a Satellite login/pass to run) and some universities prefer to not give their users login access to the Satellite. This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release. note: this affects hosted and satellite customers... User jslagle's account has been closed This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release. Product Management has reviewed and declined this request. You may appeal this decision by reopening this request. Could we have additional understanding on why this was declined? Thanks! Hi Jeremy, The code has been in the up2date client for a while, just never bubbled up to the UI. Check out line 317 of /usr/share/rhn/up2date_client/rhnChannel.py def subscribeChannels(channels,username,passwd): def unsubscribeChannels(channels,username,passwd): daryl This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release. *** Bug 459432 has been marked as a duplicate of this bug. *** Created new script spacewalk-channel (comes with man page Jan :) This script has options --add, --remove and --list. For all but --list is mandatory to specify username and password. The same you use for login to RHN webUI. So even if you are root, you still have to authenticate yourself. And when you know that username/password you can add/remove those channel in webUI already. Therefore this script do not weaken security in any direction. This script will be included in package rhn-setup. This script use backend API call subscribeChannel and unsubcribeChannel which unfortunatelly contain bug in authorization part. It is reported as BZ 540974 and BZ 540544, but it will mean this script will be functional only if used against rhn.redhat.com and RHN Satellite 5.3.1 and higher. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2010-0270.html |