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

PATH is different on ubuntu-24.04-arm compared to ubuntu-24.04 #11414

Open
2 of 16 tasks
DaanDeMeyer opened this issue Jan 17, 2025 · 1 comment
Open
2 of 16 tasks

PATH is different on ubuntu-24.04-arm compared to ubuntu-24.04 #11414

DaanDeMeyer opened this issue Jan 17, 2025 · 1 comment

Comments

@DaanDeMeyer
Copy link
Contributor

Description

On ubuntu-24.04 (x86):

PATH=/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
RUNNER_USER=runner
USER=runner

On ubuntu-24.04-arm (arm64):

PATH=/snap/bin:/home/runneradmin/.local/bin:/opt/pipx_bin:/home/runneradmin/.cargo/bin:/home/runneradmin/.config/composer/vendor/bin:/home/runneradmin/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
RUNNER_USER=runner
USER=runner

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 20.04
  • Ubuntu 22.04
  • Ubuntu 24.04
  • macOS 12
  • macOS 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • macOS 15
  • macOS 15 Arm64
  • Windows Server 2019
  • Windows Server 2022
  • Windows Server 2025

Image version and build link

Version: 0.0.6
Link: https://github.com/systemd/systemd/actions/runs/12829079161/job/35774426402?pr=36059

Is it regression?

no

Expected behavior

$PATH is identical between x86 and arm64 or at least $PATH on arm64 should contain /home/runner/.local/bin just like on x86 as the user the job is running as is runner and not runneradmin.

Actual behavior

$PATH is different and contains /home/runneradmin/.local/bin instead of /home/runner/.local/bin

Repro steps

  • echo $PATH
DaanDeMeyer added a commit to DaanDeMeyer/mkosi that referenced this issue Jan 17, 2025
DaanDeMeyer added a commit to DaanDeMeyer/mkosi that referenced this issue Jan 17, 2025
DaanDeMeyer added a commit to systemd/mkosi that referenced this issue Jan 17, 2025
@bgilbert
Copy link

See also actions/partner-runner-images#25.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants