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

Error: spawn sudo ENOENT #15

Open
sandervspl opened this issue Sep 26, 2023 · 2 comments
Open

Error: spawn sudo ENOENT #15

sandervspl opened this issue Sep 26, 2023 · 2 comments

Comments

@sandervspl
Copy link

sandervspl commented Sep 26, 2023

Getting this error in my workflow

This is the action's setup

runs-on: ubuntu-latest
container:
  image: node:18
steps:
  - name: Set timezone
  uses: szenius/[email protected]
  with:
    timezoneLinux: 'Europe/Amsterdam'
/usr/bin/docker exec  9e5ecfe8eec4dde51ee9ed4172859f4252023dbe70882e[6](https://github.com/LabelA/ai-studio-playground/actions/runs/6315022412/job/17146610428#step:12:7)d[7](https://github.com/LabelA/ai-studio-playground/actions/runs/6315022412/job/17146610428#step:12:8)d5b84d62fcc28b2 sh -c "cat /etc/*release | grep ^ID"
node:internal/errors:478
    ErrorCaptureStackTrace(err);
    ^

Error: spawn sudo ENOENT
    at Process.ChildProcess._handle.onexit (node:internal/child_process:2[8](https://github.com/LabelA/ai-studio-playground/actions/runs/6315022412/job/17146610428#step:12:9)5:1[9](https://github.com/LabelA/ai-studio-playground/actions/runs/6315022412/job/17146610428#step:12:10))
    at onErrorNT (node:internal/child_process:485:16)
    at processTicksAndRejections (node:internal/process/task_queues:83:21) {
  errno: -2,
  code: 'ENOENT',
  syscall: 'spawn sudo',
  path: 'sudo',
  spawnargs: [ 'timedatectl', 'set-timezone', 'Europe/Amsterdam' ]```
@rebla
Copy link

rebla commented Nov 20, 2023

I'm having the same issue

@beef9999
Copy link

beef9999 commented Oct 5, 2024

Having the same issue.

I'm using almalinux:8 image, which is a derivative of RHEL.

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

No branches or pull requests

3 participants