From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0; Walt Disney World) Description of problem: Line 356 of /usr/share/rhn/up2date_client/up2date.py and subsequent 9 lines. It is possible to pass through this small routine with ProxyUser not set to any value. I find that setting proxyUser = None just prior to this routine allows me to continue. I believe there should be an else clause in the upper section so that if cfg.readEntry("enableProxyAuth": is true and if cfg.readEntry("proxyUser") is false, it will set proxyUser to None. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Run up2date behind a proxy 2. The proxy doesn't need a username 3. The proxy doesn't need a password Actual Results: I got an error traceback saying that proxyUser was undefined. Expected Results: up2date should have installed the requested updates. Additional info: I have found this bug and fixed it several times in the past and it remains in the current version.
Also, proxyPassword is not defaulted, just like proxyUser.
hmm, true. EnableProxyAuth shouldnt be enabled if a proxyUser and proxyPassword isnt set. I didnt think the config tools would allow that combination. Workaround is to disable enableProxyAuth if your not using it. I'll add the bits in that section to default proxyUser/proxyPasswd to None in that case.