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

configure.sh: Add option to disable SELinux labeling for container volumes #8019

Open
wants to merge 1 commit into
base: proton_9.0
Choose a base branch
from

Conversation

brndd
Copy link

@brndd brndd commented Aug 24, 2024

Adds --disable-labeling to configure.sh. Passing this option passes --security-opt label=disable to the container arguments, which disables SELinux labeling. This is something of a nuclear option compared to :z or :Z for volume binds, but far simpler and basically guaranteed to work, and for a build container the security implications hardly matter.

The existing --relabel-volumes option which passes :Z (capital) is a little bit not-nice because it relabels the files on the host (:z, lowercase, only relabels them in the container).

Adds --disable-labeling to configure.sh. Passing this option
passes --security-opt label=disable to the container, which
disables SELinux labeling.
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.

1 participant