-
Notifications
You must be signed in to change notification settings - Fork 360
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
macOS Wazuh agent uninstall step fails #7109
Comments
@rauldpm I've tested the install/uninstall procedure, and I got no errors: SystemmacOS Sonoma 14.3.1 (23D60) @ arm64 ProcedureInstallinstaller -pkg wazuh-agent-4.8.0-1.arm64.pkg -target /
Uninstall
|
@vikman90 I used a macOS 12 Monterey ARM instance I was able to reproduce it in our M1 Monterey machine
|
The problem seems to be that you have installed the package and immediately tried to unload the service. On this issue: wazuh/wazuh#21636, the service has been modified to not be loaded automatically after the installation but after a system reset. If you try to unload such a service when it hasn't yet been loaded, then it will throw an error. Now, if you try the same but after rebooting the system, or after manually loading the service, then you don't get any errors. |
According to this post:
Thus, I propose either one of the following changes:
|
Description
When uninstalling the macOS agent, an error is obtained when the following command is executed:
We need to fix the documentation with the correct command
If this error is related to the package or the source code, please migrate the issue to the related repository
The text was updated successfully, but these errors were encountered: