servo / saltfs

Salt Stack Filesystem
Apache License 2.0
56 stars 107 forks source link

Need to disable crash reporting service via salt #364

Open larsbergstrom opened 8 years ago

larsbergstrom commented 8 years ago

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 commented 8 years ago

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

aneeshusa commented 8 years ago

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

aneeshusa commented 8 years ago

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.