Skip to content

Batch up tmutil calls further; add more info to logs #2356

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

Merged
merged 1 commit into from
Jul 10, 2025

Conversation

RebeccaMahany
Copy link
Contributor

Closes #2339.

Batches up our tmutil calls further to a) avoid argument list getting too long and b) separate out files that are more likely to disappear during the tmutil call into their own batches.

We may still see fork/exec /usr/bin/tmutil: argument list too long -- but at least now the logs will tell us which batch it failed on and how many arguments was too many.

@RebeccaMahany RebeccaMahany added the bug-fixes Bug Fixes label Jul 10, 2025
@RebeccaMahany RebeccaMahany added this pull request to the merge queue Jul 10, 2025
Merged via the queue into kolide:main with commit 04366e2 Jul 10, 2025
205 of 212 checks passed
@RebeccaMahany RebeccaMahany deleted the becca/more-tmutil-batches branch July 10, 2025 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-fixes Bug Fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Avoid errors when adding time machine exclusions
2 participants