-
Notifications
You must be signed in to change notification settings - Fork 34
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 replacing binary location #625
Comments
2025/02/25I started working on the issue and created an initial version of the fix that works according to the tests performed. However, further investigation will be done to see if absolute paths can be defined in 2025/02/26The changes introduced in the It is likely that the use of Then, the workflows should be modified to perform the builds by overriding the necessary variables as parameters in the Finally, it is necessary to review the package generation processes, as they use different paths during the |
Description
An error was found in the CMake installation process. When executing:
The following line:
wazuh-agent/src/CMakeLists.txt
Line 79 in 8568b29
constructs the path to the executable incorrectly in the service files for macOS and Linux, missing the leading
/
.Linux:
macOS:
This causes the following error when trying to start the service.
Windows:
Additionally, it was identified that a
/
was added to the default paths, causing issues on Windows:wazuh-agent/src/cmake/config.cmake
Lines 9 to 15 in 71450cc
The text was updated successfully, but these errors were encountered: