Skip to content

Add an option to disable SELinux separation for the Ember container - #50

Open
gcoremans wants to merge 1 commit into
madnificent:masterfrom
gcoremans:disable_selinux
Open

Add an option to disable SELinux separation for the Ember container#50
gcoremans wants to merge 1 commit into
madnificent:masterfrom
gcoremans:disable_selinux

Conversation

@gcoremans

Copy link
Copy Markdown

edi always wants to mount the current working directory and various miscellaneous other directories across the user's homedir. This makes SELinux relabeling impractical or possibly even harmful as an accidental invocation of eds in ~ could relabel your entire homedir.

The most reasonable fix is just running the Ember container without SELinux separation. More info:
https://developers.redhat.com/articles/2025/04/11/my-advice-selinux-container-labeling

SELinux is only disabled when the EDI_DISABLE_SELINUX envvar is nonzero. Though note that Docker by default doesn't enable SELinux separation anyway, so this is only relevant if you explicitly enable that, or you're using Podman (or similar).

`edi` always wants to mount the current working directory and various
miscellaneous other directories across the user's homedir. This makes
SELinux relabeling impractical or possibly even harmful as an accidental
invocation of `eds` in ~ could relabel your entire homedir.

The most reasonable fix is just running the Ember container without
SELinux separation. More info:
https://developers.redhat.com/articles/2025/04/11/my-advice-selinux-container-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