Hint:

https://github.com/openSUSE/zypper/issues/49

mlandres commented on 8 Mar:
There's no zypper option, but with libzypp-16.4.4 you can set 
ZYPP_MEDIA_CURL_IPRESOLVE=4 in the environment to force the libzypp curl 
backend to resolve names to IPv4 addresses only. (=6 to force IPv6 only). This 
will work for zypper as well as for YAST and PackageKit.

ASS - SuSE SLES 12 SP2 64-bit lx-brand image:

9d0dd08e-2f10-42f7-a7c1-fe7ecb5393d3:~ # cat /etc/os-release | egrep "VERSION="
VERSION="12-SP2"
9d0dd08e-2f10-42f7-a7c1-fe7ecb5393d3:~ # rpm -qa | grep libzypp
libzypp-16.2.4-19.5.x86_64
9d0dd08e-2f10-42f7-a7c1-fe7ecb5393d3:~ #

http://dsapid.root1.ass.de/ui/#!/configure/353732d8-be90-11e7-aede-cf31a19019e1

... therefore, a new image was created ...

ASS - SuSE SLES 12 SP3 64-bit lx-brand image:
(this image contains strace for debugging purposes)

ee75f9f0-552a-e603-f9da-c0ee08d363ac:~ # cat /etc/os-release | egrep "VERSION="
VERSION="12-SP3"
ee75f9f0-552a-e603-f9da-c0ee08d363ac:~ # rpm -qa | grep libzypp
libzypp-16.15.6-2.8.1.x86_64
ee75f9f0-552a-e603-f9da-c0ee08d363ac:~ #

http://dsapid.root1.ass.de/ui/#!/configure/c5c815b2-c104-11e7-8670-3f01ad4c4fdc

Same (dns resolving) Issue:

ee75f9f0-552a-e603-f9da-c0ee08d363ac:~ # export ZYPP_MEDIA_CURL_IPRESOLVE=4
ee75f9f0-552a-e603-f9da-c0ee08d363ac:~ # ZYPP_MEDIA_CURL_IPRESOLVE=4 yast

ee75f9f0-552a-e603-f9da-c0ee08d363ac:~ # strace curl -v http://ass.de

open("/usr/lib64/gconv/gconv-modules.cache", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=26244, ...}) = 0
mmap(NULL, 26244, PROT_READ, MAP_SHARED, 3, 0) = 0x7fffeef60000
close(3)                                = 0
futex(0x7fffee79e8a8, FUTEX_WAKE_PRIVATE, 2147483647) = 0
open("/root/.curlrc", O_RDONLY)         = -1 ENOENT (No such file or directory)
ioctl(1, TCGETS, {B38400 opost isig icanon echo ...}) = 0
rt_sigaction(SIGPIPE, NULL, {SIG_IGN, [PIPE], SA_RESTORER|SA_RESTART, 
0x7fffee434950}, 8) = 0
rt_sigaction(SIGPIPE, {SIG_IGN, [PIPE], SA_RESTORER|SA_RESTART, 
0x7fffee810b10}, NULL, 8) = 0
rt_sigaction(SIGPIPE, NULL, {SIG_IGN, [PIPE], SA_RESTORER|SA_RESTART, 
0x7fffee810b10}, 8) = 0
rt_sigaction(SIGPIPE, {SIG_IGN, [PIPE], SA_RESTORER|SA_RESTART, 
0x7fffee810b10}, NULL, 8) = 0
write(2, "*", 1*)                        = 1
write(2, " ", 1 )                        = 1
write(2, "Rebuilt URL to: http://ass.de/\n";, 31Rebuilt URL to: http://ass.de/
) = 31
write(2, "*", 1*)                        = 1
write(2, " ", 1 )                        = 1
write(2, "Hostname was NOT found in DNS ca"..., 36Hostname was NOT found in DNS 
cache
) = 36
socket(PF_INET6, SOCK_DGRAM|SOCK_CLOEXEC, IPPROTO_IP) = 3
close(3)                                = 0
mmap(NULL, 10489856, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, 
-1, 0) = 0x7fffe8e00000
mprotect(0x7fffe8e00000, 4096, PROT_NONE) = 0
clone(child_stack=0x7fffe97ffeb0, 
flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID,
 parent_tidptr=0x7fffe98009d0, tls=0x7fffe9800700, child_tidptr=0x
7fffe98009d0) = 14139

Hint:

ee75f9f0-552a-e603-f9da-c0ee08d363ac:/proc/net # ls -all | egrep 6
-r--r--r--   1 root root    0 Nov  4 03:13 if_inet6
-r--r--r--   1 root root    0 Nov  4 03:13 ipv6_route
-r--r--r--   1 root root    0 Nov  4 03:13 tcp6
-r--r--r--   1 root root    0 Nov  4 03:13 udp6
ee75f9f0-552a-e603-f9da-c0ee08d363ac:/proc/net # cat if_inet6
00000000000000000000000000000001 01 80 10 80       lo
fe80000000000000a0c09afffeea8199 02 0a 20 80     eth0
ee75f9f0-552a-e603-f9da-c0ee08d363ac:/proc/net #

Mit freundlichen Grüßen


DANIEL PLOMINSKI
Leiter - IT / Head of IT

Telefon 09265 808-151  |  Mobil 0151 58026316  |  
[email protected]<mailto:[email protected]>
PGP Key: http://pgp.ass.de/2B4EB20A.key


[cid:C17DB6FB-5F79-4BCC-AAB4-CAB59266BC29@localdomain]

ASS-Einrichtungssysteme GmbH
ASS-Adam-Stegner-Straße 19  |  D-96342 Stockheim

Geschäftsführer: Matthias Stegner, Michael Stegner, Stefan Weiß
Amtsgericht Coburg HRB 3395  |  Ust-ID: DE218715721

[cid:E40AEC87-91EE-472A-901A-ECAD3F5801FB@localdomain]




-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to