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

Quick-enroll for OSX does not reload osqueryd #57

Open
javuto opened this issue Apr 3, 2020 · 0 comments
Open

Quick-enroll for OSX does not reload osqueryd #57

javuto opened this issue Apr 3, 2020 · 0 comments
Assignees
Labels
🐛 bug Something isn't working enrollment Enrollment related issue

Comments

@javuto
Copy link
Collaborator

javuto commented Apr 3, 2020

Overview

When enrolling a new OSX node (platform darwin) using the quick-enroll oneliner, if osqueryd is already running, the process is not stopped and there is the following error:

[+] Starting com.facebook.osqueryd
/Library/LaunchDaemons/com.facebook.osqueryd.plist: service already loaded

This seems because the current script uses unload instead of stop && unload for the launchd service.

Thanks @ewaher for finding this!

@javuto javuto added 🐛 bug Something isn't working enrollment Enrollment related issue labels Apr 3, 2020
@javuto javuto added this to the v0.2.2 milestone Apr 3, 2020
@javuto javuto self-assigned this Apr 4, 2020
@javuto javuto modified the milestones: v0.2.2, v0.2.3 May 10, 2020
@javuto javuto modified the milestones: v0.2.3, v0.2.4 Nov 6, 2020
@javuto javuto modified the milestones: v0.2.4, v0.2.5 Dec 20, 2020
@javuto javuto modified the milestones: v0.2.5, v0.2.6 Jan 10, 2021
CptOfEvilMinions added a commit that referenced this issue Dec 28, 2021
@javuto javuto removed this from the v0.2.6 milestone Dec 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working enrollment Enrollment related issue
Projects
None yet
Development

No branches or pull requests

1 participant