FS#25361 - [xorg-xinit] auth doesn't treat IPv6 properly and gives 2 identical lines for "xauth list localhost:

Attached to Project: Arch Linux
Opened by Sergey Filkin (liberium) - Tuesday, 02 August 2011, 12:43 GMT
Last edited by Jan de Groot (JGC) - Monday, 19 December 2011, 19:32 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
Xauth doesn't treat IPv6 properly and gives 2 identical lines for "xauth list localhost:0" if "localhost" is binded to 127.0.0.1 and ::1.
/usr/bin/startx emits an error message because of this.

See https://bugs.freedesktop.org/show_bug.cgi?id=13462

Steps to reproduce:
Run startx.

Patch for startx is attached.
This task depends upon

Closed by  Jan de Groot (JGC)
Monday, 19 December 2011, 19:32 GMT
Reason for closing:  Implemented
Additional comments about closing:  Fixed in svn, new package will be released shortly.
Comment by Sergey Filkin (liberium) - Tuesday, 02 August 2011, 15:18 GMT
I have had a conversation on irc.freenode.net#xorg-devel with an active contributor of Xorg "ajax". He told me that I need to do $xauth list localhost/unix:0 in startx, i.e. specify that we request info just about unix sockets. After applying the attached patch startx works without error messages.

Loading...