Ipv6 enabled gdm can't get host correctly in ipv4

Bug #162678 reported by nakee
4
Affects Status Importance Assigned to Milestone
gdm (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs

Bug Description

When running ipv6 enabled gdm on ipv4 you get:

gdm[14762]: DEBUG: gdm_peek_local_address_list: Could not get address from hostname!

This causes gdm not to add the right hostname to the xauthority file.
The problem is daemon/misc.c where the hint is only ipv6 when enabled.
Attached a patch that fix it on my machine, but I didn't check it on ipv6 and I'm not sure that is the right way to fix it.

Tags: ipv6
Revision history for this message
nakee (nakeee) wrote :
Revision history for this message
nakee (nakeee) wrote :

not a duplicate but related to bug http://bugzilla.gnome.org/show_bug.cgi?id=495623 (their patch will solve this bug as well)

Revision history for this message
nakee (nakeee) wrote :

Following the comment of Brian Cameron on http://bugzilla.gnome.org/show_bug.cgi?id=495623.
Will be nice if someone can confirm it to work on ipv6 system.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks for your report, to be looked by a desktop dev. thanks.

Changed in gdm:
assignee: nobody → desktop-bugs
importance: Undecided → Low
Revision history for this message
nakee (nakeee) wrote :

The patched was accepted into upstream 2.20.x svn.
You might want to apply it if you repackage previous versions.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

tthanks!, it will be landed into gutsy if gdm have a new 2.20.x release, thanks you!.

Changed in gdm:
status: New → Triaged
Revision history for this message
Jeff Peterson (j-m-peterson) wrote :

Please bump the priority on this issue. It is totally killing XDMCP for me on gusty. Thanks!

Revision history for this message
Sebastien Bacher (seb128) wrote :

That is fixed in hardy now

Changed in gdm:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.