-
-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
macOS Ventura 13.0 sync fails due to com.apple.provenance metadata #185
Comments
Thanks for the report, I have old hardware which doesn't run Ventura. So I need to figure out a way to reproduce this or dig up some documentation. I think it is some sort of extra security mechanism (again). Probably I need some help from other people with this unfortunately. |
Thanks, I've just posted a question over on AskDifferent as well. |
Hi @calmh I moved it to the https://github.com/syncthing/syncthing project as it is a Syncthing (macOS build) issue and not part of the syncthing-macos application bundle. Thanks! |
Moved because it is not an |
As noted on the forum, this can be disabled by configuration, unfortunately only by hand editing the config at the moment:
We might want to look into some sort of default black list per operating system perhaps, in the future. |
I need to document the note on manual file editing in the FAQ so I transfered the issue back to syncthing-macos.
See also I leave this open until I have documented this in the README.md Thanks @luckman212 for reporting |
Add FAQ note about syncing xattrs from macOS 13.0 to macOS < 13.0. See issue #185.
The README.md has been updated with appropiate information. Manual editing is the only way for now. See commit 7fa1d1a |
Adding a note here, regarding somewhat-related bug #8657 (since it relates to syncing xattrs) |
Note from @luckman212 (here #154 (comment)) copied over here for convience: Just adding this note here related to debugging going on over at https://forum.syncthing.net/t/com-apple-provenance/19262/17 For anyone who wants to increase the logfile size using the macOS bundle, you can use: # sets logfile size to 50MB, and keep the last 5 during logrotate
defaults write com.github.xor-gate.syncthing-macosx Arguments '--log-max-size=52428800 --log-max-old-files=5' And when you're done debugging, use this to revert things back to default: defaults delete com.github.xor-gate.syncthing-macosx Arguments I believe you need to fully quit the Syncthing app after each of these changes (not just stop/start the service) for it to take effect. Thanks @luckman212 ! |
Commenting on your findings:
Yes the |
@xor-gate v1.22.2-rc.1 was pushed that aims to fix this, among other things. Is it possible for me to compile my own bundle to test? I have Xcode 14.1 but I don't have a Developer account so I can only sign locally. |
@xor-gate Answered my own question... and I'm happy to report that this pre-release build has fixed the original issue for me. 🚀 So hopefully once the upstream release drops we can all benefit. For anyone else who's curious: here are the steps I figured out in order to build a pre-release. It was confusing at first because the default repo branch is Steps
git clone --depth 1 --branch v1.22.1-1 https://github.com/syncthing/syncthing-macos
cd syncthing-macos
git submodule update --init
vi syncthing/Scripts/syncthing-resource.sh
vi syncthing/Info.plist
security find-identity -v -p codesigning
export SYNCTHING_APP_CODE_SIGN_IDENTITY="Apple Development: you@domain (XXXXXXXXXX)"
make release
|
|
Not fully out of the woods yet on this one... syncthing/syncthing#8667 |
Compiled a build this morning based on v1.22.2-rc.2 and this is now 100% fixed for me 👍 |
Good, we need to wait for the v1.22.2 release window on 6 dec. Then we can close this ticket. Thanks for your effort! |
Still looking good, on 1.22.2-rc.3 now and all is working well. |
Syncthing macOS is now shipping with release v1.22.2 (see commit bf62e12). Only the auto-updater is broken for some unknown reason, you can wait or download the signed/secure DMG. |
update: This should be fixed once v1.22.2 is released, scroll down for details...
Since upgrading one of my Macs to Ventura 13.0, my folder will no longer sync (getting stuck on a piece of undocumented metadata called
com.apple.provenance
I have tried removing the xattr with
sudo xattr -d com.apple.provenance /path/to/file
but that isn't working either.Google has nothing about this really... anyone else running into this? Using syncthing-macos 1.22.0-1
see related post on ST forum
The text was updated successfully, but these errors were encountered: