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

Add shared (z) container volume SELinux labels to the volumes created… #131

Merged
merged 1 commit into from
Mar 27, 2019

Conversation

Bialogs
Copy link
Contributor

@Bialogs Bialogs commented Mar 25, 2019

… by docker-compose.

I've tested this on a fresh CentOS installation with SELinux enabled and enforcing and this allows all services to come online but would appreciate any additional testing.

These changes would also help in cases such as #110 and #97 .

@cimnine cimnine added the enhancement The issue describes an enhancement that we would like to implement in the future. label Mar 25, 2019
@cimnine
Copy link
Collaborator

cimnine commented Mar 25, 2019

Thank you for this PR. I will have a closer look at it as soon as possible. From the first glance this is a brilliant addition and indeed may fix the SELinux problems, a thing I didn't think was possible with "just docker-compose".

@Bialogs
Copy link
Contributor Author

Bialogs commented Mar 26, 2019

I am currently confirming this does not break SELinux disabled scenarios.

@Bialogs
Copy link
Contributor Author

Bialogs commented Mar 26, 2019

Alright I just checked with a permissive/disabled configuration and it also came online.

@cimnine
Copy link
Collaborator

cimnine commented Mar 27, 2019

Seems to work on Mac as well.

@cimnine cimnine merged commit e83db27 into netbox-community:master Mar 27, 2019
@Bialogs Bialogs deleted the selinux branch March 27, 2019 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement The issue describes an enhancement that we would like to implement in the future.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants