Red Hat Bugzilla – Bug 183405
rhnpush config files don't behave in the standard way
Last modified: 2008-10-15 11:37:19 EDT
Description of problem: rhnpush's main config file,
/etc/sysconfig/rhn/rhnpushrc, is currently required to have default values for
all of it's settings. This is less than ideal. A better way to handle it would
be to have the default values stored internally in rhnpush and only have the
options in the main config files that the majority of users would be interested
in. rhnpush already behaves like this to an extent; when there's a setting
missing in the main config file, rhnpush will complain and tell you that it's
using the internal default. All we would likely need to do is remove a couple of
print statements and pare down the contents of /etc/sysconfig/rhn/rhnpushrc.
John, not certain I understand the bug. If it's just complaining that the
defaults aren't in the file, but it then does what it needs to do based on
internal defaults, that's actually a GoodThing(tm) in my opinion. It does 2
1) it gives people an understanding of the universe of configuration options
2) it tells them what the default value is. I.e., they don't have to trace
through the source to find the hard-coded defaults
Let's talk about this some more so I understand what you feel is busted here,
but for now, I'm going to move it to rhn-uncommited.
User firstname.lastname@example.org's account has been closed
This bug has been closed due to inactivity. Please open a new bug with specific details if this problem is still occurring or if an enhancement is needed.