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

exec/java DriverHandle.Exec methods should be run by executor #2554

Closed
schmichael opened this issue Apr 12, 2017 · 1 comment
Closed

exec/java DriverHandle.Exec methods should be run by executor #2554

schmichael opened this issue Apr 12, 2017 · 1 comment

Comments

@schmichael
Copy link
Member

schmichael commented Apr 12, 2017

As part of #2478 a new Exec method was added to DriverHandles for executing script checks inside a task's context. The initial PR #2467 chroot'd commands run via Exec but didn't apply cgroups or any of the other environment's properties.

exec/java should execute scripts through the executor so they run in the same environment as the task.

raw_exec should probably follow the same path to ensure it's run in the same environment as its command. If nothing else the execChroot helper function will need refactoring and renaming once exec/java don't use it.

@github-actions
Copy link

I'm going to lock this issue because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 13, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant