[Bug 632530] New: libcanberra.so failing to connect to pulseaudio results in menu hangs in Firefox
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=632530 https://bugzilla.novell.com/show_bug.cgi?id=632530#c0 Summary: libcanberra.so failing to connect to pulseaudio results in menu hangs in Firefox Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: x86-64 OS/Version: openSUSE 11.3 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: pgngw+dev001+novell.com@f-m.fm QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.8) Gecko/20100723 SUSE/3.6.8-1.3 Firefox/3.6.8 as referenced @ https://bugzilla.mozilla.org/show_bug.cgi?id=567746 with Firefox ver >= 3.6.x on OpenSUSE 11.3, either native (@mozilla) or from repos (@opensuse), menu actions (@ toolbar, at bookmarks, @context menu, @ submenu ...) have a delayed response/action of ~5 secs -- if libcanberra is installed, but pulseaudio is missing: (1) no canberra, no pulseaudio ---> NO menu delay (2) with canberra, no pulseaudio ---> 5+ second menu delay (3) with canberra, with pulseaudio ---> NO menu delay it's been suggested that this is not an issue with firefox code, but rather with libcanberra code, and misselection of the optional pulseaudio dep instead of available alsa. i've provided debug info, stepwise reproducibility, etc @ the original bug. will provide add'l info here as requested -- i'm not sure what'd needed. a possibly (?) relevant comment @ #opensuse-gnome, <wolfiR> dev001: the delay happens with every menu action? <dev001> wolfiR: yes. @ toolbar, at bookmarks, @context menu, @ submenu ... <wolfiR> dev001: I see the difference with FF 3.5 <-> 3.6 that there is EVENT_MENU_POPUP in 3.6 which wasn't in 3.5 <wolfiR> dev001: that might explain the difference between both version [09:00] <wolfiR> dev001: still doesn't explain why it happens at all further referenced @ https://bugs.freedesktop.org/show_bug.cgi?id=29650 Sounds like a brokeness in OpenSUSE. ... this is not really a problem of libcanberra, nor of PA, and I am pretty sure it's just misconfiguration of opensuse. ... Please bring this to the attention of your distributor, thanks. [11:32] <mezcalero> ff is in no way special [11:33] <mezcalero> so it should be possible to reproduce this with canberra-gtk-play output as attachment -> https://bugs.freedesktop.org/attachment.cgi?id=37960 Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=632530 https://bugzilla.novell.com/show_bug.cgi?id=632530#c dev001x _ <pgngw+dev001+novell.com@f-m.fm> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugzilla.mozilla.or | |g/show_bug.cgi?id=567746 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=632530 https://bugzilla.novell.com/show_bug.cgi?id=632530#c dev001x _ <pgngw+dev001+novell.com@f-m.fm> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.freedesktop.or | |g/show_bug.cgi?id=29650 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=632530 https://bugzilla.novell.com/show_bug.cgi?id=632530#c1 --- Comment #1 from dev001x _ <pgngw+dev001+novell.com@f-m.fm> 2010-08-18 20:04:05 UTC --- in chat with @libcanberra dev, looking at detail in attachment @: https://bugs.freedesktop.org/show_bug.cgi?id=29650#c5 27164 12:06:38.804645 connect(8, {sa_family=AF_INET6, sin6_port=htons(4713), inet_pton(AF_INET6, "::1", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = -1 EINPROGRESS (Operation now in progress) <0.000021> 27164 12:06:38.804717 poll([{fd=6, events=POLLIN}, {fd=8, events=POLLOUT}], 2, 5000) = 0 (Timeout) <5.005109> 27164 12:06:43.809956 close(8) = 0 <0.000039> Those are the three interesting lines: we try to connect to localhost on port 4713, and that times out. Normally this should immediately return with an ECONNREFUSED. There's some kind of fw running i'd guess that blocks IPv6 even for local communication. Try "iptables -L -v -n" to see if there is some kind of fw running, and fix your fw. so, checking (on this box, no firewall ...) iptables -L -v -n Chain INPUT (policy ACCEPT 196 packets, 84005 bytes) pkts bytes target prot opt in out source destination Chain FORWARD (policy ACCEPT 0 packets, 0 bytes) pkts bytes target prot opt in out source destination Chain OUTPUT (policy ACCEPT 207 packets, 38542 bytes) pkts bytes target prot opt in out source destination asking, [12:45] <dev001> so, iiuc, if ipv6 is disabled on LAN-boxen, libcanberra will fail becuase it insists on ipv6 checks? [12:45] <mezcalero> no [12:45] <mezcalero> it will immediately fail and libpulse goes on [12:46] <mezcalero> and tries the next possible server [12:46] <mezcalero> most likely there won't be any [12:46] <mezcalero> and hence it will tell libcanberra that the server couldn't be reached [12:46] <mezcalero> and the lc will tell the app that the server couldn't be reached [12:46] <mezcalero> and correctly written apps would completely ignore the lc error codes [12:47] <mezcalero> because sound events are not really that important [12:47] <mezcalero> the problem you have is simply that IPv6 is borked for you and something that should normally take zero time takes forever [12:47] <mezcalero> which is connecting to localhost to see if there's a PA server running and, [12:50] <dev001> On opensuse 11.3, if firefox > 3.6.6 is installed, & libcanberra *is* installed, but pulseaudio is not, the "distro-installed ipv6 setup" is 'borked', causing menus in firefox to delay. [12:50] <dev001> do i have that more or less right? [12:55] <mezcalero> this has nothing to do with firefox [12:55] <mezcalero> also, not really anything to do with libcanberra [12:55] <mezcalero> and not even really too much with pa either [12:56] <mezcalero> it's just that if you connect to localhost via ipv6 the connection times out instead of returning ECONNREFUSED which leaves me wondering, [12:56] <dev001> so the fact that it ONLY mainfests in firefox, when libcanberra & pulseaudio are directly & reproducibly involved, and NOwhere else, is a fluke? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=632530 https://bugzilla.novell.com/show_bug.cgi?id=632530#c2 dev001x _ <pgngw+dev001+novell.com@f-m.fm> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Basesystem |Network --- Comment #2 from dev001x _ <pgngw+dev001+novell.com@f-m.fm> 2010-08-18 21:02:55 UTC --- this seems to be blamed, most recently, on "borked" ipv6. so, let's try component=Network ... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=632530 https://bugzilla.novell.com/show_bug.cgi?id=632530#c3 --- Comment #3 from dev001x _ <pgngw+dev001+novell.com@f-m.fm> 2010-08-18 21:42:44 UTC --- per darix @ #opensuse-factory, vi /boot/grub/menu.lst title openSUSE 11.3 root (hd0,0) -- kernel /vmlinuz ... ipv6.disable=1 ++ kernel /vmlinuz ... initrd /initrd rpm -e `rpm -e | grep -i pulseaudio` reboot launch Firefox (ver 3.6.8, libcanberra installed, NO pulseaudio) ** NO ** menu delay fixes the problem/delay. so that's a workaround. what, if anything, needs to be _fixed_ ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=632530 https://bugzilla.novell.com/show_bug.cgi?id=632530#c4 --- Comment #4 from dev001x _ <pgngw+dev001+novell.com@f-m.fm> 2010-08-18 21:46:06 UTC --- argh! that should be: -- kernel /vmlinuz ... ++ kernel /vmlinuz ... ipv6.disable=1 i.e, **ADD** the disable -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=632530 https://bugzilla.novell.com/show_bug.cgi?id=632530#c yang xiaoyu <xyyang@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xyyang@novell.com AssignedTo|bnc-team-screening@forge.pr |bnc-team-gnome@forge.provo. |ovo.novell.com |novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=632530 https://bugzilla.novell.com/show_bug.cgi?id=632530#c5 --- Comment #5 from dev001x _ <pgngw+dev001+novell.com@f-m.fm> 2010-09-03 19:49:19 UTC --- although this is a workaround, disabling ipv6 really is not a viable , permanent option. (how) will this be ultimately addressed? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=632530 https://bugzilla.novell.com/show_bug.cgi?id=632530#c6 dev001x _ <pgngw+dev001+novell.com@f-m.fm> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Normal |Major --- Comment #6 from dev001x _ <pgngw+dev001+novell.com@f-m.fm> 2010-11-17 03:04:14 UTC --- bump this is still an issue/problem ... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=632530 https://bugzilla.novell.com/show_bug.cgi?id=632530#c7 --- Comment #7 from dev001x _ <pgngw+dev001+novell.com@f-m.fm> 2010-11-17 03:36:32 UTC --- grasping at straws, atm, might this, IPv6 not enabled in Yast, yet dhclient spams logs with ipv6 failures https://bugzilla.novell.com/show_bug.cgi?id=616765 be at all related? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=632530 https://bugzilla.novell.com/show_bug.cgi?id=632530#c8 --- Comment #8 from Marius Tomaschewski <mt@novell.com> 2010-11-17 07:50:12 UTC --- No, it isn't related. Bug 616765 is about starting dhcpv6 client while disable_ipv6=1, that were not taken into account. Without fix, the dhcpv6 is started when the interface is configured with BOOTPROTO="dhcp" regardless of disable_ipv6. As result, on systems with disable_ipv6, the interface start time is longer (20 secs by default), because /etc/init.d/network (ifup) waits for the dhcpv6 client to get an ipv6 address and the dhcpv6 client can't get any and complains in the logs because IPv6 is disabled. That's all about. No relation to this bug. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=632530 https://bugzilla.novell.com/show_bug.cgi?id=632530#c9 dev001x _ <pgngw+dev001+novell.com@f-m.fm> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-gnome@forge.provo. |bnc-team-screening@forge.pr |novell.com |ovo.novell.com --- Comment #9 from dev001x _ <pgngw+dev001+novell.com@f-m.fm> 2010-11-17 16:24:12 UTC --- default assignee's auto-set to: bnc-team-gnome@forge.provo.novell.com @ https://bugzilla.novell.com/describecomponents.cgi?product=openSUSE%2011.3 says, bnc-team-screening@forge.provo.novell.com changing ... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=632530 https://bugzilla.novell.com/show_bug.cgi?id=632530#c dev001x _ <pgngw+dev001+novell.com@f-m.fm> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|libcanberra.so failing to |if IPv6 enabled, menu |connect to pulseaudio |pulldowns delay/hang in |results in menu hangs in |Firefox; OK if IPv6 |Firefox |DISabled -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=632530 https://bugzilla.novell.com/show_bug.cgi?id=632530#c10 Wolfgang Rosenauer <wolfgang@rosenauer.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|if IPv6 enabled, menu |libcanberra.so might fail |pulldowns delay/hang in |to connect to pulseaudio if |Firefox; OK if IPv6 |IPv6 is enabled (causes |DISabled |menu hangs in Firefox) --- Comment #10 from Wolfgang Rosenauer <wolfgang@rosenauer.org> 2010-11-17 17:28:22 UTC --- Changed the summary again. It makes more sense to describe the already analyzed situation than the effects that can be seen. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=632530 https://bugzilla.novell.com/show_bug.cgi?id=632530#c11 --- Comment #11 from dev001x _ <pgngw+dev001+novell.com@f-m.fm> 2010-11-17 18:16:13 UTC --- ok, call it what you will :-/ re: alreadly analyzed? by whom? and to what end? @ https://bugs.freedesktop.org/show_bug.cgi?id=29650 comment -> "this is not really a problem of libcanberra, nor of PA, and I am pretty sure it's just misconfiguration of opensuse." and @ https://bugzilla.mozilla.org/show_bug.cgi?id=567746 commnet -> "we have discovered it is not a Firefox bug" so, i.e., !libcanberra !pulseaudio !firefox which suggests that "libcanberra.so might fail to connect to pulseaudio if IPv6 is enabled (causes menu hangs in Firefox)" is hardly accurate -- or anything more than coincidence. and, "pulldowns delay/hang in Firefox; OK if IPv6 DISable" does a better job of simply describing the ACTUAL symptom. but, i defer -- I'd just like to get some actual eyes on this. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=632530 https://bugzilla.novell.com/show_bug.cgi?id=632530#c12 --- Comment #12 from dev001x _ <pgngw+dev001+novell.com@f-m.fm> 2010-11-17 21:47:49 UTC --- Created an attachment (id=400929) --> (http://bugzilla.novell.com/attachment.cgi?id=400929) strace of Firefox in case of reported menu delay three test cases provided: case 1: IPv6 disabled, no IPv6 opt in grub --> Firefox menu delays STRACE ATTACHED (firefox.strace.CASE1.txt.bz2) case 2: IPv6 disabled, with 'ipv6.disable=1' in grub --> no delays case 3: IPv6 enabled, no IPv6 opt in grub --> no delays uname -a Linux dev001 2.6.34.7-0.5-desktop #1 SMP PREEMPT 2010-10-25 08:40:12 +0200 x86_64 x86_64 x86_64 GNU/Linux chkconfig --list | grep -i firewall SuSEfirewall2_init 0:off 1:off 2:off 3:off 4:off 5:off 6:off SuSEfirewall2_setup 0:off 1:off 2:off 3:off 4:off 5:off 6:off iptables -L Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination ip6tables -L Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination rpm -qa | egrep -i "canberra|pulse|MozillaFirefox-3" libcanberra-devel-0.24-1.8.x86_64 libcanberra0-0.24-1.8.x86_64 libpulse0-32bit-0.9.21-10.1.1.x86_64 libpulse0-0.9.21-10.1.1.x86_64 libcanberra-gtk0-32bit-0.24-1.8.x86_64 libpulse-mainloop-glib0-0.9.21-10.1.1.x86_64 libcanberra-gtk-0.24-1.8.x86_64 libcanberra-gtk0-0.24-1.8.x86_64 libcanberra0-32bit-0.24-1.8.x86_64 libcanberra-gtk-32bit-0.24-1.8.x86_64 MozillaFirefox-3.6.12-1.2.x86_64 cat /etc/zypp/locks ... type: package match_type: glob solvable_name: pulseaudio ... ########################################### CASE 1) IPv6 disabled, no settings in GRUB grep -i ipv6 /etc/sysctl.conf net.ipv6.conf.all.disable_ipv6 = 1 grep -i ipv6 /etc/modprobe.d/50-ipv6.conf # net.ipv6.conf.all.disable_ipv6 = 1 # Comment out to disable IPv6: # install ipv6 /bin/true grep -i ipv6 /boot/grub/menu.lst (empty) ifconfig eth0 | grep inet6 (empty) ls -ald /proc/sys/net/ipv* dr-xr-xr-x 0 root root 0 2010-11-17 12:11 /proc/sys/net/ipv4/ dr-xr-xr-x 0 root root 0 2010-11-17 12:11 /proc/sys/net/ipv6/ !! note, /proc/sys/net/ipv6 exists ... cd /proc/sys/net/ipv6/conf find . | grep -i ipv6 | grep -i able ./all/disable_ipv6 ./default/disable_ipv6 ./lo/disable_ipv6 ./eth0/disable_ipv6 cat `find . | grep -i ipv6 | grep -i able` 1 1 1 1 cd /usr/local/TEMP strace -s 1024 -Ff -tt -o firefox.strace.CASE1.txt firefox -safe-mode -private -P VANILLA in Firefox select "File" menu (~ 5 second delay before dropdown) select "File -> Quit" (~ 5 second delay before quit) attach -> firefox.strace.CASE1.txt.bz2 ########################################### CASE 2) IPv6 disabled, and ALSO in GRUB same as CASE 1, plus vi /boot/grub/menu.lst --- kernel /vmlinuz ... +++ kernel /vmlinuz ... ipv6.disable=1 grep -i ipv6 /boot/grub/menu.lst kernel /vmlinuz ... ipv6.disable=1 reboot ifconfig eth0 | grep inet6 (empty) ls -ald /proc/sys/net/ipv* dr-xr-xr-x 0 root root 0 2010-11-17 13:09 /proc/sys/net/ipv4/ !! note, NO /proc/sys/net/ipv6 ... in Firefox, *NO* menu hangs/delays of any kind. ########################################### CASE 3) IPv6 ENabled, no IPv6 settings in GRUB grep -i ipv6 /etc/sysctl.conf #net.ipv6.conf.all.disable_ipv6 = 1 grep -i ipv6 /etc/modprobe.d/50-ipv6.conf # net.ipv6.conf.all.disable_ipv6 = 1 # Comment out to disable IPv6: install ipv6 /bin/true grep -i ipv6 /boot/grub/menu.lst (empty) reboot ifconfig eth0 | grep inet6 inet6 addr: fe80::226:f2ff:feac:bfc2/64 Scope:Link ls -ald /proc/sys/net/ipv* dr-xr-xr-x 0 root root 0 2010-11-17 13:18 /proc/sys/net/ipv4/ dr-xr-xr-x 0 root root 0 2010-11-17 13:18 /proc/sys/net/ipv6/ cd /proc/sys/net/ipv6/conf find . | grep -i ipv6 | grep -i able ./all/disable_ipv6 ./default/disable_ipv6 ./lo/disable_ipv6 ./eth0/disable_ipv6 cat `find . | grep -i ipv6 | grep -i able` 0 0 0 0 in Firefox, *NO* menu hangs/delays of any kind. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=632530 https://bugzilla.novell.com/show_bug.cgi?id=632530#c13 --- Comment #13 from dev001x _ <pgngw+dev001+novell.com@f-m.fm> 2010-11-18 02:57:21 UTC --- per chat with darix, for CASE 1), above, also, vi /etc/pulse/client.conf ... --- ; default-server = +++ default-server = /dev/null ... --- ; autospawn = yes +++ autospawn = no ... then, reboot and, verifying, grep -i ipv6 /etc/sysctl.conf net.ipv6.conf.all.disable_ipv6 = 1 grep -i ipv6 /etc/modprobe.d/50-ipv6.conf # net.ipv6.conf.all.disable_ipv6 = 1 # Comment out to disable IPv6: # install ipv6 /bin/true grep -i ipv6 /boot/grub/menu.lst (empty) ifconfig eth0 | grep inet6 (empty) cd /proc/sys/net/ipv6/conf find . | grep -i ipv6 | grep -i able ./all/disable_ipv6 ./default/disable_ipv6 ./lo/disable_ipv6 ./eth0/disable_ipv6 cat `find . | grep -i ipv6 | grep -i able` 1 1 1 1 now, @ Firefox, prior menu-pulldown delay's GONE -- operates normally. so, in the IPv6-disabled case, to NOT suffer Firefox-menu-dropdown-delays, in addition to, grep -i ipv6 /etc/sysctl.conf net.ipv6.conf.all.disable_ipv6 = 1 apparently, EITHER (or BOTH) of the following need to be true, (i) grep -i ipv6 /boot/grub/menu.lst kernel /vmlinuz ... ipv6.disable=1 (ii) cat /etc/pulse/client.conf ... default-server = /dev/null autospawn = no ... i.e., the instructions for disabling IPv6 provided in, /etc/modprobe.d/50-ipv6.conf # # Using this file does not work when the module is compiled # into the kernel (11.2 and above). Instead, please use the # net.ipv6.conf.all.disable_ipv6 = 1 # global sysctl setting in /etc/sysctl.conf or also a per # interface settings in ifsysctl(5) files. # # Comment out to disable IPv6: # install ipv6 /bin/true are not sufficient ... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=632530 https://bugzilla.novell.com/show_bug.cgi?id=632530#c wei wang <wewang@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |bnc-team-gnome@forge.provo. |ovo.novell.com |novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=632530 https://bugzilla.novell.com/show_bug.cgi?id=632530#c20 Marius Tomaschewski <mt@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |jbohac@novell.com InfoProvider| |ke@novell.com --- Comment #20 from Marius Tomaschewski <mt@novell.com> 2010-12-01 15:29:25 UTC --- I'm dropping the obsolete /etc/modprobe.d/50-ipv6.conf in factory now. Karl, this is something for documentation / release notes, isn't it? dev001x, you weren't sooo wrong in your conclusion in comment 7. ifup-dhcp run into a similar detection problem... When only "net.ipv6.conf.all.disable_ipv6 = 1" is set, the kernel still allows to create to a IPv6 socket. It does not behave as in the boot parameter or moduled-disabled cases, so the old checks that software were using do not work any more. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=632530 https://bugzilla.novell.com/show_bug.cgi?id=632530#c21 --- Comment #21 from dev001x _ <pgngw+dev001+novell.com@f-m.fm> 2010-12-01 16:10:52 UTC --- reading your comments, i'm not clear what the final *right* method for disabling/enabling IPv6 is (will be?). question -- does it not make sense, given *SUSE's already current use of /etc/sysconfig/* configs, and the fact that IPv6-related 6-to-4 tunnels are already referenced in, e.g, /etc/sysconfig/network.ifcfg.template to consolidate IPv4 and Ipv6 enable/disable -- both globally and/or per-interface -- 'all in one-place' somewhere in /etc/sysconfig/*? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=632530 https://bugzilla.novell.com/show_bug.cgi?id=632530#c22 --- Comment #22 from Marius Tomaschewski <mt@novell.com> 2010-12-02 08:43:45 UTC --- (In reply to comment #21)
reading your comments, i'm not clear what the final *right* method for disabling/enabling IPv6 is (will be?).
Beside the fact, that disabling of IPv6 introduces more problems than it solves, there are basically two ways in the _kernel_: - via ipv6.disable=1 kernel parameter (global) - via sysctl / disable_ipv6 (for all or specific interface) I think, this will not change so fast in the next feature. It is also very difficult to get patches accepted upstream. See e.g. bug 559170. As you noticed, the second method has side effects, because it is not trivial to detect whether a ipv6 connect will work. When some app wants to connect for example http://ipv6.google.com/, it does not know and it usually does not need to know, which interface will be used, so it can't and shouldn't check the ...all.disable_ipv6 and $ifname.disable_ipv6 flags.
question -- does it not make sense, given *SUSE's already current use of /etc/sysconfig/* configs, and the fact that IPv6-related 6-to-4 tunnels are already referenced in, e.g,
/etc/sysconfig/network.ifcfg.template
to consolidate IPv4 and Ipv6 enable/disable -- both globally and/or per-interface -- 'all in one-place' somewhere in /etc/sysconfig/*?
Most of the variables are there: e.g. IPV6_DISABLE, IPV6_PRIVACY in the /etc/sysconfig/sysctl file. IMO a better place for _global_ settings is the /etc/sysctl.conf file. Of course it would make sense to consolidate them all and have one place where you just need to set them. The problem is, applying the sysconfig variables *often* does not work correctly. You can not apply any variables to modules that are not yet loaded. So in case of IPv6, it works only for .all.* and .default.* variables, but not for interface specific settings. Just think of the case, that the device (e.g. USB network card) is not yet plugged in. For example, IPV6_PRIVACY has to be applied as soon as an interface starts to be visible to the system, but _before_ the link goes up. So the only way to apply the interface specific settings is to apply them via udev rules (on network add event). This is the reason, why I've added one more place: see "man 5 ifsysctl". -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=632530 https://bugzilla.novell.com/show_bug.cgi?id=632530#c23 --- Comment #23 from Michal Zugec <mzugec@novell.com> 2010-12-02 09:11:48 UTC --- removed obsolete 50-ipv6.conf done in yast2-network-2.20.6 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
... there are basically two ways in the _kernel_: ...
https://bugzilla.novell.com/show_bug.cgi?id=632530 https://bugzilla.novell.com/show_bug.cgi?id=632530#c24 --- Comment #24 from dev001x _ <pgngw+dev001+novell.com@f-m.fm> 2010-12-02 14:10:10 UTC --- (In reply to comment #22) thanks for the clear explanation! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=632530 https://bugzilla.novell.com/show_bug.cgi?id=632530#c25 Marius Tomaschewski <mt@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wadei@ntlworld.com --- Comment #25 from Marius Tomaschewski <mt@novell.com> 2010-12-03 10:52:45 UTC --- *** Bug 656916 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=656916 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=632530 https://bugzilla.novell.com/show_bug.cgi?id=632530#c26 --- Comment #26 from Marius Tomaschewski <mt@novell.com> 2010-12-03 12:23:12 UTC --- Created an attachment (id=403328) --> (http://bugzilla.novell.com/attachment.cgi?id=403328) Simple test program resolving hostname / port and connecting addresses -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=632530 https://bugzilla.novell.com/show_bug.cgi?id=632530#c27 --- Comment #27 from Marius Tomaschewski <mt@novell.com> 2010-12-03 12:49:50 UTC --- Created an attachment (id=403332) --> (http://bugzilla.novell.com/attachment.cgi?id=403332) Tests results using the test tool Michal noticed in 656916#c2, that while his test there were a ::1 set on the loopback interface. I've made several tests on two hosts using the simple test tool I wrote. One finding was interesting: there were also a (tentative) address after a manual "sysctl -w net.ipv6.conf.all.disable_ipv6=1", that was still set on the eth0 interface that has had the default route before: # ip a s | grep inet6 inet6 ::1/128 scope host inet6 2001:zzz:zzzz:zzzz::xxx/64 scope global tentative I've executed sysctl -w short after the machine booted up... But I was unable to find any problem [even the tentative addresses were still set]. I've always got a "Network is unreachable", never a timeout. 0.000165 connect(3, {sa_family=AF_INET6, sin6_port=htons(25), inet_pton(AF_INET6, "::1", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = -1 ENETUNREACH (Network is unreachable) <0.000072> 0.000397 write(2, "\tcan not connect to ipv6<[::1]:2"..., 59 can not connect to ipv6<[::1]:25>: Network is unreachable ) = 59 <0.000105> -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=632530 https://bugzilla.novell.com/show_bug.cgi?id=632530#c28 Marius Tomaschewski <mt@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- InfoProvider|ke@novell.com |kernel-maintainers@forge.pr | |ovo.novell.com --- Comment #28 from Marius Tomaschewski <mt@novell.com> 2010-12-03 13:13:12 UTC --- Kernel Maintainers, could you take a look at the address cleanup done by sysctl/disable_ipv6 please? Do you have an idea why the connect timeout (see attached straces) instead of ENETUNREACH occurs? dev001x, could you try to reproduce the connect timeout using the attached tool, so we have something smaller and see if this happens with the tool as well or the libs are doing something special. Ian, could you provide a strace of your problem (Bug 656916) please? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=632530 https://bugzilla.novell.com/show_bug.cgi?id=632530#c29 Wolfgang Rosenauer <wolfgang@rosenauer.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sreeves@novell.com, | |tiwai@novell.com --- Comment #29 from Wolfgang Rosenauer <wolfgang@rosenauer.org> 2011-05-01 07:09:24 UTC --- CCing sound guys (as it moved away from the component). We have regularly users suffering from this issue and we should find a way to solve the symptoms somehow at least. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=632530 https://bugzilla.novell.com/show_bug.cgi?id=632530#c30 Greg Kroah-Hartman <gregkh@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|kernel-maintainers@forge.pr | |ovo.novell.com | --- Comment #30 from Greg Kroah-Hartman <gregkh@suse.com> 2011-09-21 23:36:35 UTC --- how is this a kernel issue? Totally confused... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=632530 https://bugzilla.novell.com/show_bug.cgi?id=632530#c31 Takashi Iwai <tiwai@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |jbohac@novell.com --- Comment #31 from Takashi Iwai <tiwai@suse.com> 2011-09-22 06:32:45 UTC --- Because the bug is an inconsistent ipv6 disablement in kernel that confuses apps? Judging from the comments, this doesn't look like a PA-specific issue. Jiri, any clue about comment 28? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=632530 https://bugzilla.novell.com/show_bug.cgi?id=632530#c32 --- Comment #32 from Marius Tomaschewski <mt@suse.com> 2011-09-22 09:53:52 UTC --- (In reply to comment #31) Exactly. The main problem is, that apps (libpulse here) run into timeouts. See also comment 15..18. There are many checks for IPv6 availability in several apps, that basically do not work in disable_ipv6 case -> the checks have to be improved / fixed in the apps. A simple "test -d /proc/sys/net/ipv6" is not sufficient and less useful for normal apps. A check for socket creation failure is not sufficient too (can be used to bail our earlier) as it does not work in all.disable_ipv6=1 case and this runtime setting may change anyway. But a try to create socket + connect should IMO fail an not cause timeouts as it seems to happen here. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=632530 https://bugzilla.novell.com/show_bug.cgi?id=632530#c33 Jiri Bohac <jbohac@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED InfoProvider|jbohac@suse.com | Resolution| |WONTFIX --- Comment #33 from Jiri Bohac <jbohac@suse.com> 2014-03-07 15:29:44 CET --- openSUSE 11.3 is no longer supported; please re-open if this happens in 12.3 or newer. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.novell.com/show_bug.cgi?id=632530 http://bugzilla.novell.com/show_bug.cgi?id=632530#c34 --- Comment #34 from Bernhard Wiedemann <bwiedemann@suse.com> --- This is an autogenerated message for OBS integration: This bug (632530) was mentioned in https://build.opensuse.org/request/show/57033 Factory / yast2-network https://build.opensuse.org/request/show/57244 Factory / sysconfig -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com