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 error replacing binary location #626

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sdvendramini
Copy link
Member

@sdvendramini sdvendramini commented Feb 25, 2025

Description

This PR attempts to fix the error replacing the Wazuh agent binary location while executing the command cmake --install build --prefix /.

Proposed Changes

To solve this issue, the missing "/" is added to the src/CMakeLists.txt file.

Results and Evidence

  • Linux

    • wazuh-agent.service

      image

    • After systemctl start the agent start

      image

  • macOS

    • com.wazuh.agent.plist file

      image

    • After launchctl bootstrap the agent start

      image

      image

      image

Artifacts Affected

  • Service file (Linux and macOS)

Configuration Changes

None

Documentation Updates

None

Tests Introduced

None

Review Checklist

  • Code changes reviewed
  • Relevant evidence provided
  • Tests cover the new functionality
  • Configuration changes documented
  • Developer documentation reflects the changes
  • Meets requirements and/or definition of done
  • No unresolved dependencies with other issues
  • ...

@sdvendramini sdvendramini self-assigned this Feb 25, 2025
@sdvendramini sdvendramini linked an issue Feb 25, 2025 that may be closed by this pull request
@sdvendramini sdvendramini marked this pull request as ready for review February 25, 2025 09:50
@sdvendramini sdvendramini marked this pull request as draft February 25, 2025 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error replacing binary location
1 participant