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

[aoc-collector non-root user]: Removing code that changes user from root to aoc in Linux #2259

Merged
merged 2 commits into from
Aug 11, 2023

Conversation

PaurushGarg
Copy link
Member

Description:
Removing Code that changes user from root to aoc in linux for non-containers
Haven't removed RUN_IN_CONTAINER environment variable as it is getting used at this place as well.

Link to tracking Issue:
#2222

Testing:

Documentation:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@PaurushGarg PaurushGarg requested a review from a team as a code owner August 9, 2023 16:57
@PaurushGarg PaurushGarg changed the title Removing code that changes user from root to aoc in Linux [aoc-collector non-root user]: Removing code that changes user from root to aoc in Linux Aug 9, 2023
@rapphil
Copy link
Member

rapphil commented Aug 9, 2023

you need to update the systemd unit file to explicitly start the process as root.

@PaurushGarg PaurushGarg merged commit b39612e into dev Aug 11, 2023
26 checks passed
@PaurushGarg PaurushGarg deleted the non-root-user-linux branch August 11, 2023 13:18
PaurushGarg added a commit that referenced this pull request Aug 24, 2023
…oot to aoc in Linux (#2259)

* Removing code that switched user from root to aoc in linux

* Adding aoc user in the systemd service
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.

3 participants