[Tts-project] Bug#995037: speech-dispatcher: systemd service symlink placed in wrong directory
Paul Wise
pabs at debian.org
Sat Sep 25 06:54:18 BST 2021
Package: speech-dispatcher
Version: 0.10.2-3
Severity: minor
Usertags: usrmerge
On systems that do not yet have usrmerge applied, there is a broken
symlink because a symlink to the systemd service has been placed in the
wrong directory, it is in /lib but should be in /usr/lib in the same
directory as the systemd service file.
I've filed this as minor since it just means a broken symlink is in the
package and has no other consequences. The symlink doesn't even appear
to be needed because the Alias value in the speech-dispatcherd.service
file takes care of allowing the user to specify speech-dispatcher as
the service name in addition to speech-dispatcherd.
Looking at the source package you just need to delete the links file:
debian/speech-dispatcher.links
Here is some debug information about this situation:
$ adequate speech-dispatcher
speech-dispatcher: broken-symlink /lib/systemd/system/speech-dispatcher.service -> speech-dispatcherd.service
$ chase /lib/systemd/system/speech-dispatcher.service
chase: /lib/systemd/system/speech-dispatcherd.service: No such file or directory
$ ls -l /lib/systemd/system/speech-dispatcher.service
lrwxrwxrwx 1 root root 26 Sep 19 21:55 /lib/systemd/system/speech-dispatcher.service -> speech-dispatcherd.service
$ readlink /lib/systemd/system/speech-dispatcher.service
speech-dispatcherd.service
$ ls -l /lib/systemd/system/speech-dispatcherd.service
ls: cannot access '/lib/systemd/system/speech-dispatcherd.service': No such file or directory
$ dpkg -L speech-dispatcher | xargs ls -ld | grep systemd
drwxr-xr-x 9 root root 12288 Sep 24 14:02 /lib/systemd
drwxr-xr-x 27 root root 40960 Sep 25 12:09 /lib/systemd/system
lrwxrwxrwx 1 root root 26 Sep 19 21:55 /lib/systemd/system/speech-dispatcher.service -> speech-dispatcherd.service
drwxr-xr-x 11 root root 4096 Aug 23 06:01 /usr/lib/systemd
drwxr-xr-x 3 root root 4096 Sep 25 12:09 /usr/lib/systemd/system
-rw-r--r-- 1 root root 1122 Sep 19 21:55 /usr/lib/systemd/system/speech-dispatcherd.service
-- System Information:
Debian Release: bookworm/sid
APT prefers testing-debug
APT policy: (900, 'testing-debug'), (900, 'testing'), (800, 'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 5.14.0-1-amd64 (SMP w/8 CPU threads)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8), LANGUAGE=en_AU:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages speech-dispatcher depends on:
ii adduser 3.118
ii init-system-helpers 1.60
ii libc6 2.32-4
ii libdotconf0 1.3-0.3
ii libglib2.0-0 2.68.4-1
ii libltdl7 2.4.6-15
ii libsndfile1 1.0.31-2
ii libspeechd2 0.10.2-3
ii lsb-base 11.1.0
ii speech-dispatcher-audio-plugins 0.10.2-3
Versions of packages speech-dispatcher recommends:
ii pulseaudio 14.2-2
pn sound-icons <none>
pn speech-dispatcher-espeak-ng <none>
Versions of packages speech-dispatcher suggests:
ii espeak 1.48.15+dfsg-3
pn libttspico-utils <none>
pn mbrola <none>
pn speech-dispatcher-cicero <none>
pn speech-dispatcher-doc-cs <none>
pn speech-dispatcher-espeak <none>
pn speech-dispatcher-festival <none>
pn speech-dispatcher-flite <none>
-- no debconf information
--
bye,
pabs
https://wiki.debian.org/PaulWise
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/tts-project/attachments/20210925/b7468d17/attachment.sig>
More information about the Tts-project
mailing list