Bug 838502
Summary: | With "spacewalk-channel" "redhat-rhn-proxy*" channels can be manipulated. | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite 5 | Reporter: | Dimitar Yordanov <dyordano> | ||||
Component: | Client | Assignee: | Michael Mráka <mmraka> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Dimitar Yordanov <dyordano> | ||||
Severity: | low | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 550 | CC: | cperry, jpazdziora | ||||
Target Milestone: | --- | Keywords: | Patch | ||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | spacewalk-backend-1.7.38-28-sat | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2012-09-21 09:33:25 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: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 819081 | ||||||
Attachments: |
|
Description
Dimitar Yordanov
2012-07-09 09:32:40 UTC
Created attachment 597031 [details]
"spacewalk-channel" should not manipulate rhn-proxy channels.
Hmm, technically we probably should make the changes in the API methods that spacewalk-channel calls, not in spacewalk-channel itself. Although that really only helps us in the event that 1) a different client tool is calling the same API methods. 2) a user who is does not have write access to the Satellite code is attempting to hack the system. I find those two situations to be unlikely, so the proposed patch is probably fine. I believe we have to start with the API side -- if the redhat-rhn-proxy* channel subscription should not be allowed, it has to be disabled in the API first. Only then we can start polishing the "list" operation of spacewalk-channel. API fix has been committed to spacewalk master as commit 6812a5aa43f7a6cebbf46d0057ee4d85a5ae072d 838502 - block subscription to satellite and proxy channels they need to be activated properly Backported to SATELLITE-5.5 as commit c5fe88d106bf8457eae29be08624384ae0dc23ca 838502 - block subscription to satellite and proxy channels they need to be activated properly What does rpm -qf /usr/sbin/spacewalk-channel return? Moving back ON_QA for Michael. Please use stock (latest) rhn-setup on the client. This issue is resolved with the release of RHN Satellite 5.5. As of September 20th 2012, RHN Satellite 5.5 has been generally available. Release Notes and other 5.5 documentation can be found here: https://access.redhat.com/knowledge/docs/Red_Hat_Network_Satellite/ The associated Errata for the 5.5 release are: 5.5 Satellite GA Errata - http://rhn.redhat.com/errata/RHEA-2012-1296.html 5.5 Upgrade Errata - http://rhn.redhat.com/errata/RHEA-2012-1298.html 5.5 RHN Proxy GA Errata - http://rhn.redhat.com/errata/RHEA-2012-1297.html 5.5 RHN Tools GA Errata - http://rhn.redhat.com/errata/RHEA-2012-1299.html Regards, Clifford - Engineering Manager, Satellite |