Bug 536989
Summary: | [satellite 5.3.0] Suggested patch for /usr/sbin/rhn-satellite so it exits cleanly when run by non-root user | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite 5 | Reporter: | Xixi <xdmoon> | ||||
Component: | Server | Assignee: | Justin Sherrill <jsherril> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Šimon Lukašík <slukasik> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 530 | CC: | cperry, jhutar, mmraka, slukasik, xdmoon | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2010-10-28 14:51:06 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: | |||||||
Bug Blocks: | 487678 | ||||||
Attachments: |
|
Description
Xixi
2009-11-12 04:12:50 UTC
Created attachment 369138 [details]
proposed patch
Fixed in spacewalk master commit 01621e7908ea2f405b4cee20e0cc4028fb13f8c3 536989 - exit cleanly when run by non-root QA: Changing to VERIFIED: Testing procedure $ /usr/sbin/rhn-satellite Results: Script printouts "This script must be run as root!\n\n" for all use cases. (As proposed in the patch). QA: Adding RHTS keywork. This should be extremely easy to automate. Verified against: Satellite-5.4.0-RHEL5-re20101001.1 Verified in stage. -bash-3.2$ /usr/sbin/rhn-satellite status This script must be run as root! The 5.4.0 RHN Satellite and RHN Proxy release has occurred. This issue has been resolved with this release. RHEA-2010:0801 - RHN Satellite Server 5.4.0 Upgrade https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10332 RHEA-2010:0803 - RHN Tools enhancement update https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10333 RHEA-2010:0802 - RHN Proxy Server 5.4.0 bug fix update https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10334 RHEA-2010:0800 - RHN Satellite Server 5.4.0 https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10335 Docs are available: http://docs.redhat.com/docs/en-US/Red_Hat_Network_Satellite/index.html Regards, Clifford |