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

Bug#775137: unblock: espeakup/1:0.71-19



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package espeakup

It has been only reported to me today that currently the boot with
speech synthesis is very noisy.  This surprised me since nowadays kernel
messages are gone and systemd is silent by default.  What happens is
just that there is a daemon start test race in the espeakup startup
script, and thus systemd always thinks that espeakup failed to start,
and thus enters degraded mode, where it prints all startup logs, which
takes several minutes to get spoken by the speech synthesis!

The start test race is recorded as bug #775131.  Fixing it properly
will mean patching the daemon quite a bit, I'd rather avoid that at
this stage of the release.  In upload 1:0.71-19 of espeakup, whose
changes are attached, I have instead just enabled the existing STARTTIME
variable, which makes the script wait for a couple of seconds before
testing.  This will work in most cases, and since with systemd we have
parallel boot, it should not hurt the user experience (in any case, much
less than the several-minutes-long noisy messages).

unblock espeakup/1:0.71-19

-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.18.0 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

-- 
Samuel
"2 + 2 = 5 pour d'assez grandes valeurs de 2"
diff -u espeakup-0.71/debian/changelog espeakup-0.71/debian/changelog
--- espeakup-0.71/debian/changelog
+++ espeakup-0.71/debian/changelog
@@ -1,3 +1,9 @@
+espeakup (1:0.71-19) unstable; urgency=medium
+
+  * Enable STARTTIME to work around racy daemon start test.
+
+ -- Samuel Thibault <sthibault@debian.org>  Sun, 11 Jan 2015 21:14:54 +0100
+
 espeakup (1:0.71-18) unstable; urgency=medium
 
   * synth.c: Fix spelling capital keystrokes (Closes: #770753)
diff -u espeakup-0.71/debian/espeakup.init espeakup-0.71/debian/espeakup.init
--- espeakup-0.71/debian/espeakup.init
+++ espeakup-0.71/debian/espeakup.init
@@ -3,7 +3,7 @@
 # Espeakup init.d script with LSB support.
 #
 # Copyright (c) 2007 Javier Fernandez-Sanguino <jfs@debian.org>
-# Copyright (c) 2009 Samuel Thibault <samuel.thibault@ens-lyon.org>
+# Copyright (c) 2009, 2015 Samuel Thibault <samuel.thibault@ens-lyon.org>
 #
 # This is free software; you may redistribute it and/or modify
 # it under the terms of the GNU General Public License as
@@ -57,7 +57,7 @@
                         # let some servers to die gracefully and
                         # 'restart' will not work
 
-#STARTTIME=2             # Time to wait for the server to start, in seconds
+STARTTIME=2             # Time to wait for the server to start, in seconds
                         # If this value is set each time the server is
                         # started (on start or restart) the script will
                         # stall to try to determine if it is running

Reply to: