Bug 207976
Summary: | rhnpush --force gives an ISE with --nullorg option as superuser | ||
---|---|---|---|
Product: | [Retired] Red Hat Network | Reporter: | Pradeep Kilambi <pkilambi> |
Component: | RHN/Backend | Assignee: | Pradeep Kilambi <pkilambi> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Corey Welton <cwelton> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rhn420 | CC: | rhn-bugs |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | rhn500h | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-03-20 01:13:58 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: | 166615 |
Description
Pradeep Kilambi
2006-09-25 16:46:49 UTC
the fix for this is we are not passing in force as true even though we have --force specified. On the server in the authenticate_session call will check if null_org: if force: raises the rhnfault that " cannot force push" as we do not allow su to force push i.e nullorg channels. with the fix we should see something like this: [root@prad rpms]# rhnpush --server=scripts.back-webdev.redhat.com --username=rhn -noc --password=xxx swig-1.3.21-6.i386.rpm --force --nullorg -vvv --channel=test-push Connecting to http://scripts.back-webdev.redhat.com/APP url is http://scripts.back-webdev.redhat.com/PACKAGE-PUSH Result codes: 200 OK Computing md5sum and package Info .This may take sometime ... Error Message: Cannot force push Error Class Code: 4 Error Class Info: Permission denied. Explanation: An error has occurred while processing your request. If this problem persists please enter a bug report at bugzilla.redhat.com. If you choose to submit the bug report, please be sure to include details of what you were trying to do when this error occurred and details on how to reproduce this problem. QA Verified -- user is given perm denied (expected behaviour) and does not get a 500 ISE Prad has confirmed this fix has made its way into stage, also. Closed in rhn500h Release. Closed in rhn500h release. Closed in rhn500h Release. Closed in rhn500h Release. |