[Bug 532575] New: latest Factory update to aria2 broke zypper/YaST
http://bugzilla.novell.com/show_bug.cgi?id=532575 User tony@daylessday.org added comment http://bugzilla.novell.com/show_bug.cgi?id=532575#c6 Summary: latest Factory update to aria2 broke zypper/YaST Classification: openSUSE Product: openSUSE 11.2 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: tony@daylessday.org QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.2) Gecko/20090730 SUSE/3.5.2-2.3 Firefox/3.5.2 After installing the last aria2 from Factory zypper/YaST are unable to download anything from the remote repositories. It looks like aria2c tries to connect to IPv6 address by default, but fails to do it. Downgrading aria2 to the previous version fixes the problem. Running aria2c from console results in the following output: # aria2c http://mirror.yandex.ru/opensuse/factory/repo/oss/content 2009-08-19 23:03:03.139528 WARN - You may encounter the certificate verification error with HTTPS server. See --ca-certificate and --check-certificate option. 2009-08-19 23:03:03.140849 ERROR - CUID#6 - Download aborted. URI=http://mirror.yandex.ru/opensuse/factory/repo/oss/content Exception: [AbstractCommand.cc:195] URI=http://mirror.yandex.ru/opensuse/factory/repo/oss/content -> [SocketCore.cc:287] Failed to connect to the host 2a02:6b8:0:201::1, cause: all addresses failed Download Results: gid|stat|avg speed |path/URI ===+====+===========+=========================================================== 1| ERR| n/a|http://mirror.yandex.ru/opensuse/factory/repo/oss/content Status Legend: (ERR):error occurred. aria2 will resume download if the transfer is restarted. If there are any errors, then see the log file. See '-l' option in help/man page for details. Reproducible: Always Steps to Reproduce: 1. 2. 3. -- 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=532575
Antony Dovgal
http://bugzilla.novell.com/show_bug.cgi?id=532575
User jkupec@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=532575#c1
Ján Kupec
http://bugzilla.novell.com/show_bug.cgi?id=532575
User poeml@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=532575#c2
--- Comment #2 from Peter Poeml
http://bugzilla.novell.com/show_bug.cgi?id=532575
User tony@daylessday.org added comment
http://bugzilla.novell.com/show_bug.cgi?id=532575#c3
--- Comment #3 from Antony Dovgal
http://bugzilla.novell.com/show_bug.cgi?id=532575
User tony@daylessday.org added comment
http://bugzilla.novell.com/show_bug.cgi?id=532575#c4
--- Comment #4 from Antony Dovgal
http://bugzilla.novell.com/show_bug.cgi?id=532575
User tony@daylessday.org added comment
http://bugzilla.novell.com/show_bug.cgi?id=532575#c5
Antony Dovgal
http://bugzilla.novell.com/show_bug.cgi?id=532575
User poeml@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=532575#c6
--- Comment #6 from Peter Poeml
http://bugzilla.novell.com/show_bug.cgi?id=532575
User poeml@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=532575#c7
Peter Poeml
http://bugzilla.novell.com/show_bug.cgi?id=532575
User poeml@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=532575#c8
--- Comment #8 from Peter Poeml
http://bugzilla.novell.com/show_bug.cgi?id=532575
User tatsuhiro.t@gmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=532575#c9
--- Comment #9 from Tatsuhiro Tsujikawa
connect(5, {sa_family=AF_INET6, sin6_port=htons(0), inet_pton(AF_INET6, "2a02:6b8:0:201::1", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = -1 ENETUNREACH (Network is unreachable)
This failed - okay. Now, aria2c connects to the other addresses, which works, but it keeps trying and gives up after trying all four addresses:
connect(5, {sa_family=AF_UNSPEC, sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, 16) = 0 connect(5, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("93.158.155.193")}, 16) = 0 getsockname(5, {sa_family=AF_INET6, sin6_port=htons(58831), inet_pton(AF_INET6, "::ffff:83.133.126.38", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [28]) = 0 connect(5, {sa_family=AF_UNSPEC, sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, 16) = 0 connect(5, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("77.88.19.68")}, 16) = 0 getsockname(5, {sa_family=AF_INET6, sin6_port=htons(43340), inet_pton(AF_INET6, "::ffff:83.133.126.38", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [28]) = 0 connect(5, {sa_family=AF_UNSPEC, sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, 16) = 0 connect(5, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("77.88.19.73")}, 16) = 0 getsockname(5, {sa_family=AF_INET6, sin6_port=htons(35944), inet_pton(AF_INET6, "::ffff:83.133.126.38", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [28]) = 0 connect(5, {sa_family=AF_UNSPEC, sa_data="\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}, 16) = 0 connect(5, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("77.88.19.74")}, 16) = 0 getsockname(5, {sa_family=AF_INET6, sin6_port=htons(43049), inet_pton(AF_INET6, "::ffff:83.133.126.38", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [28]) = 0 close(5) = 0
These attempt to connecting all resolved addresses were done by getaddrinfo() system call. Not by aria2's application code. aria2's first failed attempt is way below:
connect(5, {sa_family=AF_INET6, sin6_port=htons(80), inet_pton(AF_INET6, "2a02:6b8:0:201::1", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = -1 ENETUNREACH (Network is unreachable)
It is interesting to know why getaddrinfo is connecting to these addresses, but it is not to related this issue. Anyway, the fix to this regression is in svn repository and the new release 1.5.2 is about to release. -- 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=532575
User poeml@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=532575#c10
--- Comment #10 from Peter Poeml
http://bugzilla.novell.com/show_bug.cgi?id=532575
User matwey.kornilov@gmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=532575#c11
Matwey Kornilov
http://bugzilla.novell.com/show_bug.cgi?id=532575
User tony@daylessday.org added comment
http://bugzilla.novell.com/show_bug.cgi?id=532575#c12
--- Comment #12 from Antony Dovgal
http://bugzilla.novell.com/show_bug.cgi?id=532575
User binner@kde.org added comment
http://bugzilla.novell.com/show_bug.cgi?id=532575#c13
--- Comment #13 from Stephan Binner
http://bugzilla.novell.com/show_bug.cgi?id=532575
User binner@kde.org added comment
http://bugzilla.novell.com/show_bug.cgi?id=532575#c14
Stephan Binner
http://bugzilla.novell.com/show_bug.cgi?id=532575
User poeml@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=532575#c15
Peter Poeml
http://bugzilla.novell.com/show_bug.cgi?id=532575
User coolo@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=532575#c16
Stephan Kulow
http://bugzilla.novell.com/show_bug.cgi?id=532575
User f.leerink@xs4all.nl added comment
http://bugzilla.novell.com/show_bug.cgi?id=532575#c17
--- Comment #17 from Frans Leerink
http://bugzilla.novell.com/show_bug.cgi?id=532575
http://bugzilla.novell.com/show_bug.cgi?id=532575#c18
Alvise C
http://bugzilla.novell.com/show_bug.cgi?id=532575
http://bugzilla.novell.com/show_bug.cgi?id=532575#c19
Bernd Röbenack
http://bugzilla.novell.com/show_bug.cgi?id=532575
http://bugzilla.novell.com/show_bug.cgi?id=532575#c20
Ján Kupec
participants (1)
-
bugzilla_noreply@novell.com