Skip to content

ci: conditionally disable spotlight indexing #19124

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
Aug 2, 2025

Conversation

johnstcn
Copy link
Member

@johnstcn johnstcn commented Aug 2, 2025

Work around for following issue:

Run sudo mdutil -a -i off
  sudo mdutil -a -i off
  sudo mdutil -X /
  sudo launchctl bootout system /System/Library/LaunchDaemons/com.apple.metadata.mds.plist
  shell: /bin/bash -e {0}
4 files/directories removed
Boot-out failed: 5: Input/output error

This can happen if spotlight has already been disabled.

@johnstcn johnstcn self-assigned this Aug 2, 2025
@johnstcn johnstcn requested a review from deansheather August 2, 2025 17:06
@johnstcn johnstcn merged commit 6a35400 into main Aug 2, 2025
54 of 57 checks passed
@johnstcn johnstcn deleted the cj/ci/conditional-disable-spotlight branch August 2, 2025 17:23
@github-actions github-actions bot locked and limited conversation to collaborators Aug 2, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants