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

Error: shtirlic/yubikeylockd/yubikeylockd: Calling plist_options is disabled! Use service.require_root instead. #13

Open
zgypa opened this issue Oct 3, 2023 · 2 comments

Comments

@zgypa
Copy link

zgypa commented Oct 3, 2023

When installing via homebrew 4.1.14 on macOS 11.7.10 according to the instructions on the README the following error is raised and installation failes.

Error: shtirlic/yubikeylockd/yubikeylockd: Calling plist_options is disabled! Use service.require_root instead.
Please report this issue to the shtirlic/yubikeylockd tap (not Homebrew/brew or Homebrew/homebrew-core), or even better, submit a PR to fix it:
  /usr/local/Homebrew/Library/Taps/shtirlic/homebrew-yubikeylockd/yubikeylockd.rb:15
@shtirlic
Copy link
Owner

shtirlic commented Oct 5, 2023

Hi, thank you for the report, new service API impl does not provide features used in prev startup scenario

    <dict>
      <key>com.apple.iokit.matching</key>
      <dict>
        <key>com.apple.device-attach</key>
        <dict>
            <key>idProduct</key>
            <string>*</string>
            <key>idVendor</key>
            <integer>4176</integer>
            <key>IOProviderClass</key>
            <string>IOUSBDevice</string>
            <key>IOMatchLaunchStream</key>
            <true/>
        </dict>
      </dict>

Triggering only on usb device with specific ids, I will look more into it. We can workaround this for just ruining yubikeylockd service always without any trigger on usb specific device.

Ref: koekeishiya/yabai#1619

@zgypa
Copy link
Author

zgypa commented Oct 5, 2023

OK. What are the current recommended steps to work around this issue? Should i be modifying the startup daemon plist somewhere? Or create my own? I don't think the brew installation succeeds at all. Maybe install using a specific command to skip the step?

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

2 participants