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

Add HOME to safe env vars #1759

Merged
merged 1 commit into from
Nov 10, 2021
Merged

Add HOME to safe env vars #1759

merged 1 commit into from
Nov 10, 2021

Conversation

azuwis
Copy link
Contributor

@azuwis azuwis commented Nov 5, 2021

Some build systems, such as nix, will modify HOME env var to provide a
writable home dir.

If the modify HOME env var is cleared, and the original home dir of the
build user is not writable, some tests will fail.

Failed build log of ansible-lint on nix aarch64-darwin https://hydra.nixos.org/build/157038092/nixlog/1

Some build systems, such as nix, will modify HOME env var to provide a
writable home dir.

If the modify HOME env var is cleared, and the original home dir of the
build user is not writable, some tests will fail.
@azuwis azuwis requested a review from a team as a code owner November 5, 2021 16:37
@webknjaz
Copy link
Member

webknjaz commented Nov 5, 2021

I'd expect this to need a test case.

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

Successfully merging this pull request may close these issues.

None yet

3 participants