5 ms·
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
- girishso 3y agoApple is becoming more Walled Garden with every release, after using Macs exclusively for 15 years I have started thinking of moving to Linux. I am on Ventura, XtraFinder [0] stops working after a few days and edit/run cycle for shell scripts keeps getting slower and slower with every execution. [0]: https://www.trankynam.com/xtrafinder/ https://www.trankynam.com/xtrafinder/
- mrtesthah 3y agoTry disabling SIP. If you’re unable to do that, then you can conclude that you no longer own your machine. Otherwise, it’s merely Apple making macOS effectively less secure by making it unusable with SIP activated.
- karmakaze 3y agoYou don't have to keep running the same OS on the hardware you've purchased, so SIP isn't a great test. Windows also has protected system files but can still install Linux instead.
- EgoIncarnate 3y agoDisabling SIP also disables your ability to run iOS apps on Apple Silicon :-( It might be for copy protection reasons. iOS apps are partially encrypted and without SIP you could probably access the decrypted version.
- BugsJustFindMe 3y agokillall still works for me(?). It relaunches itself immediately. Why would I want to use this "new" more convoluted way?
- luckman212 3y agoBecause it's the correct and documented method of restarting a daemon? 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.
- Buggem 3y agoForce killing system processes is quite obviously bad for your system, although the Core Audio Daemon is a special case. However, I would never force kill almost any other system daemon, unless you want to risk data loss/corruption and potential damage to your Mac.
- cpach 3y agoHow can one see the contents of FB13601345? Is it only visible to Apple employees?
- luckman212 3y agoIt's only visible to Apple employees, and even among that group, not sure who can actually view them. You can still reference the FB# in your own submission via Feedback Assistant.
- wkat4242 3y agoYeah this kind of thing got me to leave the Mac platform. I don't mind security but I want to retain the final control and an all-or-nothing setting like SIP doesn't suffice. I'm glad I'm off Mac but I will avoid any immutable OS now, seeing what that leads to.