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 cmd exection mode detection #181

Merged
merged 1 commit into from
Oct 3, 2024
Merged

Conversation

mahendrapaipuri
Copy link
Owner

  • We drop all privs by the time we come to execution mode detection. So, we need to check if process has caps for capability mode. Use sudo as last option.

  • Seems like exeucting with slurm user is not guaranteed to give jobs of all users. So we always execute the command using root user

* We drop all privs by the time we come to execution mode detection. So, we need to check if process has caps for capability mode. Use sudo as last option.

* Seems like exeucting with slurm user is not guaranteed to give jobs of all users. So we always execute the command using root user

Signed-off-by: Mahendra Paipuri <[email protected]>
@mahendrapaipuri mahendrapaipuri added the bug Something isn't working label Oct 2, 2024
@mahendrapaipuri mahendrapaipuri merged commit d1c4d0a into main Oct 3, 2024
15 checks passed
@mahendrapaipuri mahendrapaipuri deleted the fix_slurm_cli_mode branch October 3, 2024 07:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant