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

update-rpm-lock: use volumes instead of mounts #2175

Merged
merged 1 commit into from
Nov 20, 2024

Conversation

lcarva
Copy link
Member

@lcarva lcarva commented Nov 18, 2024

On systems where SELinux is enabled, it is not possible to modify file on the host's filesystem unless explicitly enabled by SELinux. The --mount flag does not allow specifying SELinux labels. This commit changes the podman run command to use --volume instead so the labels can be set as expected.

On systems where SELinux is enabled, it is not possible to modify file
on the host's filesystem unless explicitly enabled by SELinux. The
`--mount` flag does not allow specifying SELinux labels. This commit
changes the podman run command to use `--volume` instead so the labels
can be set as expected.

Signed-off-by: Luiz Carvalho <lucarval@redhat.com>
Copy link

codecov bot commented Nov 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 71.22%. Comparing base (35654c3) to head (551a6fc).
Report is 6 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #2175   +/-   ##
=======================================
  Coverage   71.22%   71.22%           
=======================================
  Files          89       89           
  Lines        7479     7479           
=======================================
  Hits         5327     5327           
  Misses       2152     2152           
Flag Coverage Δ
generative 71.22% <ø> (ø)
integration 71.22% <ø> (ø)
unit 71.22% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

---- 🚨 Try these New Features:

@lcarva lcarva merged commit 7ef95d9 into enterprise-contract:main Nov 20, 2024
12 checks passed
@lcarva lcarva deleted the selinux-update-rpms branch November 20, 2024 13:41
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.

3 participants