Skip to content

Quick-enroll for OSX does not reload osqueryd #57

@javuto

Description

@javuto

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!

Metadata

Metadata

Assignees

Labels

enrollmentEnrollment related issue🐛 bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions