🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.devel.release
5 messages
5 total messages Started by Samuel Thibault Sat, 14 Nov 2026 21:30
Bug#1154001: trixie-pu: package brltty/6.7-3.1+deb13u5
#844
Author: Samuel Thibault
Date: Sat, 14 Nov 2026 21:30
107 lines
5894 bytes
--xM0+TfJxNfMOCsb5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Package: release.debian.org
Severity: normal
Tags: trixie
X-Debbugs-Cc: brltty@packages.debian.org
Control: affects -1 + src:brltty
User: release.debian.org@packages.debian.org
Usertags: pu

Hello,

I have uploaded brltty 6.7-3.1+deb13u5 for trixie.

[ Reason ]
This is actually a follow-up for 6.7-3.1+deb13u4 supposed to fix
Bug#1087173

It was reported in Bug#1087173 that in some network configuration cases
(ipv6 packets getting dropped instead of ipv6 being disabled), the mere
presence of the xbrlapi package makes X sessions startup get stuck for
two minutes. The underlying issue is that xbrlapi tries to connect to
an existing brltty through localhost, but in that configuration case,
the connect() call waits for 2m before timing out instead of immediately
returning ECONNREFUSED.

6.7-3.1+deb13u4 was supposed to fix it, but it was apparently
mis-tested... 6.7-3.1+deb13u5 fixes the 6.7-3.1+deb13u4 fix, as
discussed in Bug#1153378

[ Impact ]
Some people report this long login delay. They have to remove the
xbrlapi package to avoid the issue.

[ Tests ]
This was tested manually.

[ Risks ]
The code is very simple.

[ Checklist ]
  [X] *all* changes are documented in the d/changelog
  [X] I reviewed all changes and I approve them
  [X] attach debdiff against the package in (old)stable
  [X] the issue is verified as fixed in unstable

[ Changes ]
This fixes the adresse within struct sockaddr_in6 to get the address to
be compared

--xM0+TfJxNfMOCsb5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=patch

diff -Nru brltty-6.7/debian/changelog brltty-6.7/debian/changelog
--- brltty-6.7/debian/changelog	2026-09-19 14:27:54.000000000 +0200
+++ brltty-6.7/debian/changelog	2026-11-14 21:59:38.000000000 +0100
@@ -1,3 +1,10 @@
+brltty (6.7-3.1+deb13u5) trixie; urgency=medium
+
+  * patches/git-localhost-timeout2: Fix connections to localhost for IPv6
+    (Closes: Bug#1153378)
+
+ -- Samuel Thibault <sthibault@debian.org>  Sat, 14 Nov 2026 21:59:38 +0100
+
 brltty (6.7-3.1+deb13u4) trixie; urgency=medium
 
   * patches/git-localhost-timeout: Make connections to localhost timeout after
diff -Nru brltty-6.7/debian/patches/git-localhost-timeout2 brltty-6.7/debian/patches/git-localhost-timeout2
--- brltty-6.7/debian/patches/git-localhost-timeout2	1970-01-01 01:00:00.000000000 +0100
+++ brltty-6.7/debian/patches/git-localhost-timeout2	2026-11-14 21:59:38.000000000 +0100
@@ -0,0 +1,23 @@
+commit b3c93ca73cf82558c9a0735c8b525af58861aee7
+Author: Komorebi Aware <komorebi.aware@gmail.com>
+Date:   Sat Nov 7 21:48:45 2026 +0100
+
+    Compare the IPv6 address field when applying the localhost timeout
+    
+    The existing guard compares the sockaddr_in6 header to an in6_addr, so it
+    does not recognize ::1 and never sets the short timeout for IPv6 loopback.
+    Compare sin6_addr instead, preserving the IPv4 test and the existing timeout.
+
+diff --git a/Programs/brlapi_client.c b/Programs/brlapi_client.c
+index e0dca7ee8..b9745dac5 100644
+--- a/Programs/brlapi_client.c
++++ b/Programs/brlapi_client.c
+@@ -935,7 +935,7 @@ static int tryHost(brlapi_handle_t *handle, const char *hostAndPort) {
+ 	    && (ntohl(((struct sockaddr_in *)cur->ai_addr)->sin_addr.s_addr) & IN_CLASSA_NET)
+ 	      == (INADDR_LOOPBACK & IN_CLASSA_NET))
+ 	  || (cur->ai_family == AF_INET6
+-	    && !memcmp(cur->ai_addr, &ip6_localhost, sizeof(ip6_localhost)))) {
++	    && !memcmp(&((struct sockaddr_in6 *)cur->ai_addr)->sin6_addr, &ip6_localhost, sizeof(ip6_localhost)))) {
+ 	/* Local connection, it should be fast, otherwise it means we have a
+ 	 * firewall blocking us, and then better not wait unnecessarily. */
+ 	struct timeval tv = { .tv_usec = 100000 };
diff -Nru brltty-6.7/debian/patches/series brltty-6.7/debian/patches/series
--- brltty-6.7/debian/patches/series	2026-09-19 14:27:29.000000000 +0200
+++ brltty-6.7/debian/patches/series	2026-11-14 21:59:38.000000000 +0100
@@ -9,3 +9,4 @@
 noverbose-usbfs
 systemd-vtnr
 git-localhost-timeout
+git-localhost-timeout2

--xM0+TfJxNfMOCsb5--
Processed: trixie-pu: package brltty/6.7-3.1+deb13u5
#843
Author: Debian Bug Tracking System
Date: Sat, 14 Nov 2026 21:30
10 lines
2160 bytes
Processing control commands:

> affects -1 + src:brltty
Bug #1154001 [release.debian.org] trixie-pu: package brltty/6.7-3.1+deb13u5
Added indication that 1154001 affects src:brltty

-- 
1154001: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1154001
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
Processed: brltty 6.7-3.1+deb13u5 flagged for acceptance
#880
Author: Debian Bug Tracking System
Date: Sun, 15 Nov 2026 12:00
18 lines
2458 bytes
Processing commands for control@bugs.debian.org:

> package release.debian.org
Limiting to bugs with field 'package' containing at least one of 'release.debian.org'
Limit currently set to 'package':'release.debian.org'

> tags 1154001 = trixie pending
Bug #1154001 [release.debian.org] trixie-pu: package brltty/6.7-3.1+deb13u5
Added tag(s) pending.
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
1154001: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1154001
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
Bug#1154001: brltty 6.7-3.1+deb13u5 flagged for acceptance
#882
Author: Adam D Barratt
Date: Sun, 15 Nov 2026 12:00
17 lines
2048 bytes
package release.debian.org
tags 1154001 = trixie pending
thanks

Hi,

The upload referenced by this bug report has been flagged for acceptance into the proposed-updates queue for Debian trixie.

Thanks for your contribution!

Upload details
==============

Package: brltty
Version: 6.7-3.1+deb13u5

Explanation: fix connections to localhost for IPv6
Bug#1154001: marked as done (trixie-pu: package brltty/6.7-3.1+deb13u5)
#1012
Author: Debian Bug Tracking System
Date: Sat, 21 Nov 2026 09:50
262 lines
12973 bytes
This is a multi-part message in MIME format...

------------=_1795253403-3310016-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

Your message dated Sat, 21 Nov 2026 09:28:01 +0000
with message-id <E1xUhO5-00000008sup-3xId@coccia.debian.org>
and subject line Released in 13.8
has caused the Debian Bug report #1154001,
regarding trixie-pu: package brltty/6.7-3.1+deb13u5
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


--=20
1154001: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1154001
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

------------=_1795253403-3310016-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.debian.org; 14 Nov 2026 21:25:16 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
	(2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-128.2 required=4.0 tests=ALL_TRUSTED,BAYES_00,
	BODY_INCLUDES_CONTROL_AFFECTS,BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,
	DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,GMAIL,
	HAS_PACKAGE,MD5_SHA1_SUM,SPF_HELO_NONE,SPF_PASS,
	USER_IN_DKIM_WELCOMELIST autolearn=ham autolearn_force=no
	version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 18; hammy, 150; neutral, 212; spammy,
	0. spammytokens:
	hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
	0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
	0.000-+--H*RT:311, 0.000-+--H*RT:108
Return-path: <sthibault@debian.org>
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:32982)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <sthibault@debian.org>)
	id 1xSLFM-00ASFk-1w
	for submit@bugs.debian.org;
	Sat, 14 Nov 2026 21:25:16 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org;
	s=smtpauto.stravinsky; h=X-Debian-User:Content-Type:MIME-Version:Message-ID:
	Subject:To:From:Date:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:
	Content-Description:In-Reply-To:References;
	bh=g63XmBUz7j6TiRrMAPy9/p7TydzLPrQheNp68aaptc8=; b=qAU38gW5qzrB/3CnqawwN501xS
	xrRV5GPTO91TgtadAVRunXBr0GxeWLV8izQotWdhoVOyN+9YUjLm/J6qOhZ96hvHoflrSmbvarQrs
	F883dT+iZV6Y1MSbMOfHccgn1fEHAselIKYlk1ejs2awzvhc2nuc2eT0eLJwV+2cVB1eUB27KtcJs
	vlvwslu6z9PudC7QBuj/Ha6UHZ2+kKE1X1Oxgj/48rHfYSRNvJqN4W4xQ1TCs6ROFHck/6Je6UMY8
	SWXnZOqHSOkTFpsD6LpqKICqW7h6aQqsbcClyz0TlW42pYw0nqxBqOQNt9GmHgASYbucRsSb8Xof6
	NcjVxZzA==;
Received: from authenticated-user
	by stravinsky.debian.org with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <sthibault@debian.org>)
	id 1xSLFK-00FphO-2Y
	for submit@bugs.debian.org;
	Sat, 14 Nov 2026 21:25:14 +0000
Received: from samy by end with local (Exim 4.100.1)
	(envelope-from <sthibault@debian.org>)
	id 1xSLFK-0000000A9jv-1v6n
	for submit@bugs.debian.org;
	Sat, 14 Nov 2026 22:25:14 +0100
Date: Sat, 14 Nov 2026 22:25:14 +0100
From: Samuel Thibault <sthibault@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: trixie-pu: package brltty/6.7-3.1+deb13u5
Message-ID: <avjRuscAkyjVdW6j@end>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="xM0+TfJxNfMOCsb5"
Content-Disposition: inline
X-Reportbug-Version: 13.2.0+nmu1
Organization: I am not organized
X-Debian-User: sthibault
Delivered-To: submit@bugs.debian.org

--xM0+TfJxNfMOCsb5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Package: release.debian.org
Severity: normal
Tags: trixie
X-Debbugs-Cc: brltty@packages.debian.org
Control: affects -1 + src:brltty
User: release.debian.org@packages.debian.org
Usertags: pu

Hello,

I have uploaded brltty 6.7-3.1+deb13u5 for trixie.

[ Reason ]
This is actually a follow-up for 6.7-3.1+deb13u4 supposed to fix
Bug#1087173

It was reported in Bug#1087173 that in some network configuration cases
(ipv6 packets getting dropped instead of ipv6 being disabled), the mere
presence of the xbrlapi package makes X sessions startup get stuck for
two minutes. The underlying issue is that xbrlapi tries to connect to
an existing brltty through localhost, but in that configuration case,
the connect() call waits for 2m before timing out instead of immediately
returning ECONNREFUSED.

6.7-3.1+deb13u4 was supposed to fix it, but it was apparently
mis-tested... 6.7-3.1+deb13u5 fixes the 6.7-3.1+deb13u4 fix, as
discussed in Bug#1153378

[ Impact ]
Some people report this long login delay. They have to remove the
xbrlapi package to avoid the issue.

[ Tests ]
This was tested manually.

[ Risks ]
The code is very simple.

[ Checklist ]
  [X] *all* changes are documented in the d/changelog
  [X] I reviewed all changes and I approve them
  [X] attach debdiff against the package in (old)stable
  [X] the issue is verified as fixed in unstable

[ Changes ]
This fixes the adresse within struct sockaddr_in6 to get the address to
be compared

--xM0+TfJxNfMOCsb5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=patch

diff -Nru brltty-6.7/debian/changelog brltty-6.7/debian/changelog
--- brltty-6.7/debian/changelog	2026-09-19 14:27:54.000000000 +0200
+++ brltty-6.7/debian/changelog	2026-11-14 21:59:38.000000000 +0100
@@ -1,3 +1,10 @@
+brltty (6.7-3.1+deb13u5) trixie; urgency=medium
+
+  * patches/git-localhost-timeout2: Fix connections to localhost for IPv6
+    (Closes: Bug#1153378)
+
+ -- Samuel Thibault <sthibault@debian.org>  Sat, 14 Nov 2026 21:59:38 +0100
+
 brltty (6.7-3.1+deb13u4) trixie; urgency=medium
 
   * patches/git-localhost-timeout: Make connections to localhost timeout after
diff -Nru brltty-6.7/debian/patches/git-localhost-timeout2 brltty-6.7/debian/patches/git-localhost-timeout2
--- brltty-6.7/debian/patches/git-localhost-timeout2	1970-01-01 01:00:00.000000000 +0100
+++ brltty-6.7/debian/patches/git-localhost-timeout2	2026-11-14 21:59:38.000000000 +0100
@@ -0,0 +1,23 @@
+commit b3c93ca73cf82558c9a0735c8b525af58861aee7
+Author: Komorebi Aware <komorebi.aware@gmail.com>
+Date:   Sat Nov 7 21:48:45 2026 +0100
+
+    Compare the IPv6 address field when applying the localhost timeout
+    
+    The existing guard compares the sockaddr_in6 header to an in6_addr, so it
+    does not recognize ::1 and never sets the short timeout for IPv6 loopback.
+    Compare sin6_addr instead, preserving the IPv4 test and the existing timeout.
+
+diff --git a/Programs/brlapi_client.c b/Programs/brlapi_client.c
+index e0dca7ee8..b9745dac5 100644
+--- a/Programs/brlapi_client.c
++++ b/Programs/brlapi_client.c
+@@ -935,7 +935,7 @@ static int tryHost(brlapi_handle_t *handle, const char *hostAndPort) {
+ 	    && (ntohl(((struct sockaddr_in *)cur->ai_addr)->sin_addr.s_addr) & IN_CLASSA_NET)
+ 	      == (INADDR_LOOPBACK & IN_CLASSA_NET))
+ 	  || (cur->ai_family == AF_INET6
+-	    && !memcmp(cur->ai_addr, &ip6_localhost, sizeof(ip6_localhost)))) {
++	    && !memcmp(&((struct sockaddr_in6 *)cur->ai_addr)->sin6_addr, &ip6_localhost, sizeof(ip6_localhost)))) {
+ 	/* Local connection, it should be fast, otherwise it means we have a
+ 	 * firewall blocking us, and then better not wait unnecessarily. */
+ 	struct timeval tv = { .tv_usec = 100000 };
diff -Nru brltty-6.7/debian/patches/series brltty-6.7/debian/patches/series
--- brltty-6.7/debian/patches/series	2026-09-19 14:27:29.000000000 +0200
+++ brltty-6.7/debian/patches/series	2026-11-14 21:59:38.000000000 +0100
@@ -9,3 +9,4 @@
 noverbose-usbfs
 systemd-vtnr
 git-localhost-timeout
+git-localhost-timeout2

--xM0+TfJxNfMOCsb5--

------------=_1795253403-3310016-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 1154001-done) by bugs.debian.org; 21 Nov 2026 09:28:11 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
	(2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-105.1 required=4.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,
	SPF_PASS,USER_IN_DKIM_WELCOMELIST,VERSION autolearn=ham
	autolearn_force=no version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 7; hammy, 73; neutral, 16; spammy, 0.
	spammytokens: hammytokens:0.000-+--H*r:sk:coccia.,
	0.000-+--H*MI:coccia, 0.000-+--H*m:coccia, 0.000-+--H*r:submission,
	0.000-+--H*F:U*jmw
Return-path: <jmw@coccia.debian.org>
Received: from mitropoulos.debian.org ([2001:648:2ffc:deb:216:61ff:fe9d:958d]:60696)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <jmw@coccia.debian.org>)
	id 1xUhOG-00Drui-20
	for 1154001-done@bugs.debian.org;
	Sat, 21 Nov 2026 09:28:11 +0000
Received: via submission
	from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=coccia.debian.org,EMAIL=hostmaster@coccia.debian.org (verified)
	by mitropoulos.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <jmw@coccia.debian.org>)
	id 1xUhO8-004ieq-1g
	for 1154001-done@bugs.debian.org;
	Sat, 21 Nov 2026 09:28:04 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
	d=coccia.debian.org; s=smtpauto.coccia; h=Date:From:Message-Id:
	Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:To:Reply-To:Cc:
	Content-ID:Content-Description:In-Reply-To:References;
	bh=j3C+QfqZhEAyGCz+F5Nny7uVPSJTnuL2JF6zBnHyDlM=; b=yoi48oxz87xujkYQNLN1WKtfk2
	w483O1Ratti3rE/ALIU5oPPpVVKVMLfhmlp0yCEJTT7aj7NzsPnYwa5j6TSeFJqbbglztkb8iDPQ2
	8on2SDGq6HcNqHeXeTGuGWBUvdidj7jQIvDcHnTQRfMgsIEwMiEBBeuWMik4wl9swfOdMvcTj+Qa2
	5TwDwUBUAHJCaY3Y+HhX3QpQpIk1SE/jDUeax6QEdVciJaYep0f+DrIOAMEqe5h7Eg20/1nL9eH+n
	noqSofmbn6TzsIsXWjxjJB3IUgl4YCWlwOtuBtBp7NzlVGLGpl9Sox3aURhviLPTPyGU9kl+dKvS4
	TeRN102g==;
Received: from jmw by coccia.debian.org with local (Exim 4.98.2)
	(envelope-from <jmw@coccia.debian.org>)
	id 1xUhO5-00000008sup-3xId
	for 1154001-done@bugs.debian.org;
	Sat, 21 Nov 2026 09:28:01 +0000
To: 1154001-done@bugs.debian.org
Subject: Released in 13.8
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
Message-Id: <E1xUhO5-00000008sup-3xId@coccia.debian.org>
From: Jonathan Wiltshire <jmw@coccia.debian.org>
Date: Sat, 21 Nov 2026 09:28:01 +0000
X-CrossAssassin-Score: 108

Version: 13.8

This update was released as part of 13.8.
------------=_1795253403-3310016-0--
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads