Bug 537081
| Summary: | rhnpush should work even without rhnpushrc available | ||
|---|---|---|---|
| Product: | [Community] Spacewalk | Reporter: | Jan Hutař <jhutar> |
| Component: | Server | Assignee: | Michael Mráka <mmraka> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Red Hat Satellite QA List <satqe-list> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 0.7 | ||
| 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-02-16 12:55:56 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: | 543511 | ||
Rewritten rhnpush_confmanager,
commit 722c2e9eb79e2ec61c9411bb3fadcb4ba0fe0d21
537081 - don't fail if config file not found
built package rhnpush-5.4.11-1.
Spacewalk 0.8 has been released |
Description of problem: When I do not have /etc/sysconfig/rhn/rhnpushrc file and tries to use rhnpush utility, rhnpush denies me to do anything even when I want just help or when I provide all required config options for him to run successfully. Version-Release number of selected component (if applicable): rhnpush-5.4.2-1.el5 How reproducible: always Steps to Reproduce: 1. # mv /etc/sysconfig/rhn/rhnpushrc{,.OK} 2. # rhnpush --help 3. # rhnpush --channel=test-i386-5 --dir=packages/ --nosig --username=admin --password=*** -v --server=https://spacewalk_server/APP -vv Actual results: # rhnpush --help /etc/sysconfig/rhn/rhnpushrc not found. Expected results: Should fail only when detects that it really need something it needs and maybe should re-create empty rc file with some defaults (?).