[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#954757: buster-pu: package brltty/5.6-10+deb10u1



Package: release.debian.org
Severity: normal
Tags: buster
User: release.debian.org@packages.debian.org
Usertags: pu

Hello,

I would like to upload the attached changes to buster, they are already
in buster-p-u.

The story is that Orca was recently enhanced to support Braille device
unplug/replug, by periodically trying to reconnect to brltty to
determine whether a Braille device was plugged. Brltty however used to
be noisy about this in the syslogs, which ends up making /var/log/syslog
grow quite fast. The attached trivial change, commited upstream and
already migrated to testing since 17th March, reduces the verbosity of
the message, thus avoiding the /var/log/syslog growth.

This is not actually fixing a bug in Buster itself, but some people try
to install newer versions of Orca in their Buster box, and then hit the
issue.

Samuel

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-proposed-updates-debug'), (500, 'testing-proposed-updates'), (500, 'testing-debug'), (500, 'stable-debug'), (500, 'proposed-updates-debug'), (500, 'proposed-updates'), (500, 'oldstable-proposed-updates-debug'), (500, 'oldstable-proposed-updates'), (500, 'oldoldstable'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.5.0 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

-- 
Samuel
void packerFlushTheToiletFirstThingInTheMorning( void* arg )
 -+- chromium's source code -+-
diff -Nru brltty-5.6/debian/changelog brltty-5.6/debian/changelog
--- brltty-5.6/debian/changelog	2019-02-03 23:04:56.000000000 +0100
+++ brltty-5.6/debian/changelog	2019-02-03 23:04:56.000000000 +0100
@@ -1,3 +1,10 @@
+brltty (5.6-10+deb10u1) buster; urgency=medium
+
+  * patches/log-spam: Avoid spamming log with recent Orca which tries to
+    reconnect periodically.
+
+ -- Samuel Thibault <sthibault@debian.org>  Sun, 03 Feb 2019 23:04:56 +0100
+
 brltty (5.6-10) unstable; urgency=medium
 
   * debian/brltty-udeb.udev.rules: Fix hd detection
diff -Nru brltty-5.6/debian/patches/log-spam brltty-5.6/debian/patches/log-spam
--- brltty-5.6/debian/patches/log-spam	1970-01-01 01:00:00.000000000 +0100
+++ brltty-5.6/debian/patches/log-spam	2019-02-03 23:04:56.000000000 +0100
@@ -0,0 +1,22 @@
+commit 6e04998b89fd9270f396c53560a3abca85d3e8f8
+Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
+Date:   Thu Jul 4 20:02:20 2019 +0200
+
+    Reduce log level of API client connection
+    
+    To avoid spamming system logs when Orca tries to reconnect periodically
+    until a braille device is connected.
+
+diff --git a/Programs/brlapi_server.c b/Programs/brlapi_server.c
+index 7fc9953b8..7809304c1 100644
+--- a/Programs/brlapi_server.c
++++ b/Programs/brlapi_server.c
+@@ -2406,7 +2406,7 @@ THREAD_FUNCTION(runServer) {
+ #ifdef __MINGW32__
+         }
+ #endif /* __MINGW32__ */
+-        logMessage(LOG_NOTICE, "BrlAPI connection fd=%"PRIfd" accepted: %s", resfd, source);
++        logMessage(LOG_INFO, "BrlAPI connection fd=%"PRIfd" accepted: %s", resfd, source);
+ 
+         if (unauthConnections >= UNAUTH_LIMIT) {
+           writeError(resfd, BRLAPI_ERROR_CONNREFUSED);
diff -Nru brltty-5.6/debian/patches/series brltty-5.6/debian/patches/series
--- brltty-5.6/debian/patches/series	2019-01-26 23:04:32.000000000 +0100
+++ brltty-5.6/debian/patches/series	2019-02-03 23:04:56.000000000 +0100
@@ -9,3 +9,4 @@
 git-new_hedomobiline_usbid
 atspi2-shutdown
 policykit-fix
+log-spam

Reply to: