After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 167799 - [PATCH] "unresolved hostname" dialog never closes when using "try again"
[PATCH] "unresolved hostname" dialog never closes when using "try again"
Status: RESOLVED FIXED
Product: gnome-session
Classification: Core
Component: gnome-session
2.11.x
Other Linux
: High minor
: ---
Assigned To: Session Maintainers
Session Maintainers
: 127358 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-02-18 13:32 UTC by Frederic Crozat
Modified: 2006-04-24 21:50 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12


Attachments
Fix try again never disappearing and fix misuse of g_ascii_strncmp (901 bytes, patch)
2005-02-18 13:36 UTC, Frederic Crozat
committed Details | Review

Description Frederic Crozat 2005-02-18 13:32:25 UTC
Distribution/Version: Mandrakelinux cooker

This is a follow-up from Mdk bug http://qa.mandrakesoft.com/show_bug.cgi?id=12426

to reproduce :
-change hostname to a non resolved hostname (hostname foobar)
-run gnome-session
-you'll get "unresolved hostname" dialog.
-in another shell, add "foobar" to /etc/hosts 
-go back to "unresolved hostname" dialog and press "try again"
-login continue but dialog doesn't disappear.

Attached patch fixes the issue and another one in the IPV6 check (using
g_strncasecmp (x, y, 0) isn't really useful..).

GNOME 2.8 and 2.9 are affected
Comment 1 Frederic Crozat 2005-02-18 13:36:21 UTC
Created attachment 37638 [details] [review]
Fix try again never disappearing and fix misuse of g_ascii_strncmp
Comment 2 Christian Kirbach 2005-02-27 22:25:55 UTC
+DUP 127358
Comment 3 Thierry Moisan 2005-02-27 22:26:05 UTC
*** Bug 127358 has been marked as a duplicate of this bug. ***
Comment 4 Christian Kirbach 2005-02-27 22:34:35 UTC
+Prio HIGH

Confirmed.
the dialogue does indeed disappear but reappears quickly.
You cannot close the reappearing dialogue by selecting "Try again".
Comment 5 Mark McLoughlin 2005-03-07 09:55:58 UTC
Comment on attachment 37638 [details] [review]
Fix try again never disappearing and fix misuse of g_ascii_strncmp

Looks fine to me, thanks
Comment 6 Christian Kirbach 2005-03-07 13:07:42 UTC
Thanks for submitting a good patch.

Closing as per last comment.

Mark: Please reopen if you have not comitted yet.
Comment 7 Luis Villa 2005-03-07 13:50:40 UTC
He has not committed yet; note that he marked it 'blocked by freeze.'
Comment 8 Christian Kirbach 2005-03-07 20:37:32 UTC
Ups - status of the patch is "accepted-commit_after_freeze" so I thought
"it has been commited even after freeze".

I looked up the Bugsquad docs but they do not tell you when to close bug tickets 
with patches.
Comment 9 Sebastien Bacher 2005-07-23 14:31:44 UTC
this patch should probably be commited now
Comment 10 Vincent Untz 2006-04-24 21:50:36 UTC
Committed.