Bug 650520
| Summary: | When proxy password has a '#' character, yum doesn't work | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Marcelo Moreira de Mello <mmello> | ||||
| Component: | yum-rhn-plugin | Assignee: | Michael Mráka <mmraka> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Pavel Novotny <pnovotny> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 5.5 | CC: | jhutar, jlau, jwest, mmello, mmraka, pnovotny | ||||
| Target Milestone: | rc | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | rhn-client-tools-0.4.20-46.el5 | Doc Type: | Bug Fix | ||||
| Doc Text: |
Previously, using the hash sign (that is, "#") in a proxy password caused yum to fail with the following error:
Error communicating with server. The message was:
Proxy Authentication Required
With this update, this error no longer occurs, and the use of this character no longer prevents yum from working.
|
Story Points: | --- | ||||
| Clone Of: | |||||||
| : | 732209 (view as bug list) | Environment: | |||||
| Last Closed: | 2011-01-14 00:11:47 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: | 732209 | ||||||
| Attachments: |
|
||||||
|
Description
Marcelo Moreira de Mello
2010-11-06 21:00:46 UTC
what ver of python-iniparse do you have installed? Hello Seth, python-iniparse-0.2.3-4.el5-noarch Best, mmm I just did a simple test and it doesn't look like it is iniparse.
Here's a simple test.
make a file named test.ini:
[test]
name=user
password=#this#password
then run python and do:
import iniparse
c = iniparse.ConfigParser()
c.read('test.ini')
c.get('test', 'password')
you should get back the complete string.
so the next piece to check is urlgrabber in rhel5, which, ultimately, is going to be urllib[2] in python.
Marcelo, i'll see if I can figure out a nice way to test this. thanks Fixed in spacewalk git by
commit dd1b01cb1067d165f902cd7c72f9cc6a25993f98
650520 - allow # in password
Fixed in rhel5 branch Sending rhn-client-tools/src/up2date_client/config.py Transmitting file data . Committed revision 197656. Hello team, Fix worked fine. Thank you. Created attachment 461959 [details]
Squid configuration file.
Verified. Package versions: rhn-client-tools-0.4.20-46.el5 yum-rhn-plugin-0.5.4-17.el5 Proxy: squid-2.6.STABLE21-6.el5 user: proxy_user pass: #proxy_pas#sword /etc/squid/squid.conf is in attachment #461959 [details]. Configuration files /etc/yum.conf and /etc/sysconfig/rhn/up2date modified as written in comment #1. Commands like yum install <package> and rhnreg_ks are working correctly, no proxy authentication error occured.
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:
Previously, using the hash sign (that is, "#") in a proxy password caused yum to fail with the following error:
Error communicating with server. The message was:
Proxy Authentication Required
With this update, this error no longer occurs, and the use of this character no longer prevents yum from working.
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
Technical note updated. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
Diffed Contents:
@@ -1,6 +1 @@
-Previously, using the hash sign (that is, "#") in a proxy password caused yum to fail with the following error:
+Previously, using the hash sign (that is, "#") in a proxy password caused yum to fail with the following error:
Error communicating with server. The message was:
Proxy Authentication Required
With this update, this error no longer occurs, and the use of this character no longer prevents yum from working.-
- Error communicating with server. The message was:
- Proxy Authentication Required
-
-With this update, this error no longer occurs, and the use of this character no longer prevents yum from working.
|