[Bug 389255] New: Firefox takes too long to startup if hostname can not be resolved
https://bugzilla.novell.com/show_bug.cgi?id=389255 User captain.magnus@opensuse.org added comment https://bugzilla.novell.com/show_bug.cgi?id=389255#c383336 Summary: Firefox takes too long to startup if hostname can not be resolved Product: openSUSE 11.0 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Blocker Priority: P5 - None Component: Firefox AssignedTo: bnc-team-mozilla@forge.provo.novell.com ReportedBy: captain.magnus@opensuse.org QAContact: qa@suse.de Found By: --- Firefox takes too long to startup if hostname can not be resolved. We used to make hostname resolvable but around Beta2 that was removed. See Bug#383336 for more information. -- 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://bugzilla.novell.com/show_bug.cgi?id=389255 User captain.magnus@opensuse.org added comment https://bugzilla.novell.com/show_bug.cgi?id=389255#c1 Magnus Boman <captain.magnus@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lnussel@novell.com --- Comment #1 from Magnus Boman <captain.magnus@opensuse.org> 2008-05-14 00:47:46 MST --- *** Bug 389805 has been marked as a duplicate of this bug. *** https://bugzilla.novell.com/show_bug.cgi?id=389805 -- 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://bugzilla.novell.com/show_bug.cgi?id=389255 User lnussel@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=389255#c2 --- Comment #2 from Ludwig Nussel <lnussel@novell.com> 2008-05-14 01:01:20 MST --- well, you should have made the duplicate the other way around. see bug 389805 for technical details. -- 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://bugzilla.novell.com/show_bug.cgi?id=389255 User wolfgang@rosenauer.org added comment https://bugzilla.novell.com/show_bug.cgi?id=389255#c3 Wolfgang Rosenauer <wolfgang@rosenauer.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wolfgang@rosenauer.org --- Comment #3 from Wolfgang Rosenauer <wolfgang@rosenauer.org> 2008-05-14 01:06:43 MST --- And there is a Firefox component. Filing Firefox issues under Gnome makes them fall through my filters :-( -- 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://bugzilla.novell.com/show_bug.cgi?id=389255 User wolfgang@rosenauer.org added comment https://bugzilla.novell.com/show_bug.cgi?id=389255#c4 --- Comment #4 from Wolfgang Rosenauer <wolfgang@rosenauer.org> 2008-05-14 01:18:27 MST ---
Looks like the code is more or less obsolete so it could probably removed completely. It could not have worked properly in the past either since openSUSE typically mapped the hostname to 127.0.0.2. So IsSymlinkStaleLock() would true on all systems that share the home directory.
It's not really obsolete since there are too many (network) filesystems which don't support proper locking through fcntl. But yes, seems you are right about the fact that it is only of partial use if it resolves to a loopback interface.
If you don't want to remove the code you could use getifaddrs() instead to find the systems' IP addresses. getifaddrs() doesn't use DNS therefore doesn't cause timeouts.
I will see if that's possible. -- 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://bugzilla.novell.com/show_bug.cgi?id=389255 Wolfgang Rosenauer <wolfgang@rosenauer.org> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-mozilla@forge.provo.novell.com |wolfgang@rosenauer.org Status|NEW |ASSIGNED -- 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://bugzilla.novell.com/show_bug.cgi?id=389255 User wolfgang@rosenauer.org added comment https://bugzilla.novell.com/show_bug.cgi?id=389255#c5 --- Comment #5 from Wolfgang Rosenauer <wolfgang@rosenauer.org> 2008-05-14 02:16:41 MST --- One more question: Is that really a blocker or will a global solution be done to be able to resolve the local host? I understand that the gethostbyname() call is bad style but I want to prioritize that correctly. -- 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://bugzilla.novell.com/show_bug.cgi?id=389255 User lnussel@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=389255#c6 --- Comment #6 from Ludwig Nussel <lnussel@novell.com> 2008-05-14 02:34:12 MST --- IMHO it's not a blocker as it only affects systems in environments with broken dns and can be worked around. A quick fix would probably be to not use the ip address for the lock but the host name directly (just what gethostname() returns). -- 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://bugzilla.novell.com/show_bug.cgi?id=389255 Stephan Kulow <coolo@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Blocker |Major -- 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://bugzilla.novell.com/show_bug.cgi?id=389255 User jpr@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=389255#c7 --- Comment #7 from JP Rosevear <jpr@novell.com> 2008-10-17 15:14:55 MDT --- *** Bug 436397 has been marked as a duplicate of this bug. *** https://bugzilla.novell.com/show_bug.cgi?id=436397 -- 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://bugzilla.novell.com/show_bug.cgi?id=389255 User lnussel@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=389255#c8 Ludwig Nussel <lnussel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Firefox |Firefox Product|openSUSE 11.0 |openSUSE 11.1 --- Comment #8 from Ludwig Nussel <lnussel@novell.com> 2008-10-20 00:43:23 MDT --- This bug was filed for 11.0 and but still valid for 11.1 -- 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.
participants (1)
-
bugzilla_noreply@novell.com