Skip to content

Conversation

@adoroszlai
Copy link
Contributor

@adoroszlai adoroszlai commented Feb 6, 2026

What changes were proposed in this pull request?

sudo as user hadoop fails on ozone-runner:20260206-1-jdk21 in GitHub with:

sudo: PAM account management error: Authentication service cannot retrieve authentication info
sudo: a password is required

This change works around the problem by making /etc/shadow readable for user root. It also adds a sanity check to fail the build of ozone-runner if sudo does not work (instead of finding out the same when trying to use the image in ozone).

https://issues.apache.org/jira/browse/HDDS-14576

How was this patch tested?

#34 [linux/arm64 15/15] RUN sudo whoami # sanity check
#34 0.293 root

CI build:
https://github.com/adoroszlai/ozone-docker-runner/actions/runs/21748044354/job/62738731159#step:7:1334

@adoroszlai adoroszlai self-assigned this Feb 6, 2026
@adoroszlai adoroszlai merged commit 557193f into apache:slim Feb 6, 2026
1 check passed
@adoroszlai adoroszlai deleted the HDDS-14576-slim branch February 6, 2026 11:32
@adoroszlai
Copy link
Contributor Author

Thanks @sodonnel for the review.

adoroszlai added a commit to adoroszlai/ozone-docker-runner that referenced this pull request Feb 6, 2026
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

Successfully merging this pull request may close these issues.

2 participants