[opensuse-factory] IPv6 resolver problems in openSUSE 11.2 milestone 7
Hi there, I know that resolving IPv6 addresses is an ongoing problem in Linux, but disabling IPv6 helped in the past. BUT: Even after totally disabling IPv6 I have big problems with zypper and/or aria2c, when I try to install or update packages. It takes ages, because the resolver still tries to resolve AAAA addresses resulting in some 5 sec timeouts. Related issues: a) IPv6 is compiled statically into the kernel. Why not as module like in the past ? b) Therefore, disabling IPv6 using yast2 does not work. c) Disabling IPv6 in /etc/sysctl.conf by "net.ipv6.conf.all.disable_ipv6 = 1" does also not work. d) Disabling IPv6 with "ipv6.disable=1" as boot parameter does work. But again, even though IPv6 seems to be disabled using method d) the resolver within the Yast Software Manager still tries AAAA lookups. All other clients (Firefox, KDE browser konqueror, Opera, wget, etc.) do not have these lookup problems after disabling IPv6. How can I fix that ? Thanks in advance Ralf -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Hi! On Tue, Sep 22, 2009 at 11:45:28AM +0200, Ralf Krüdewagen wrote:
I know that resolving IPv6 addresses is an ongoing problem in Linux, but disabling IPv6 helped in the past.
BUT: Even after totally disabling IPv6 I have big problems with zypper and/or aria2c, when I try to install or update packages. It takes ages, because the resolver still tries to resolve AAAA addresses resulting in some 5 sec timeouts.
Related issues: a) IPv6 is compiled statically into the kernel. Why not as module like in the past ? b) Therefore, disabling IPv6 using yast2 does not work. c) Disabling IPv6 in /etc/sysctl.conf by "net.ipv6.conf.all.disable_ipv6 = 1" does also not work. d) Disabling IPv6 with "ipv6.disable=1" as boot parameter does work.
But again, even though IPv6 seems to be disabled using method d) the resolver within the Yast Software Manager still tries AAAA lookups. All other clients (Firefox, KDE browser konqueror, Opera, wget, etc.) do not have these lookup problems after disabling IPv6.
How can I fix that ?
Does this problem disappear if you add 'options single-request' to your /etc/resolv.conf? If not, please open a bug, that would be quite interesting situation. If yes, is your nscd running? If not, it can be because you use AppArmor, there has been a bug in M7 which caused unscd not to start; that will be fixed in the next milestone. -- Petr "Pasky" Baudis A lot of people have my books on their bookshelves. That's the problem, they need to read them. -- Don Knuth -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
Hi Petr, great hint ! Setting 'options single-request' in /etc/resolv.conf helped. Now all A and even AAAA queries are answered immediately and without 5 sec timeout. I did not know that parameter. Maybe this setting will also help if IPv6 is enabled (which I prefer). I feel that the IPv6 stuff must be better documented on opensuse.org. BTW, nscd was running and also avahi stuff. I tried before with and without these services. Thanks Ralf ----------------ursprüngliche Nachricht----------------- Von: "Petr Baudis" An: "Ralf Krüdewagen" ralf@kruedewagen.de Kopie: opensuse-factory@opensuse.org Datum: Tue, 22 Sep 2009 11:55:10 +0200 -------------------------------------------------
Hi!
On Tue, Sep 22, 2009 at 11:45:28AM +0200, Ralf Krüdewagen wrote:
I know that resolving IPv6 addresses is an ongoing problem in Linux, but disabling IPv6 helped in the past.
BUT: Even after totally disabling IPv6 I have big problems with zypper and/or aria2c, when I try to install or update packages. It takes ages, because the resolver still tries to resolve AAAA addresses resulting in some 5 sec timeouts.
Related issues: a) IPv6 is compiled statically into the kernel. Why not as module like in the past ? b) Therefore, disabling IPv6 using yast2 does not work. c) Disabling IPv6 in /etc/sysctl.conf by "net.ipv6.conf.all.disable_ipv6 = 1" does also not work. d) Disabling IPv6 with "ipv6.disable=1" as boot parameter does work.
But again, even though IPv6 seems to be disabled using method d) the resolver within the Yast Software Manager still tries AAAA lookups. All other clients (Firefox, KDE browser konqueror, Opera, wget, etc.) do not have these lookup problems after disabling IPv6.
How can I fix that ?
Does this problem disappear if you add 'options single-request' to your /etc/resolv.conf?
If not, please open a bug, that would be quite interesting situation. If yes, is your nscd running? If not, it can be because you use AppArmor, there has been a bug in M7 which caused unscd not to start; that will be fixed in the next milestone.
-- Petr "Pasky" Baudis A lot of people have my books on their bookshelves. That's the problem, they need to read them. -- Don Knuth
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
participants (2)
-
Petr Baudis
-
Ralf Krüdewagen