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

Bug#859926: speechd-up: fails to install



Hi,

that's where I stopped yesterday. Manual start works, using systemd or
the init.d script (which systemd calls) does not.
I added set -x to /etc/init.d/speechd-up and checked what I could, but
couldn't find what went wrong. start-stop-daemon succeeded, but the
process still died and the log contained that ERROR line.
Running the exact same start-stop-daemon command works for me as well.

I just tried again and the funny thing is, *restarting* speechd-up with
systemd works totally fine as long as I start speechd-up manually with
start-stop-daemon.

$ sudo /sbin/start-stop-daemon --start --nicelevel 0 --quiet --oknodo --chdir / --exec /usr/bin/speechd-up --oknodo --pidfile /var/run/speechd-up.pid -- -l1
$ sudo systemctl restart speechd-up.service
$ systemctl status speechd-up.service
● speechd-up.service - LSB: Interface between speakup and speech-dispatcher
   Loaded: loaded (/etc/init.d/speechd-up; generated; vendor preset: enabled)
   Active: active (running) since Mon 2017-04-17 11:48:36 CEST; 1s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 10728 ExecStop=/etc/init.d/speechd-up stop (code=exited, status=0/SUCCESS)
  Process: 10760 ExecStart=/etc/init.d/speechd-up start (code=exited, status=0/SUCCESS)
    Tasks: 2 (limit: 4915)
   CGroup: /system.slice/speechd-up.service
           └─10778 /usr/bin/speechd-up -l1

I can restart as often as I want, it works each time.
The shell trace looks exactly the same for both systemd restart and
start (except for times and PIDs of course) up to the point where the
init script sleeps 2 seconds before checking whether speechd-up is
still running. In the restart case there are these two lines in the
journal, right after "sleep 2" and before calling "running":
kernel:  updated 224 of 224 character descriptions
kernel:  updated 96 of 180 character class entries
While running systemctl start, these two lines are missing.


Reply to: