Bug#1153378: Bug#1087173: IPv6 localhost timeout still missed in 6.9.1+repack-2
Komorebi Aware
komorebi.aware at gmail.com
Sat Nov 7 20:46:27 GMT 2026
Hello Samuel,
Thank you for the localhost timeout fix for #1087173. I encountered the same
134-second X11 login delay with xbrlapi and libbrlapi0.8 6.9.1+repack-2,
which
already contain that fix. I have filed the details and a candidate
correction:
https://bugs.debian.org/1153378
The IPv6 branch in git-localhost-timeout compares cur->ai_addr itself with
ip6_localhost. That pointer addresses a sockaddr_in6 header; it needs to
compare
the sin6_addr member instead. A standalone reproducer confirms that the
existing
check misses ::1 and the corrected comparison recognizes it.
On this system, IPv6 is disabled on loopback but enabled on Ethernet.
The route
for ::1 goes through the Ethernet default gateway. xbrlapi blocks in
connect()
to [::1]:4101, delaying the synchronous 90xbrlapi Xsession hook until
TCP times
out. No brltty daemon is installed.
Default xbrlapi took 134.465 seconds to fail; forcing IPv4 returned in 0.008
seconds. Defaulting BRLAPI_HOST to 127.0.0.1 before 90xbrlapi fixed a
fresh SDDM /
Plasma X11 login while keeping IPv6 settings unchanged. The journal interval
from launching Xsession to plasmashell starting dropped from 136.222 seconds
to 2.378 seconds.
The new report includes the proposed one-line correction and the reproducer.
The complete library has not been rebuilt with the proposed patch; the
desktop
login result above is from the IPv4 environment workaround.
I noticed #1087173 is archived, so I am contacting you directly and
copying the
new report. Could you link the reports or unarchive/update #1087173 if you
prefer to track the incomplete IPv6 fix there?
Thank you.
More information about the Pkg-a11y-devel
mailing list