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(adex-cli): the posibility to start mm2 under regular user was pro… #1856

Merged
merged 7 commits into from
Jul 5, 2023

Conversation

rozhkovdmitrii
Copy link

Currently there are a few obstacles that limit possibilities to run mm2 using adex-cli without super user rights.

Done:

  1. launchctl that is used to start mm2 has a deprecated set of commands and new ones that are recommended. The bootstrap, bootout, kickstart commands introduced to start, stop mm2.
  2. There different types of session that are related to launchctl domains and to be able to start LaunchAgent mm2 LimitLoadToSessionType:Background should be provided as part of agent plist configuration. (1, 2)

Important thing it should be tested if user/$(id -u) domain works on real device terminal under gui session.

@rozhkovdmitrii rozhkovdmitrii added in progress Changes will be made from the author and removed under review labels Jun 27, 2023
@rozhkovdmitrii rozhkovdmitrii added under review and removed in progress Changes will be made from the author labels Jun 29, 2023
shamardy
shamardy previously approved these changes Jul 3, 2023
Copy link
Collaborator

@shamardy shamardy left a comment

Choose a reason for hiding this comment

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

Thanks a lot for this fix! Tested with @rozhkovdmitrii and it's working fine under regular macOS user.
Only one questions :)

mm2src/adex_cli/src/scenarios/mm2_proc_mng.rs Outdated Show resolved Hide resolved
@shamardy shamardy added 1.0.6-beta and removed bug fixing week 2 bug Something isn't working 1.0.6-beta labels Jul 3, 2023
@shamardy shamardy merged commit f878c56 into dev Jul 5, 2023
@shamardy shamardy deleted the 1802-adex_cli-macos-start branch July 5, 2023 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

adex-cli can not start mm2 without superuser permissions under MacOs
2 participants