[Tts-project] Bug#1038432: /run/speech-dispatcher/.speech-dispatcher symlinks to /run/speech-dispatcher which loops

Samuel Thibault sthibault at debian.org
Sun Jun 18 08:30:48 BST 2023


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:
> 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.

?? 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

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

It's not really simple, thus the reason why such tmpfile was introduced
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



More information about the Tts-project mailing list