Skip to content

Conversation

@shoenig
Copy link
Contributor

@shoenig shoenig commented Mar 14, 2023

This PR fixes artifact downloading so that git may work when cloning from
private repositories. It needs

  • file read on /etc/passwd
  • dir read on /root/.ssh
  • file write on /root/.ssh/known_hosts

Add these rules to the landlock rules for the artifact sandbox.

Fixes #16477

@shoenig shoenig changed the title landlock: git needs more files for private repositories artifact: git needs more files for private repositories Mar 14, 2023
@shoenig shoenig force-pushed the landlock-git-passwd branch from 9793922 to 37c798b Compare March 14, 2023 20:07
This PR fixes artifact downloading so that git may work when cloning from
private repositories. It needs

- file read on /etc/passwd
- dir read on /root/.ssh
- file write on /root/.ssh/known_hosts

Add these rules to the landlock rules for the artifact sandbox.
@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, 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 Mar 19, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrading from v1.4.3 to v1.5.1: Nomad Job that uses a remote artifact, that requires SSH auth fails after upgrade

1 participant