[Bug 552546] New: libzypp doesn't read proxy-user correctly while using aria2 back-end
http://bugzilla.novell.com/show_bug.cgi?id=552546 Summary: libzypp doesn't read proxy-user correctly while using aria2 back-end Classification: openSUSE Product: openSUSE 11.2 Version: RC 2 Platform: i386 OS/Version: Linux Status: NEW Severity: Major Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: dvaleev@novell.com QAContact: qa@suse.de Found By: --- Created an attachment (id=325535) --> (http://bugzilla.novell.com/attachment.cgi?id=325535) sysconfig proxy libzypp doesn't read proxy-user correctly while using aria2 back-end Setup: Proxy settings defined using yast2 proxy module To reproduce issue use proxy with auth then zypper -vv ref Verbosity: 2 Initializing Target Specified repositories: Checking whether to refresh metadata for Updates for openSUSE 11.2-0 Retrieving: http://download.opensuse.org/update/11.2/repodata/repomd.xml [startiRetrieving: http://download.opensuse.org/update/11.2/repodata/repomd.xml [error] Failed to download /repodata/repomd.xml from http://download.opensuse.org/update/11.2/ Abort, retry, ignore? [a/r/i/?] (a): Disabling aria back-end works ZYPP_ARIA2C=0 zypper -vv ref Actual results: libzypp doesn't read proxy-user correctly from .curlrc file Expected results: libzypp should be able to get meta data through auth proxy using aria back-end -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=552546
User dvaleev@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=552546#c1
--- Comment #1 from Dinar Valeev
http://bugzilla.novell.com/show_bug.cgi?id=552546
User dvaleev@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=552546#c2
--- Comment #2 from Dinar Valeev
http://bugzilla.novell.com/show_bug.cgi?id=552546
User dvaleev@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=552546#c4
--- Comment #4 from Dinar Valeev
http://bugzilla.novell.com/show_bug.cgi?id=552546
User ma@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=552546#c5
Michael Andres
In adition trying to perform generated by zypp command line dhcp76:~ # 'aria2c' '--user-agent=ZYpp 6.21.2 (aria2 version 1.5.2)
This is log output and does not contain any credential information. I.e. we don't log the usernames/passwords here. @Duncan: A matter of aria version, or did it never work? file_options.push_back(str::form("http-proxy-user=%s", ... file_options.push_back(str::form("http-proxy-passwd=%s", ... $ aria2c --http-proxy-user b aria2c: unrecognized option '--http-proxy-user' Exception: Failed to parse command-line options. $ aria2c --http-proxy-passwd foo aria2c: unrecognized option '--http-proxy-passwd' Exception: Failed to parse command-line options. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=552546
User ma@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=552546#c6
--- Comment #6 from Michael Andres
http://bugzilla.novell.com/show_bug.cgi?id=552546
User dvaleev@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=552546#c7
--- Comment #7 from Dinar Valeev
http://bugzilla.novell.com/show_bug.cgi?id=552546
User jkupec@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=552546#c8
Ján Kupec
Some time ago aria stops using http-proxy-user and http-proxy-password
Now it uses http-proxy=http://user:pass@host:port
May be we need to create separate config file for aria back-end by yast proxy module. And load it by libzypp if aria back-end specified like /root/.ariarc where proxy address will be specified in correct form.
IIRC currently we read/write the proxy password from/to ~/.curlrc. This bug can be fixed without changing this. But in the future we might consider writing to aria's config: ~/.aria2/aria2.conf -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=552546
User ma@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=552546#c9
--- Comment #9 from Michael Andres
http://bugzilla.novell.com/show_bug.cgi?id=552546
User dvaleev@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=552546#c10
--- Comment #10 from Dinar Valeev
http://bugzilla.novell.com/show_bug.cgi?id=552546#c11
Karsten Fleischer
http://bugzilla.novell.com/show_bug.cgi?id=552546
http://bugzilla.novell.com/show_bug.cgi?id=552546#c12
Tatsuhiro Tsujikawa
http://bugzilla.novell.com/show_bug.cgi?id=552546
http://bugzilla.novell.com/show_bug.cgi?id=552546#c13
Dinar Valeev
http://bugzilla.novell.com/show_bug.cgi?id=552546
http://bugzilla.novell.com/show_bug.cgi?id=552546#c
Michael Andres
http://bugzilla.novell.com/show_bug.cgi?id=552546
http://bugzilla.novell.com/show_bug.cgi?id=552546#c15
--- Comment #15 from Tatsuhiro Tsujikawa
http://bugzilla.novell.com/show_bug.cgi?id=552546
http://bugzilla.novell.com/show_bug.cgi?id=552546#c16
Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=552546
https://bugzilla.novell.com/show_bug.cgi?id=552546#c17
Ján Kupec
participants (1)
-
bugzilla_noreply@novell.com