Sorry Dave, I'm afraid I can't do that—macOS 14.4 deems us unfit to kickstart
Anyone who's been working with macOS (OS X) for a while is probably familiar with the Terminal command to control launchd Agents and Daemons (launchctl).
I was saddened after installing macOS Sonoma 14.4 that it's apparently been decided that users are unqualified to control these daemons.
A simple example: to fix all sorts of random audio issues, it used to be possible to restart coreaudiod with:
sudo launchctl kickstart -kp system/com.apple.audio.coreaudiod
But that command now returns: Could not kickstart service "com.apple.audio.coreaudiod": 1: Operation not permitted
I've reported this to Apple via FB13601345. So far I've not received any response.[0] https://gist.github.com/felipecsl/5177790
[1] https://apple.stackexchange.com/questions/187983/sudo-killall-coreaudiod-made-it-so-i-dont-have-any-sound-at-all
13 comments
[ 3.8 ms ] story [ 25.7 ms ] thread[0]: https://www.trankynam.com/xtrafinder/
It doesn’t have to stay off afaik
Indiscriminately kill -9'ing processes is generally ill-advised, and the fact that this particular service restarts itself is only because it happens to have its KeepAlive key configured. Another service might not, and would not react well to being killed.
I'm glad I'm off Mac but I will avoid any immutable OS now, seeing what that leads to.