#1038432 /run/speech-dispatcher/.speech-dispatcher symlinks to /run/speech-dispatcher which loops

Package:
speech-dispatcher
Source:
speech-dispatcher
Description:
Common interface to speech synthesizers
Submitter:
Samuel Thibault
Date:
2023-06-18 07:33:02 UTC
Severity:
normal
#1038432#5
Date:
2023-06-18 07:18:19 UTC
From:
To:
While running backups of freebsd system with rsync I noticed the compat/ubuntu
and recursive directories and traced this to a symlink toi /run/
speech-dispatcher which contains a symlink .speech-dispatcher to itself. This
of course causes a recursive loop and apparently rsync just doesn't copy the
symlink but follows and seems like there isn't a flag to prevent this unless
its on another tree. scp -r by default also follows the link.

Advise removal of the .speech-dispatcher link or converting it to a directory
and adjusting packages accordingly.

Debian Version: 11.6
Linux version 5.10.0-21-amd64
gcc-10 (Debian 10.2.1-6) 10.2.1 20210110
GNU ld (GNU Binutils for Debian) 2.35.2) #1 SMP Debian 5.10.162-1 (2023-01-21)
ldd (Debian GLIBC 2.31-13+deb11u5) 2.31

John Saario aka sjohn
wgate@okbiz.net
https://alamak.com

#1038432#14
Date:
2023-06-18 07:30:48 UTC
From:
To:
Hello,

Sorry for the delay, the mail format was incorrect, thus the BTS hadn't
catched the report.

Samuel Thibault, le dim. 18 juin 2023 09:18:19 +0200, a ecrit:

?? Is that a BSD-specific behavior? When I try this:

mkdir /tmp/foo
ln -s /tmp/foo /tmp/foo/foo

these don't loop:

rsync -a /tmp/foo server:/tmp
scp -r /tmp/foo server:/tmp
rather than "just" fixing packages.

But I'm surprised: such kind of backlink is not that uncommon, so the
issue would come up in other packages as well... Would it help if the
link was rather pointing to . ?

Samuel