asmvik / asmvik/yabai

SA broken in v7.1.16 on Sequoia?

Open
#2,686 38 comments 2 reactions 0 assignees View on GitHub
Dominant language
C
Stars
29.6k
Forks
758
PR merge metrics
No merged PRs in 30d

Description

I updated to
`yabai-v7.1.16`
a few hours ago and now the scripting addition isn't working anymore
`$ sudo yabai --load-sa
could not spawn remote thread: (os/kern) protection failure
yabai: scripting-addition failed to inject payload into Dock.app!`
I did the same as every time: Upgrading with Homebrew and then reconfigured the SA with
`echo "$(whoami) ALL=(root) NOPASSWD: sha256:$(shasum -a 256 $(which yabai) | cut -d " " -f 1) $(which yabai) --load-sa" | sudo tee /private/etc/sudoers.d/yabai`

If there's no fix: Is it possible to move back to the older version which worked super fine for me on Sequoia?
Sorry if that is trivial, but I'm not really savvy with Homebrew and don't know how I can install older versions of formulae.

Best regards

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing `sudo yabai --load-sa` on macOS Sequoia with yabai v7.1.16 and compare the result with the older working version. The issue is done when the scripting addition loads successfully without the protection-failure or payload-injection error, or when a documented downgrade path is established.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, macos
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.