Bug 537081 - rhnpush should work even without rhnpushrc available
Summary: rhnpush should work even without rhnpushrc available
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: Server
Version: 0.7
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Michael Mráka
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space08
TreeView+ depends on / blocked
 
Reported: 2009-11-12 12:27 UTC by Jan Hutař
Modified: 2010-02-16 12:58 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-02-16 12:55:56 UTC
Embargoed:


Attachments (Terms of Use)

Description Jan Hutař 2009-11-12 12:27:52 UTC
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 (?).

Comment 1 Michael Mráka 2010-02-02 15:51:39 UTC
Rewritten rhnpush_confmanager,

commit 722c2e9eb79e2ec61c9411bb3fadcb4ba0fe0d21
    537081 - don't fail if config file not found

built package rhnpush-5.4.11-1.

Comment 2 Michael Mráka 2010-02-16 12:58:39 UTC
Spacewalk 0.8 has been released


Note You need to log in before you can comment on or make changes to this bug.