Bug 176195
Summary: | up2date-nox --configure changes current value of numeric attribute to Yes/No if 1/0 is selected | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 3 | Reporter: | Beth Nackashi <bnackash> | ||||
Component: | up2date | Assignee: | Adrian Likins <alikins> | ||||
Status: | CLOSED ERRATA | QA Contact: | Beth Nackashi <bnackash> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 3.0 | ||||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | RHBA-2006-0105 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2006-03-15 15:38:18 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: | 168424, 169775 | ||||||
Attachments: |
|
Description
Beth Nackashi
2005-12-19 23:21:18 UTC
legit bug, dunno if it's crucial enough to be a blocker though looks to be a bug around lines 216in text_config.py It assumes that things that are 0/1 in the file are booleans, and treats them as such. Not sure how to fix it without breaking actually boolean stuff. We could add "types" to the config file/object, but thats not a small change. Easiest fix might just to be to hardcode the types that we know are numeric values to ignore those cases. A slightly klugey fix is to just hardcode the numeric non boolean stuff. Created attachment 123262 [details]
patch to hard code cases for numeric values
patch to hardcode numberRetries, etc to be intrepreted as ints/strings instead
of as bools
up2date-4.4.49 14. networkRetries Yes doh, typoed the networkRetries option as numberRetries... I'll rev it when I get a chance. 4.4.65-3 should contain the fix. This is only fixed for networkRetries. Other numeric attributes need to be fixed as well, such as headerCacheSize and headerFetchCount. up2date-4.4.67-3 should fix issues for networkRetries, headerCacheSize, and headerFetchCount. If there are other numeric entries, I don't see them. passes_qa on i386, ia64, and x86_64 An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2006-0105.html |