[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
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
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
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
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
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
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
https://bugzilla.novell.com/show_bug.cgi?id=389255
Stephan Kulow
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
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
participants (1)
-
bugzilla_noreply@novell.com