Skip to content
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

Need to disable crash reporting service via salt #364

Open
larsbergstrom opened this issue May 6, 2016 · 3 comments
Open

Need to disable crash reporting service via salt #364

larsbergstrom opened this issue May 6, 2016 · 3 comments
Milestone

Comments

@larsbergstrom
Copy link
Contributor

You can run:

sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.ReportCrash.Root.plist

To disable the crash reporting service (which plays badly with our testing infrastructure), but I'm not sure how to disable it permanently...

@aneeshusa
Copy link
Contributor

#350 backports the launchctl.py module, which lets us handle this via a service.disabled state.

@aneeshusa
Copy link
Contributor

aneeshusa commented May 6, 2016

Er, service.dead with - enable: False to make sure it's also not running (not just disabled).

@aneeshusa
Copy link
Contributor

Another, more coarse approach that we can apply now would just be using file.absent to make sure that file doesn't exist (might need to reboot to kill the current process). However, I think this would get affected by rootless/SIP if we upgrade to El Capitan, so I would not prefer this method.

@edunham edunham added this to the Salt Best Practices milestone Jul 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants