Mailinglist Archive: opensuse-bugs (6595 mails)

< Previous Next >
[Bug 532575] latest Factory update to aria2 broke zypper/YaST
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Thu, 20 Aug 2009 11:02:23 -0600
  • Message-id: <20090820170223.50200CC7CD@xxxxxxxxxxxxxxxxxxxxxx>
http://bugzilla.novell.com/show_bug.cgi?id=532575

User poeml@xxxxxxxxxx added comment
http://bugzilla.novell.com/show_bug.cgi?id=532575#c8





--- Comment #8 from Peter Poeml <poeml@xxxxxxxxxx> 2009-08-20 11:02:22 MDT ---
I'm happy to open an issue for this in the aria2c tracker, if you prefer!

Below is strace log from aria2c accessing mirror.yandex.ru. aria2c is run on
openSUSE 11.0 here, with a caching nameserver on localhost.



connect(5, {sa_family=AF_INET, sin_port=htons(53),
sin_addr=inet_addr("127.0.0.1")}, 28) = 0
fcntl64(5, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
gettimeofday({1250787374, 375391}, NULL) = 0
poll([{fd=5, events=POLLOUT, revents=POLLOUT}], 1, 0) = 1
send(5, "\300:\1\0\0\1\0\0\0\0\0\0\6mirror\6yandex\2ru\0\0\34"..., 34,
MSG_NOSIGNAL) = 34
poll([{fd=5, events=POLLIN, revents=POLLIN}], 1, 5000) = 1
ioctl(5, FIONREAD, [208]) = 0
recvfrom(5, "\300:\201\200\0\1\0\1\0\6\0\1\6mirror\6yandex\2ru\0\0\34"...,
1024, 0, {sa_family=AF_INET, sin_port=htons(53),
sin_addr=inet_addr("127.0.0.1")}, [16]) = 208
close(5) = 0
time(NULL) = 1250787374
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 5
connect(5, {sa_family=AF_INET, sin_port=htons(53),
sin_addr=inet_addr("127.0.0.1")}, 28) = 0
fcntl64(5, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
gettimeofday({1250787374, 378695}, NULL) = 0
poll([{fd=5, events=POLLOUT, revents=POLLOUT}], 1, 0) = 1
send(5, "\247\366\1\0\0\1\0\0\0\0\0\0\6mirror\6yandex\2ru\0\0\1"..., 34,
MSG_NOSIGNAL) = 34
poll([{fd=5, events=POLLIN, revents=POLLIN}], 1, 5000) = 1
ioctl(5, FIONREAD, [244]) = 0
recvfrom(5, "\247\366\201\200\0\1\0\4\0\6\0\1\6mirror\6yandex\2ru\0\0\1"...,
1024, 0, {sa_family=AF_INET, sin_port=htons(53),
sin_addr=inet_addr("127.0.0.1")}, [16]) = 244
close(5) = 0
open("/etc/gai.conf", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=2689, ...}) = 0
fstat64(5, {st_mode=S_IFREG|0644, st_size=2689, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb80c9000
read(5, "# Configuration for getaddrinfo("..., 4096) = 2689
read(5, "", 4096) = 0
close(5) = 0
munmap(0xb80c9000, 4096) = 0
socket(PF_INET6, SOCK_DGRAM, IPPROTO_IP) = 5
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
socket(PF_NETLINK, SOCK_RAW, 0) = 5
bind(5, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 0
getsockname(5, {sa_family=AF_NETLINK, pid=3857, groups=00000000}, [12]) = 0
time(NULL) = 1250787374
sendto(5, "\24\0\0\0\26\0\1\3.\200\215J\0\0\0\0\0\0\0\0", 20, 0,
{sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 20
recvmsg(5, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000},
msg_iov(1)=[{"8\0\0\0\24\0\2\0.\200\215J\21\17\0\0\2\10\200\376\1\0\0\0\10\0\1\0\177\0\0\1"...,
4096}], msg_controllen=0, msg_flags=0}, 0) = 116
recvmsg(5, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000},
msg_iov(1)=[{"@\0\0\0\24\0\2\0.\200\215J\21\17\0\0\n\200\200\376\1\0\0\0\24\0\1\0\0\0\0\0"...,
4096}], msg_controllen=0, msg_flags=0}, 0) = 128
recvmsg(5, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000},
msg_iov(1)=[{"\24\0\0\0\3\0\2\0.\200\215J\21\17\0\0\0\0\0\0\1\0\0\0\24\0\1\0\0\0\0\0"...,
4096}], msg_controllen=0, msg_flags=0}, 0) = 20
close(5) = 0
socket(PF_INET6, SOCK_STREAM, IPPROTO_TCP) = 5
setsockopt(5, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
fcntl64(5, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
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)
close(5) = 0
write(1, "\n", 1
) = 1
gettimeofday({1250787374, 389911}, NULL) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
write(1, "2009-08-20 18:56:14.389911 ERROR"..., 1322009-08-20 18:56:14.389911
ERROR - CUID#6 - Download aborted.
URI=http://mirror.yandex.ru/opensuse/packman/11.1/repodata/repomd.xml
) = 132



So finally, it logs the exception:


write(1, "Exception: [AbstractCommand.cc:1"..., 208Exception:
[AbstractCommand.cc:195]
URI=http://mirror.yandex.ru/opensuse/packman/11.1/repodata/repomd.xml
-> [SocketCore.cc:287] Failed to connect to the host 2a02:6b8:0:201::1,
cause: all addresses failed

--
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.

< Previous Next >
References