You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Dangling symlink prevents filesystem watcher on FreeBSD #5360
bugA problem with current functionality, as opposed to missing functionality (enhancement)frozen-due-to-ageIssues closed and untouched for a long time, together with being locked for discussion
changed the title [-][FreeBSD] Filesystem Watcher Errors: error while traversing /path/to/exists/file_or_dir: no such file or directory[/-][+]Dangling symlink prevents filesystem watcher on FreeBSD[/+]on May 16, 2019
This might be kqueue specific, which is used on the BSD variants, and available but unused in favor of fswatcher on macos. We could add a test stage with -tags kqueue on macos to test with that backend for notify.
maybe-workaround?
If it depends on the presence of a kernel/library-feature, maybe syncthing could check for that and give a better failure-message? or it could try to just not watch the offending symlinks (and tell the user), so that theres some support for watching.
do i need watching anyways?
For the moment i turn off watching completely on this machine. Is there anything to keep in mind about that? It is just a fileserver used as a always-on hub for syncthing. "No" changes on the server are to be expected.
bugA problem with current functionality, as opposed to missing functionality (enhancement)frozen-due-to-ageIssues closed and untouched for a long time, together with being locked for discussion
Activity
desbma commentedon Dec 10, 2018
It is probably specific to FreeBSD, I can not reproduce on Linux.
gihnius commentedon Dec 12, 2018
Yes, no this problem on both Linux and MacOS.
GlenHertz commentedon May 15, 2019
I get this too on FreeBSD 11.2.
[-][FreeBSD] Filesystem Watcher Errors: error while traversing /path/to/exists/file_or_dir: no such file or directory[/-][+]Dangling symlink prevents filesystem watcher on FreeBSD[/+]imsodin commentedon May 27, 2019
This might be kqueue specific, which is used on the BSD variants, and available but unused in favor of fswatcher on macos. We could add a test stage with
-tags kqueueon macos to test with that backend for notify.liweitianux commentedon Oct 3, 2019
Hello. I'm having this issue on DragonFly BSD as well.
bitclick commentedon Feb 4, 2020
Hi, I am having the same issue on
Freebsd 11.3-RELEASE-p5 with
Syncthing v1.3.0 64bit.
Fix possible?
I also think it might be some shortcoming of kqueue. Maybe it has to be called with a special flag, or it depends on some specific kernel-patch?
This page gives some hints (the test explanations in README):
https://github.com/libinotify-kqueue/libinotify-kqueue
maybe-workaround?
If it depends on the presence of a kernel/library-feature, maybe syncthing could check for that and give a better failure-message? or it could try to just not watch the offending symlinks (and tell the user), so that theres some support for watching.
do i need watching anyways?
For the moment i turn off watching completely on this machine. Is there anything to keep in mind about that? It is just a fileserver used as a always-on hub for syncthing. "No" changes on the server are to be expected.
f4814 commentedon Jul 6, 2020
Hi. I'm bitten by this as well (FreeBSD 11.3). Is there any chance this will get fixed in the near future?
AudriusButkevicius commentedon Jul 6, 2020
I don't think any of the maintainers runs BSD, so I don't think it's a high priority for us.
We're happy to accept pull requests fixing this.
I suspect a proper fix would needs to happen in the underlying libraries we use.
build: Update notify (fixes syncthing#5360)
Merge branch 'main' into cdc
Merge tag 'v1.12.0' into ios_try_syncthing-1.12