Description of problem: when you set 'networkRetries=A' which is nonsense it runs unlimited, it doesn't end Version-Release number of selected component (if applicable): rhn-client-tools-0.4.20-14.el5 How reproducible: always Steps to Reproduce: 1. iptables -I OUTPUT 1 -p tcp --dport 443 -o eth0 -j DROP 2. # grep networkRetries /etc/sysconfig/rhn/up2date networkRetries=A 3. rhnreg_ks -vvv --username=****** --password=***** --force --server=https://xmlrpc.rhn.redhat.com/XMLRPC Actual results: many and many attempts Expected results: there is some default, for ex 5 attempts Additional info:
Fixed in upstream (spacewalk master) by commit 4764a50696a20b3ac0282a43f2fd144edd04ef6c 554693 - networkRetries should be positive number
Fixed in svn r195422 | mmraka | 2010-08-20 14:46:04 +0200 (Fri, 20 Aug 2010) | 6 lines 554693 - networkRetries should be positive number
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: When the "networkRetries" configuration option was not set to a valid integer value, network operation did not time out at all. With this update, invalid values are now interpreted as a single attempt, and network operations time out as expected.
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 therefore 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/RHEA-2011-0112.html