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

Fix failed to disable wazuh-manager.service #5775

Merged
merged 2 commits into from
Sep 27, 2024

Conversation

joaquinsgi
Copy link
Member

Description

After conducting several tests on the issue: #5742, it was concluded that when uninstalling with the --purge option, it is not necessary to run systemctl disable wazuh-manager afterward. This was causing the error message mentioned in the issue, as after the uninstallation, it would attempt to disable the service, and since it couldn't find it, it displayed that message.

Testing performed

The job flow was executed again with the applied changes, and the error was not encountered again.

Log:
jobflow.log

Template used:
template.txt

Packages used: 4.9.0

Validation Jenkins Local OS Commit Notes
⚫⚫ 🟢 🟢 Ubuntu 24.04 Nothing to highlight

hossam1522
hossam1522 previously approved these changes Sep 25, 2024
Copy link
Member

@juliamagan juliamagan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The current documentation, uses -purge and then, systemctl disable wazuh-manager. If this step is no longer necessary, it should also be updated in the documentation so the user doesn't get the error when uninstalling the server.

@joaquinsgi
Copy link
Member Author

The changes has been requested in the following issue:

@joaquinsgi
Copy link
Member Author

The CHANGELOG has been updated.

@juliamagan juliamagan merged commit 450388e into 4.10.0 Sep 27, 2024
@juliamagan juliamagan deleted the bug/5742-failed-to-disable-manager branch September 27, 2024 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants