Skip to content

MacOS agent installation session user and service user mode failed #127

@damgouj

Description

@damgouj

Description

When I try to install a MacOS agent in session user or service user mode, the installation failed and the agent can't be used with OpenAEV.

Environment

  1. OS: MacOS
  2. OpenAEV version: 2.0.X

Reproducible Steps

Steps to create the smallest reproducible scenario:

  1. Get the link to install a MacOS agent (session user or service user mode)
  2. Execute in your MacOS shell

Expected Output

The agent is installed without errors and appears in OpenAEV endpoints.

Actual Output

The agent is not installed and doesn't appear in OpenAEV endpoints.

Additional information

The problem seems to be the launchctl installation for user, it works well with the root service agent. Don't forget to update the OpenAEV agents documentation for MacOS after the fix.

Screenshots (optional)

Image

Metadata

Metadata

Assignees

Labels

buguse for describing something not working as expected

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions