-
Notifications
You must be signed in to change notification settings - Fork 786
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
Fix permissions on containers.conf #2332
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Can you update the https://github.com/containers/buildah/blob/master/contrib/buildahimage/stablebyhand/Containerfile.buildahstable file too please? It's too bad ADD/COPY doesn't have a |
When running in a rootless buildah, the build user is not allowed to read /etc/containers/containers.conf which is causing these containers to fail. This patch makes containers.conf world readable. Signed-off-by: Daniel J Walsh <[email protected]>
9f403d0
to
da071e1
Compare
@TomSweeneyRedHat Updated. |
Thx @rhatdan |
bors r+ |
🕐 Waiting for PR status (Github check) to be set, probably by CI. Bors will automatically try to run when all required PR statuses are set. |
bors retry |
Build succeeded:
|
@cevich it went through, thanks for the help! |
Adding the changes to the Podman image Docker/Containerfiles similar to @rhatdan 's changes in containers/buildah#2332 In short it changes the perms on containers.conf so it can be used by a rootless user. Signed-off-by: TomSweeneyRedHat <[email protected]>
When running in a rootless buildah, the build user
is not allowed to read /etc/containers/containers.conf
which is causing these containers to fail.
This patch makes containers.conf world readable.
Signed-off-by: Daniel J Walsh [email protected]
What type of PR is this?
What this PR does / why we need it:
How to verify it
Which issue(s) this PR fixes:
Special notes for your reviewer:
Does this PR introduce a user-facing change?